py-jxz
Python library for building, reading, and verifying .jxz signed containers.
The .jxz format packages signed JUnit XML test reports with attachments for secure transmission, as specified by the jux-container-format specification.
Features
- Build
.jxzcontainers from JUnit XML reports and attachments - Read and extract
.jxzcontainers with digest validation - Sign containers with detached XMLDSIG signatures
- Verify signatures and SHA-256 manifest digests
- Minimal dependencies:
signxml+cryptographybeyond stdlib
Installation
pip install py-jxz
Quick Start
Build a container
from jxz import ContainerBuilder
builder = ContainerBuilder()
builder.set_report(junit_xml_bytes)
builder.add_attachment("screenshots/login.png", png_bytes)
# Unsigned
jxz_bytes = builder.build()
# Signed
jxz_bytes = builder.build(private_key=key, certificate=cert)
Read and verify a container
from jxz import ContainerReader
reader = ContainerReader(jxz_bytes)
reader.verify()
report = reader.get_report()
attachments = reader.get_attachments()
Documentation
Related Projects
| Project | Description |
|---|---|
| jux-container-format | .jxz format specification |
| py-juxlib | Jux client library (depends on py-jxz) |
| jux-openapi | Jux REST API specification |
License
Apache-2.0
Metadata
Release files for py-jxz 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py_jxz-0.1.8.tar.gz | 30.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| py_jxz-0.1.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.4 kB
Release files / py_jxz-0.1.8.tar.gz
| Download URL | py_jxz-0.1.8.tar.gz |
|---|---|
| Size | 30.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a6d20c27a55cde3c6080a3a64820bd6749d087e9a4a7edb00dd946ae8d45584
|
|
BLAKE2b-256 checksum How to use checksums |
2c645f8524277f71be036e1e87fc9f2611eecff00140e533b1026886b02bc0c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.
Transparency logRelease files / py_jxz-0.1.8-py3-none-any.whl
| Download URL | py_jxz-0.1.8-py3-none-any.whl |
|---|---|
| Size | 24.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b650aa10de6ffad85f1878f0ade802ce3bce19d3ae698c1e39a386b8c33f74c
|
|
BLAKE2b-256 checksum How to use checksums |
a9d511d3c9fb2eb77c16034d8309a672ce60f454b1c7cbcb005ea7a664acb9e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 26, 2026.
Transparency log