Skip to content

Fus3n/python-project-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PPM

A Command-line tool to create, manage and deploy your python projects

Table of Contents


🔗 Try it out

Main Features

  • Virtual Environment Manager
  • Package Manager (uses pip)
  • Scripts (run test, build, etc)

Create a Project

ppm new <project-name>
cd <project-name>
ppm start

project.toml file

[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!"

Project

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

Install/Uninstall Packages

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>

Run Scripts

Create scripts and run them by simply doing

ppm run <script-name>

⚙️ Generate requirements.txt

Generates requirements.txt from packges listed in project.toml

ppm gen

⏬ install Packages from project.toml

This will try to install all the packages listed in project.toml

ppm install

Install from requirements.txt

ppm install -r requirements.txt

Build From Source

git clone https://github.com/Fus3n/python-project-manager
cd python-project-manager
cargo build --release

About

A Command-line tool to create, manage and deploy your python projects

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages