Checks project dependencies for newer versions.
Project description
zaojun
zaojun is a command-line (CLI) tool to check versions of your dependencies as defined in pyproject.toml against the latest versions published on PyPI. Full documentation is available at marvin8.codeberg.page/zaojun.
New in v1.0.0: PyPI API response caching for faster repeated checks! Enable with --cache for 10-100x performance improvements on subsequent runs.
Install and run from Source
Alternatively, you can run zaojun from source by cloning the repository:
git clone https://codeberg.org/marvin8/zaojun.git
zaojun uses uv for dependency control; please install uv before proceeding.
Install all required Python modules:
uv sync
Run zaojun with:
uv run zaojun
Try the new caching feature for faster repeated checks:
uv run zaojun --cache --cache-stats
As a pre-commit hook
Add the following snippet to your .pre-commit-config.yaml:
- repo: https://codeberg.org/marvin8/zaojun
rev: 1.0.3
hooks:
- id: zaojun
args:
"--groups"
"--cache" # Enable caching for faster runs
Significance of the name zaojun
Zao Jun is the Chinese god who acts as a household guardian, overseeing domestic harmony and reporting family conduct to the heavens—reinforcing moral behavior within the kin unit. This tool tries to keep your project and its dependencies in harmony. It doesn’t report to any third parties, though :)
I know it’s a bit far-fetched, but I like it—so there!
If you’d like to learn more about Zao Jun, the Chinese Kitchen God:
Licensing
zaojun is licensed under the GNU Affero General Public License v3.0.
Supporting zaojun
You can support zaojun in several ways:
- Create an issue for problems or ideas you have.
- Create a pull request if you prefer a hands-on approach.
- Buy me a coffee.
- Send small change in Monero to the address below:
Monero donation address
88xtj3hqQEpXrb5KLCigRF1azxDh8r9XvYZPuXwaGaX5fWtgub1gQsn8sZCmEGhReZMww6RRaq5HZ48HjrNqmeccUHcwABg
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 zaojun-1.1.2.tar.gz.
File metadata
- Download URL: zaojun-1.1.2.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18266cf2b689738babddd045da4a96d1610546d59a1e88b8e808337dd1267cbf
|
|
| MD5 |
4856ee283a9705bfb9b2250157de6d66
|
|
| BLAKE2b-256 |
57293d8ed6d97f06c9909adc1caec212e637937ebf085437c5ab8480018a9014
|
File details
Details for the file zaojun-1.1.2-py3-none-any.whl.
File metadata
- Download URL: zaojun-1.1.2-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fa5e626eaf5081d4aca94af991be77d5a994d11b6c5cc53920ca680d5b68476
|
|
| MD5 |
ae77bbf0b37e564595e15a5bf7a49194
|
|
| BLAKE2b-256 |
9980d8c2c2850beaf3536294450da7d516c30dab9f16df2db2f35f648caad3e4
|