A modern dependency manager for Python.
If you have py
installed globally:
If you do not want to have it installed globally:
py init
Init a new project (a virtual environment and a py.toml file) in the current directory.
py [SCRIPT]
Run python in the virtual environment specified in py.toml. This command makes explicitly activating the virtual environment obsolete.
py search PACKAGE
Search for packages in the Cheese Shop.
py show PACKAGE
Show the details of a package. It does not matter whether the package is installed locally.
py deps PACKAGE
Show the dependency tree of a package. It does not matter whether the package is installed locally.
py sync
Install the dependencies (and their dependencies, all the way down) specified in py.toml and uninstall those that are missing. Write requirements.txt.
GPL. You can do what you want with this code as long as you let others do the same.