Just an example repo
Install with python -m pip install pyexample@git+https://github.com/OAustlid/pyexample
In the requirements file: pyexample@git+https://github.com/OAustlid/pyexample
In a pyproject.toml: pyexample = { git = "https://github.com/OAustlid/pyexample.git", branch = "main" }