python-nostr
python-nostr copied to clipboard
A Python library for Nostr
Running the Receive events from relays example fails with the message 'RelayManager' object has no attribute 'open_connections', so how do I connect?Does anyone have the same problem?
There seems to be an error in a package dependency that is making it difficult for me to use the nostr module. 
`(base) C:\Repository>pip install nostr Collecting nostr Using cached nostr-0.0.2-py3-none-any.whl (15 kB) Requirement already satisfied: cffi>=1.15.0 in c:\users\myname\appdata\local\miniconda3\lib\site-packages (from nostr) (1.15.1) Requirement already satisfied: cryptography>=37.0.4 in c:\users\myname\appdata\local\miniconda3\lib\site-packages (from nostr) (39.0.1) Requirement...
Thanks for the base code here, but it's very basic and not usable for long running subscriptions. Please merge @callebtc https://github.com/callebtc/python-nostr fork and update pip :-) Or @callebtc - pls...
This fix the error I had: `Event.__init__() missing 1 required positional argument: 'content'` My guess is that other parts of the documentation would need to be updated but I only...
Hi, When querying events from relays, it would be great if event.py could also provide a raw json of the event, just for improved interoperability between applications. It doesn't seem...
`pynostr` has 19 third-party dependencies! ``` 01. tlv8 02. asn1crypto 03. urllib3 04. typing-extensions 05. tornado 06. pygments 07. pycparser 08. mdurl 09. idna 10. click 11. charset-normalizer 12. certifi...
I'm having this error when trying to use nostr in a core-lightning plugin. Any suggestions as to what it could be? > Sep 23 03:01:13 lightningd[277366]: Traceback (most recent call...
Can I call add_subscription after open_connections, or do I need to do it before like the README example? Another question... Should I expect to get all old note/events using RelayManager.message_pool.has_event?...
Similar to the issue discovered in #23 . Make default tag list `None` and then assign `self.tags` an empty list if `None` demo of bug: ```python from nostr.event import Event...