Pip

Pip install from github

Docs: https://pip.pypa.io/en/stable/reference/pip_install/#git

Base form (ssh can be used for private repos):

pip install git+https://github.com/youtube/spitfire#egg=spitfire
pip install git+ssh://github.com/youtube/spitfire#egg=spitfire

In requirements.txt:

-e git+https://github.com/youtube/spitfire#egg=spitfire

You can specify branch, commit, tag or ref:

[-e] git://git.example.com/MyProject.git@master#egg=MyProject
[-e] git://git.example.com/MyProject.git@v1.0#egg=MyProject
[-e] git://git.example.com/MyProject.git@da39a3ee5e6b4b0d3255bfef95601890afd80709#egg=MyProject
[-e] git://git.example.com/MyProject.git@refs/pull/123/head#egg=MyProject