How to install a package not on PyPI/Conda but available on GitHub
Overview
Are you trying to deploy your app to Streamlit Cloud, but don't know how to specify a Python dependency in your requirements file that is available on GitHub but not any package index like PyPI or Conda? If so, continue reading to find out how!
Let's suppose you want to install SomePackage and its Python dependencies from GitHub, a hosting service for the popular version control system (VCS) Git. And suppose SomePackage is found at the the following URL: https://github.com/SomePackage.git.
pip (via requirements.txt) supports installing from GitHub. This support requires a working executable to be available (for Git). It is used through a URL prefix: git+.
Specify the GitHub web URL
To install SomePackage, innclude the following in your requirements.txt file:
