Skip to main content

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 add '<foo>'
yap rm '<foo>'
yap compile
yap version <version_upgrade_type>

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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yapping-1.4.1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file yapping-1.4.1-py3-none-any.whl.

File metadata

  • Download URL: yapping-1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for yapping-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 79edd9fab6770b21e31190e5ca080eab51591790e51d0bb531f2a9eff64ffd05
MD5 946daef505baf9759a5f4db3fc453fe9
BLAKE2b-256 cc05ba5a1e8b693d27e9384c69625bcf7811a95013fa8197dfc6e4d012421242

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page