A Command-line tool to create, manage and deploy your python projects
| 🔗 | Try it out |
|---|
- Virtual Environment Manager
- Package Manager (uses pip)
- Scripts (run test, build, etc)
ppm new <project-name>
cd <project-name>
ppm start[project]
name = "example"
version = "0.1.0"
description = "an example project"
main_script = "./src/main.py"
[packages]
pyopt_tools = "0.7"
numpy = "1.23.1"
[scripts]
test = "python -m unittest src/test.py"
serve = "python -m http.server"
sayhello = "echo Hello world!"Get an overview of your project
$ ppm info
Project: example
Version: 0.1.0
Description: an example project
-- 4 Scripts --
test: python -m unittest src/test.py
serve: python -m http.server
sayhello: echo Hello world
upgrade: python -m pip install --upgrade pip
-- 2 Packages --
pyopt_tools==0.7
numpy==1.23.1
You can add or remove multiple packages at the same time. This will install it into your venv
ppm add <package-names>
ppm rm <package-names>Create scripts and run them by simply doing
ppm run <script-name>Generates requirements.txt from packges listed in project.toml
ppm genThis will try to install all the packages listed in project.toml
ppm installInstall from requirements.txt
ppm install -r requirements.txtgit clone https://github.com/Fus3n/python-project-manager
cd python-project-manager
cargo build --release