Python Keymaster Library
Reusable Python implementation of the Archon Keymaster business logic.
This package is intended to hold the core wallet, DID, crypto, and asset
behaviors independent of any specific HTTP service runtime. It also exposes
the Python keymaster CLI, which mirrors the TypeScript Keymaster CLI command
surface while using this library in-process against a Gatekeeper HTTP endpoint
and local wallet file.
Install
pip install archon-keymaster
For local development from a repo checkout:
pip install -e python/keymaster
CLI usage
export ARCHON_PASSPHRASE=your-passphrase
export ARCHON_GATEKEEPER_URL=http://localhost:4224
export ARCHON_WALLET_PATH=./wallet.json
keymaster --help
keymaster create-wallet
keymaster create-id alice
keymaster list-ids
CLI environment variables
| Variable | Default | Description |
|---|---|---|
ARCHON_NODE_URL / ARCHON_GATEKEEPER_URL |
http://localhost:4224 |
Gatekeeper HTTP endpoint |
ARCHON_WALLET_PATH |
./wallet.json |
Path to wallet file |
ARCHON_PASSPHRASE |
(required) | Wallet passphrase |
ARCHON_DEFAULT_REGISTRY |
hyperswarm |
Default registry for new DIDs |
Release files for archon-keymaster 0.6.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| archon_keymaster-0.6.3.tar.gz | 60.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| archon_keymaster-0.6.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 124.7 kB
Release files / archon_keymaster-0.6.3.tar.gz
| Download URL | archon_keymaster-0.6.3.tar.gz |
|---|---|
| Size | 60.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b57f41298d5147cd1a6ef3f6c1912c1f88b9214aa5a197af0835863ce226f10
|
|
BLAKE2b-256 checksum How to use checksums |
bd01fc767106f98e726e30bd0b36a318c118b82a48732d83e0f06a0a74fbe1d2
|
| 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 Aug 26, 2026.
Transparency logRelease files / archon_keymaster-0.6.3-py3-none-any.whl
| Download URL | archon_keymaster-0.6.3-py3-none-any.whl |
|---|---|
| Size | 64.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c15125ed3b74efef5eadb92ad7df3af2fc4fe6c0591f6dd3753226c84ddc8f77
|
|
BLAKE2b-256 checksum How to use checksums |
08358e300800db5f1c68d4c22016424671ac4933cf67af4f31c212fb1c879ab1
|
| 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 Aug 26, 2026.
Transparency log