Please, it's arbitrary to run a private PyPi repository, all you need is a web server and a certain folder structure. If you want, you can even host everything on a private S3 and use a tiny Nginx configuration to authenticate the requests on behalf of pip [1].
Private npm repositories are an entirely different beast, and like GP mentions, there is no great option here.
Private npm repositories are an entirely different beast, and like GP mentions, there is no great option here.
[1] https://www.guido.nyc/pypi-s3/