Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lobstr_core-0.4.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lobstr_core-0.4.0-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

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

Hashes for lobstr_core-0.4.0.tar.gz
Algorithm Hash digest
SHA256 aa84f7cee88c034e6685d4b4ac8f7d323798a9326a08d4de1041295ca66bf42a
MD5 f3a94775c92416378ac185ff04256593
BLAKE2b-256 39467a487b11e3a8264d36739e35c9a3f7e8b275c98792a73db420dd080f089b

See more details on using hashes here.

Provenance

The following attestation bundles were made for lobstr_core-0.4.0.tar.gz:

Publisher: publish.yml on zoidbergZA/lobstr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for lobstr_core-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8ccff6a1a1534a016c6b6296c8cc7352ce5a9c7f7c16a23100a180902876e04
MD5 0f3db0bbfdb8be92058690c81fa561c6
BLAKE2b-256 da70dad52a72df15920b0018ba57a48aa12daca5d05c9d7cfa7ba36c462dc94c

See more details on using hashes here.

Provenance

The following attestation bundles were made for lobstr_core-0.4.0-py3-none-any.whl:

Publisher: publish.yml on zoidbergZA/lobstr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page