Files
python-nostr/README.md
2022-07-21 14:56:41 -04:00

979 B

python-nostr

A Python library for making Nostr clients

Details

This library can handle basic Nostr operations described in NIP-01.

It leverages websocket-client for websocket operations and secp256k1-py for key operations.

Installation

  1. Clone repository
    git clone https://github.com/jeffthibault/python-nostr.git
  2. Install dependencies in repo
    python -m venv venv
    pip install -r requirements.txt

Note 1: I wrote this with Python 3.9.5.
Note 2: If the pip install fails, you might need to install wheel. Try pip install wheel.

Disclaimer

This library is in very early development and still a WIP.
More NIPs will be handled.
There are probably bugs.
I need to add tests.
I will try to publish this as a PyPI package at some point.