Example of simple private pypi package repo with fastapi and nginx
docker-compose up --build
cd package
poetry run build
cd package
curl -X 'POST' \
'http://localhost:8080/api/v1/repo/package' \
-H 'accept: application/json' \
-H 'Content-Type: multipart/form-data' \
-F 'f=@dist/fastpypi-package-0.1.0.tar.gz;type=application/x-gzip'
pip install -U --no-deps --trusted-host localhost --extra-index-url=http://localhost:8080/repo fastpypi-package
https://packaging.python.org/guides/hosting-your-own-index/
https://packaging.python.org/tutorials/packaging-projects/
https://python-poetry.org/