xapp-tools
Purpose
xapp-tools is an installable package of reusable build and development tooling for Xapp-based Python projects.
Its role is to provide automation that is broadly useful across repositories, not app-specific behavior.
Usage
uv add xapp-tools --dev
xapp-tools --help
Available commands:
version — Version management
xapp-tools version show— print the current version frompyproject.tomlxapp-tools version set X.Y.Z— set an explicit version (strict SemVer)xapp-tools version bump [patch|minor|major]— bump the versionxapp-tools version check-source— ensure no hardcoded__version__in source
tag — Git tag management
xapp-tools tag dryrun— print the tag without creating itxapp-tools tag create— create an annotated local git tagxapp-tools tag push— push the tag to origin
dist — Distribution artifacts
xapp-tools dist verify— verify wheel and sdist build artifactsxapp-tools dist wheel-smoke— smoke-test the installed wheel in a clean venvxapp-tools dist api-snapshot— capture or verify the public API contract
Top-level
xapp-tools coverage-badge— update the coverage badge in READMExapp-tools update-deps— refresh all dependencies to latest versions viauv
Reuse Policy
Tools in this package should be written so they can be reused in other Python projects with little or no modification.
When project values are needed, prefer metadata/config introspection (for example from pyproject.toml) over hardcoded constants.
Scope Boundaries
Only generic tooling belongs in this package.
Allowed examples:
- Dependency maintenance helpers
- Packaging/public API verification scripts
- Repository metadata utilities
- Generic release/build checks
Not allowed examples:
- Application/domain business logic
- Project feature commands
- One-off scripts tightly coupled to a specific app's runtime behavior
This packages offers a hatch hook that combines the README with the HISTORY.
In the package which implements xapp-tools add the follwoing the pyproject.toml:
requires = ["hatchling", "xapp-tools"]
build-backend = "hatchling.build"
[tool.hatch.metadata.hooks.combined-readme]
Or simply use ``hatch-fancy-pypi-readme`.
Metadata
Release files for xapp-tools 0.4.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 | |
|---|---|---|---|
| xapp_tools-0.4.0.tar.gz | 69.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xapp_tools-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 87.6 kB
Release files / xapp_tools-0.4.0.tar.gz
| Download URL | xapp_tools-0.4.0.tar.gz |
|---|---|
| Size | 69.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
441775c2aaa1bb27a9bba242af6788bf844b1a55b5d3f9f67d263d681ce9cd82
|
|
BLAKE2b-256 checksum How to use checksums |
36c523320ec8fe528a7d0e4e7467bbf162d69ba901ce7866c54eac87fd105261
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / xapp_tools-0.4.0-py3-none-any.whl
| Download URL | xapp_tools-0.4.0-py3-none-any.whl |
|---|---|
| Size | 17.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f9cb395f92083cf30fd3af589951f445f653a9cbc620fd53500a31df28cc1542
|
|
BLAKE2b-256 checksum How to use checksums |
4217739d0ee5b0ea38eb480038453347278ddec3000cd56542ca6fe0f0095ff6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|