A Python project manager.
Project description
ppm Package
ppm is a Python Project Manager CLI tool that simplifies project setup, dependency management, environment configuration, and running projects from the command line. This tool is especially useful for developers who want a streamlined way to manage project dependencies, run scripts, and configure environment variables without manually editing multiple files.
Overview
The ppm tool provides a set of commands to help manage Python projects efficiently. With ppm, you can:
- Initialize Projects: Set up a new project structure with default or custom configurations.
- Install Dependencies: Install multiple Python packages in your project with ease.
- Uninstall Packages: Remove packages, with options to uninstall dependencies as well.
- Manage Environment Variables: Add or modify environment variables directly from the command line.
- Run Project Scripts: Execute the project’s main script or any other configured command.
Designed to reduce repetitive setup tasks, ppm enables you to focus more on coding and less on project management.
Installation
To install ppm, clone the repository and run:
pip install .
Usage
Use the ppm command followed by any of the subcommands listed below to perform various actions.
ppm <command> [options]
Commands
1. init
Initializes a new project configuration.
Usage:
ppm init
Options:
-d: Enable default configuration.
Example:
ppm init -d
This command initializes the project with the default configuration.
2. install
Installs specified packages in the project.
Usage:
ppm install <package1> <package2> ...
Example:
ppm install requests flask
This command installs the requests and flask packages in the project.
3. uninstall
Uninstalls specified packages from the project.
Usage:
ppm uninstall <package1> <package2> ...
Options:
-d: Uninstall packages along with their dependencies.
Example:
ppm uninstall requests -d
This command uninstalls the requests package along with any dependencies it may have.
4. run
Runs the project using the configuration specified in the project.
Usage:
ppm run
This command runs the project. It can execute any Python code, scripts, servers, or other commands specified in the configuration.
5. add_env
Adds environment variables to an .env file in the project.
Usage:
ppm add_env <KEY> <VALUE> <KEY2> <VALUE2> ...
Example:
ppm add_env DATABASE_URL mysql://user:password@localhost/dbname SECRET_KEY your_secret_key
This command adds the specified key-value pairs to the project's environment file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ppm3-0.0.5.tar.gz.
File metadata
- Download URL: ppm3-0.0.5.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9aa0c3eccd7535ee1f75844431923b3e37788dbe39cf466a742a99c6636e82bb
|
|
| MD5 |
e0dc73d32d09a5dd2001647dfa6dcbad
|
|
| BLAKE2b-256 |
6448cdc9b2ecb23939473a3c7ede1900ed4fe60dc6ae6100745d4552495ed5d7
|
File details
Details for the file ppm3-0.0.5-py3-none-any.whl.
File metadata
- Download URL: ppm3-0.0.5-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4fc85f7016a71b7e637eb7106ef870fedfefab756eef2ae6d1a49c1b8fea418e
|
|
| MD5 |
b832c98a9f01b7e473b3b091de380c3a
|
|
| BLAKE2b-256 |
719f48eeb054be7c15f19f948ca8382f1c6b46d1f9f8f676813721ffa4e77aba
|