A CLI to manage dependencies in a Python project
Project description
pyrob
A simple CLI to help manage project package requirements
Table of contents
Installation
pip install pyrob
Usage
Command | Description |
---|---|
pyrob init [-y] |
Initialize a new project |
pyrob run [script] |
Run the given command defined in project.json |
pyrob install [pkgs ...] |
Install the given packages to virtual environment |
pyrob uninstall [pkgs ...] |
Uninstall the given packages from virtual environment |
pyrob clean |
Remove cache artifacts (e.g. __pycache__ ) |
Development
A Makefile is included with targets to handle dev actions
Command | Description |
---|---|
make venv |
Create a virtual environment with venv module |
make test |
Run unit tests with pytest |
make lint |
Lint using pylint |
make format |
Format using black |
make typecheck |
Typecheck using mypy |
make build |
Build a binary wheel and a source tarball |
make release |
Push a new tag, create a GitHub release, and publish to PyPI |
make install |
Install the package globally |
make uninstall |
Uninstall package globally |
make clean |
Delete virtual environment and build/cache artifacts |
make testpypi |
Publishes current build to TestPyPI |
make install_testpypi |
Install from TestPyPI |
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
pyrob-0.8.1.tar.gz
(9.2 kB
view details)
Built Distribution
pyrob-0.8.1-py3-none-any.whl
(12.2 kB
view details)
File details
Details for the file pyrob-0.8.1.tar.gz
.
File metadata
- Download URL: pyrob-0.8.1.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25155b9575c9d97af1f7bd28948196680d5884a43667b67a6bbeb359697900ba |
|
MD5 | 14812c413af5f49b8c4392852c2a8f8d |
|
BLAKE2b-256 | de210da1445ecf12ca9b3c38d259dc75383a0408887bb63a8472f9ca9e5bcede |
File details
Details for the file pyrob-0.8.1-py3-none-any.whl
.
File metadata
- Download URL: pyrob-0.8.1-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf44be5f697e1564104cdd6155782dfce624fd05194ccfbc7d4d656b1b366420 |
|
MD5 | 7d9577a6ba574161f09c5d6730712faa |
|
BLAKE2b-256 | 3d0459cacb1001e5f5bfa395d6cc339da00149999977a5a27cbdab1c33a6cb1f |