/py

a modern dependency manager for python

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

py

A modern dependency manager for Python.

how to

start a new project

If you have py installed globally:

If you do not want to have it installed globally:

install a package

upgrade a package

uninstall a package

commands

  • 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.

licence

GPL. You can do what you want with this code as long as you let others do the same.