verscan
Zero-dependency CLI to verify that package.json (or pyproject.toml), CHANGELOG.md, and your latest git tag all agree on the same version number — before you ship.
$ verscan
✓ pyproject.toml 0.3.1 (reference)
✓ CHANGELOG.md 0.3.1
✓ git tag 0.3.1
verscan: all sources match → 0.3.1
Install
pip install verscan
No dependencies. Python ≥ 3.8 required.
Usage
verscan [options] [dir]
| Option | Description |
|---|---|
--no-git |
Skip git tag check |
--no-changelog |
Skip CHANGELOG.md check |
--manifest <file> |
Custom manifest path (default: auto-detect) |
--changelog <file> |
Custom changelog path (default: CHANGELOG.md) |
--json |
Output JSON |
--version |
Print verscan version |
--help |
Show help |
Exit codes: 0 all match · 1 mismatch · 2 parse/read error
Examples
verscan # check current directory
verscan --no-git # skip git tag (before tagging)
verscan ./packages/api # check a sub-package
verscan --json | python3 -c "import sys,json; d=json.load(sys.stdin); sys.exit(0 if d['ok'] else 1)"
CI integration
- name: Verify versions aligned
run: pip install verscan && verscan
For the Node.js CLI counterpart, see verscan.
License
MIT
Metadata
Release files for verscan 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| verscan-0.1.0.tar.gz | 8.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| verscan-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.2 kB
Release files / verscan-0.1.0.tar.gz
| Download URL | verscan-0.1.0.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a4dcad74d713bf2731e051d64570a0e4ad3fe999d23fbfb22035a65f8c3b29dd
|
|
BLAKE2b-256 checksum How to use checksums |
2d9e82ae34a10e8a0628d7a5b640ec93068c7da4676cf16f787bc1864a8a2af1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.7
|
Release files / verscan-0.1.0-py3-none-any.whl
| Download URL | verscan-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6dd14222e92dcec82cbdb8c1aad4629a8f120b22847a155dc6c599b9130f9a6d
|
|
BLAKE2b-256 checksum How to use checksums |
cdf6173ae53aa4e1271263cb3ccb16eb992ba8db7988a524b0c015254945fa09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.7
|