Metadata-Version: 2.4
Name: lobstr-core
Version: 0.3.0
Summary: Nostr crypto primitives and relay client for autonomous agents
License-Expression: MIT
Keywords: agent,crypto,nostr,relay
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Security :: Cryptography
Requires-Python: >=3.10
Provides-Extra: websocket
Requires-Dist: websockets>=14.0; extra == 'websocket'
Description-Content-Type: text/markdown

# 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

```bash
pip install lobstr-core

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

## Usage

```python
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)
```
