Skip to main content

pyjosers

Python JOSE (JWK, JWS, JWE, JWT) backed by jose-rs and PyO3, with a familiar jwcrypto-style API. Requires Python 3.10+; building requires Rust 1.89+.

from pyjosers import jwk, jwt
key = jwk.JWK.generate(kty="EC", crv="P-256")
token = jwt.JWT(header={"alg": "ES256"}, claims={"sub": "alice"})
token.make_signed_token(key)
verified = jwt.JWT(jwt=token.serialize(), key=key.public(), algs=["ES256"])
print(verified.claims)

Development:

Release 0.2.0 uses published crates.io jose-rs =0.10.0, Kryptering 0.7, and pyo3 =0.30.1. Wheels and source builds need no sibling checkout. See docs/backend-0100.rst for coverage and backend limitations.

New APIs cover ECDH/X25519, AES-GCM key wrapping, password encryption, general JWE, external AAD, encrypted key files, bounded JWKS selection, capability reports, and authenticated payload/header results. Private PEM export requires an explicit password choice (None for plaintext).

uv venv
uv pip install -e '.[dev]'
uv run pytest
uv run sphinx-build -W --keep-going -b html docs docs/_build/html

See docs/ for the API reference, algorithms, examples, build instructions, and migration guide, including the Inmor admin call patterns. Compatibility is explicitly scoped; this is not a complete replacement for every jwcrypto API.

Metadata

Release files for pyjosers 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyjosers 0.2.0
File Size Uploaded Provenance
pyjosers-0.2.0.tar.gz 89.1 kB With provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for pyjosers 0.2.0
File
pyjosers-0.2.0-cp310-abi3-win_arm64.whl CPython 3.10 abi3 Windows ARM64 Details
pyjosers-0.2.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
pyjosers-0.2.0-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details
pyjosers-0.2.0-cp310-abi3-manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64 Details
pyjosers-0.2.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details

Total release size: 10.3 MB

Release files / pyjosers-0.2.0.tar.gz

Download URL pyjosers-0.2.0.tar.gz
Size 89.1 kB
Tags Source
SHA-256 checksum
How to use checksums
62f0f82b47126d4e5bdaf98b55fc8649dfb8559370962788ef4a1428adb9acac
BLAKE2b-256 checksum
How to use checksums
829ae5531cd2261965f18d47e893db8e427300dad4c133209704be884fc6f7ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 22, 2026.

Transparency log

Release files / pyjosers-0.2.0-cp310-abi3-win_arm64.whl

Download URL pyjosers-0.2.0-cp310-abi3-win_arm64.whl
Size 2.0 MB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
2840506afacdaaf45b9e71094a862a072a3d20b993aca0bef514d0e6972bc652
BLAKE2b-256 checksum
How to use checksums
48918973864163633b41d52a301570e4f9dc8221366de88cdc4f459b88d12e10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 22, 2026.

Transparency log

Release files / pyjosers-0.2.0-cp310-abi3-win_amd64.whl

Download URL pyjosers-0.2.0-cp310-abi3-win_amd64.whl
Size 2.0 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
00ab8ab3b33be59438bfd3611e70e7b1cfb63929fe99a3f862fbb5f9af498af5
BLAKE2b-256 checksum
How to use checksums
bb28865111600fb4fa2c6b8a604e67b085da256d9b0e4ea402b75d884048d48f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 22, 2026.

Transparency log

Release files / pyjosers-0.2.0-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL pyjosers-0.2.0-cp310-abi3-manylinux_2_28_x86_64.whl
Size 2.1 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
6ed140e4e41e7d0b4151afecece9c2ebbe33c1046e6887e00f0eeda9a68cd565
BLAKE2b-256 checksum
How to use checksums
7e82b20c93c3117cc182dd987313661ef05fd1c70740b94325f14545cbacd963
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 22, 2026.

Transparency log

Release files / pyjosers-0.2.0-cp310-abi3-manylinux_2_28_aarch64.whl

Download URL pyjosers-0.2.0-cp310-abi3-manylinux_2_28_aarch64.whl
Size 2.1 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
c3748b0c39bd56fa4e4559798b6f71bd0d14bcbc9d8b3a01078fb70c9afe13bb
BLAKE2b-256 checksum
How to use checksums
e86f6984401a9a9bbfcc90e27caa25b6ff2e4e097fb8521c6ef23497c1d4d386
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 22, 2026.

Transparency log

Release files / pyjosers-0.2.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL pyjosers-0.2.0-cp310-abi3-macosx_11_0_arm64.whl
Size 2.0 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c7b9e1f6ba75b12084f6b23c75834b6f8ab89eba2eeccb362625009bb5e3de4d
BLAKE2b-256 checksum
How to use checksums
d633ffb22eb5d46b6826e0768b3639c31e9ebbac7f82750ce54d0d2ee6bb08e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 22, 2026.

Transparency log

Security for pyjosers 0.2.0

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.

Full provenance

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for pyjosers-0.2.0.tar.gz

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 Oct 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.2.0 This release

6 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page