You need to use the proper git URL:

Use with AIpip install git+https://github.com/jkbr/httpie.git#egg=httpie

Also see the VCS Support section of the pip documentation.

Don’t forget to include the egg=<projectname> part to explicitly name the project; this way pip can track metadata for it without having to have run the setup.py script.

Answer from Martijn Pieters on Stack Overflow
Join the DEV Community
DEV Community is a community of 4,210,967 amazing developers · DEV Community — A space to discuss and keep up software development and manage your software career
Report abuse
Thank you for reporting any abuse that violates our Code of Conduct and/or Terms and Conditions. We continue to try to make this environment a great one for everybody. If you are submitting a bug report, please create a GitHub issue in the main Forem repo.
Code of Conduct
A page that describes how to behave on this platform
Using .env Files for Environment Variables in Python…
Applications are made to be deployed. At some point during development you will need to think about t...
🌐
GitHub
github.com › pypi
The Python Package Index · GitHub
1 day ago - PyPI — the Python Package Index — is the official repository of software for the Python programming language.
🌐
Medium
medium.com › @thomas.vidori › how-to-create-a-python-package-and-publish-it-on-github-eebc78b2a12d
Creating Python packages and publishing on GitHub | Medium
February 24, 2025 - If you now open python in your terminal and run the following lines, you should get the p4-score printed as we got previously with the __main__ directly in the script file: import p4score print(p4score.calculate_p4score(85, 10, 1, 4)) The easiest way to make your package available (to everyone) online, is to use GitHub.
🌐
GitHub
github.com › orgs › python › packages
Packages · Python · GitHub
Sep 25, 2024 by Python in python/cpython-devcontainers · 388k · devcontainer · Published · Sep 25, 2024 by Python in python/cpython-devcontainers · 54.8k · wasicontainer · Published · Oct 6, 2025 by Python in python/cpython-devcontainers · 24k · planetpython ·
🌐
PyPI
pypi.org › project › PyGithub
PyGithub · PyPI
This library enables you to manage GitHub resources such as repositories, user profiles, and organizations in your Python applications.
🌐
GitHub
github.com › topics › python-packages
python-packages · GitHub Topics · GitHub
December 8, 2021 - python package cryptography crypto ... python-packages secp256k1 cryptography-algorithms privatekey secp256k2 ... Light-weight project manager for Python projects....
🌐
GitHub
github.com › orgs › community › discussions › 8542
GitHub Packages | Support for python packages · community · Discussion #8542 · GitHub
There is a very valid use case for this: Distributing private/internal AWS CDK constructs. For AWS CDK TypeScript/JavaScript and Python are the most used languages, which means that (most) constructs need to be published both into npm- and pypi-compatible registries. For private/internal packages, GitHub Packages is the most obvious solution.
Find elsewhere
🌐
GitHub
github.com › topics › python-package
python-package · GitHub Topics · GitHub
The unofficial python package that returns response of Google Gemini through cookie values.
🌐
GeeksforGeeks
geeksforgeeks.org › python › how-to-install-a-python-package-from-a-github-repository
How to install a Python Package from a GitHub Repository - GeeksforGeeks
July 23, 2025 - pip install "Package" @ git+"URL of the repository#egg=<pkg_name>" For example, installing NumPy. pip install GFG @ git+https://github.com/numpy/numpy#egg=Numpy
🌐
freeCodeCamp
freecodecamp.org › news › how-to-use-github-as-a-pypi-server-1c3b0d07db2
How to use GitHub as a PyPi server
November 15, 2018 - Setuptools is how most people create Python packages. I have hosted another package on GitHub python_hello, which depends on python_world.
🌐
GitHub
github.com › pypi › warehouse
GitHub - pypi/warehouse: The Python Package Index · GitHub
The Python Package Index. Contribute to pypi/warehouse development by creating an account on GitHub.
🌐
GitHub
github.com › python
Python · GitHub
The pythoncapi-compat project can be used to write a C extension supporting a wide range of Python versions with a single code base.
🌐
LabEx
labex.io › tutorials › python-how-to-install-python-package-from-github-437144
How to install Python package from GitHub | LabEx
Learn essential techniques for installing Python packages directly from GitHub repositories, covering pip, git clone, and advanced installation methods for developers and programmers.
🌐
PyPI
pypi.org › project › github
github · PyPI
Easy to use Python wrapper for the Github API.
🌐
GitHub
github.com › pypa › pip
GitHub - pypa/pip: The Python package installer · GitHub
The Python package installer. Contribute to pypa/pip development by creating an account on GitHub.
🌐
Uoftcoders
uoftcoders.github.io › studyGroup › lessons › python › packages › lesson
Creating Packages in Python
Technically, you can install the module by running python setup.py install, however it’s much more convenient to wrap it all up and distribute online. This is my preferred way of sharing/storing/installing packages. Simply create a git repo of the project directory, and put it somewhere. Then, use pip to install it from that repo directly · pip install git+https://github.com/jladan/package_demo.git#egg=measurements