Nostr crypto primitives and relay client for autonomous agents
Project description
lobstr-core
Nostr crypto primitives and relay client for autonomous agents.
Pure Python BIP340 Schnorr signatures and secp256k1 point arithmetic with zero external dependencies.
Install
pip install lobstr-core
For websocket relay support, install with the optional extra:
pip install lobstr-core[websocket]
Note: If you're using lobstrd, websocket support is included automatically.
Usage
import secrets
from lobstr.core.nostr_crypto import pubkey_gen_xonly, schnorr_sign
secret = secrets.token_bytes(32)
pubkey = pubkey_gen_xonly(secret)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lobstr_core-0.4.0.tar.gz.
File metadata
- Download URL: lobstr_core-0.4.0.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa84f7cee88c034e6685d4b4ac8f7d323798a9326a08d4de1041295ca66bf42a
|
|
| MD5 |
f3a94775c92416378ac185ff04256593
|
|
| BLAKE2b-256 |
39467a487b11e3a8264d36739e35c9a3f7e8b275c98792a73db420dd080f089b
|
Provenance
The following attestation bundles were made for lobstr_core-0.4.0.tar.gz:
Publisher:
publish.yml on zoidbergZA/lobstr
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lobstr_core-0.4.0.tar.gz -
Subject digest:
aa84f7cee88c034e6685d4b4ac8f7d323798a9326a08d4de1041295ca66bf42a - Sigstore transparency entry: 976081853
- Sigstore integration time:
-
Permalink:
zoidbergZA/lobstr@ce28dd788fcb832cfb9fac26e61201e8796c80c9 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/zoidbergZA
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ce28dd788fcb832cfb9fac26e61201e8796c80c9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file lobstr_core-0.4.0-py3-none-any.whl.
File metadata
- Download URL: lobstr_core-0.4.0-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8ccff6a1a1534a016c6b6296c8cc7352ce5a9c7f7c16a23100a180902876e04
|
|
| MD5 |
0f3db0bbfdb8be92058690c81fa561c6
|
|
| BLAKE2b-256 |
da70dad52a72df15920b0018ba57a48aa12daca5d05c9d7cfa7ba36c462dc94c
|
Provenance
The following attestation bundles were made for lobstr_core-0.4.0-py3-none-any.whl:
Publisher:
publish.yml on zoidbergZA/lobstr
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lobstr_core-0.4.0-py3-none-any.whl -
Subject digest:
b8ccff6a1a1534a016c6b6296c8cc7352ce5a9c7f7c16a23100a180902876e04 - Sigstore transparency entry: 976081857
- Sigstore integration time:
-
Permalink:
zoidbergZA/lobstr@ce28dd788fcb832cfb9fac26e61201e8796c80c9 -
Branch / Tag:
refs/tags/v0.4.0 - Owner: https://github.com/zoidbergZA
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ce28dd788fcb832cfb9fac26e61201e8796c80c9 -
Trigger Event:
push
-
Statement type: