Yet another python dependency manager.
Project description
Yapping
Yet another python packaging manager.
But it is basically a thin wrapper around
pip-tools which also adds and
removes dependencies from pyproject's dependency list.
Installation:
pip install yapping
Usage:
Using yap is very easy:
$ yap --help
usage: python -m yapping [-h] [-v] {add,rm,compile,upgrade,version,init} ...
options:
-h, --help show this help message and exit
-v, --version Print version of the tool.
command:
{add,rm,compile,upgrade,version,init}
add Add a new dependency
rm Remove an existing dependency
compile compile dependencies with pip-tools' `pip-compile`
upgrade compile dependencies with pip-tools' `pip-compile`
version Updatea project version in pyproject.toml
init Create a pyproject.toml from a template.
You can also call the module directly, like:
python -m yapping <...>
Why you should use yap?
You should not. This is my personal pet project.
But, the good thing about it is that it does not lock you into it besides using
pip-tools for compiling the dependencies.
Development
Virtual Environment
Create a virtual Environment
virtualenv .venv -p pytthon 3.14
source .venv/bin/activate
python -m pip install -r testing/requirements-test.txt
Tests
Using pytest for Tests
python -m pytest
Formatting and Linting
Using pre-commit for linting and formatting
pre-commit install
pre-commit run --all-files
Changelog
v1.4.0
Add --compile, --compile-test flags to add, and rm commands.
v1.3.0
Add upgrade command to upgrade dependencies.
v1.2.0
Add support for python 3.11, 3.12 and 3.13.
v1.1.0
Fix the CLI passing parameters to the commands.
v1.0.0
Add support for adding or removing multiple packages at once.
v0.6.0
Add init command to create scaffolding pyproject.toml file.
v0.5.0
Add support for optional-dependencies.
v0.4.0
Fixed an issue when running yap through pipx in which the pip-compile binary was not found.
v0.3.0
Add the new version command to manage versions in pyproject.toml.
v0.2.0
Add --version flag to check the version of the tool.
v0.1.0
First release of the project. add, rm, compile commands.
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 Distributions
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 yapping-1.4.4-py3-none-any.whl.
File metadata
- Download URL: yapping-1.4.4-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb3e871a8afe56201c8ab332499269d9ea0fe27654450092144999d4aab3981f
|
|
| MD5 |
087f1c5891644a3cff605c71d03bd3ac
|
|
| BLAKE2b-256 |
46d48f06df51b52a7c6f28e1b7c1898b12bb24ff05e42abed387bccda4847f43
|