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

# With websocket relay support:
pip install lobstr-core[websocket]

Usage

from lobstr.core.nostr_crypto import derive_secret_from_string, pubkey_gen_xonly, schnorr_sign

secret = derive_secret_from_string("my-seed")
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.3.0.tar.gz (6.4 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.3.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file lobstr_core-0.3.0.tar.gz.

File metadata

  • Download URL: lobstr_core-0.3.0.tar.gz
  • Upload date:
  • Size: 6.4 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.3.0.tar.gz
Algorithm Hash digest
SHA256 cc92c54f5ee22cbb18b269d13856ee31a59e2efca32c7e9e2b42cd2d13aa0d4d
MD5 e66080a4a55c13a21bbb224ea246dff0
BLAKE2b-256 fe7a11fe5a448619d9a606fda18725dfa43440826fe4db100ad2b388f7231794

See more details on using hashes here.

Provenance

The following attestation bundles were made for lobstr_core-0.3.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.3.0-py3-none-any.whl.

File metadata

  • Download URL: lobstr_core-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.4 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 865133cc8faac29e4e561ceec79b04d3b3ecfbd2a6bb1f02dd716dc12f542ae0
MD5 9050570fbc0ecaca67fb183c1fad6f31
BLAKE2b-256 f93a55ce4029b52727a86b432248e09d1d809486a9f0fb86a7635f0361258061

See more details on using hashes here.

Provenance

The following attestation bundles were made for lobstr_core-0.3.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