mirror of
https://github.com/aljazceru/python-nostr.git
synced 2025-12-19 07:14:23 +01:00
979 B
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
- Clone repository
git clone https://github.com/jeffthibault/python-nostr.git - 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.