I've just published a pre-release for the python nostr-sdk (version `0.42.0a2`), using the ABI3. I've also extended the support to Linux x86, windows x86 and aarch64.
If anyone is interested in trying it, please share a feedback if something doesn't work.
https://pypi.org/project/nostr-sdk/0.42.0a2/
#rust-nostr #rustnostr #python
Login to reply
Replies (6)
Maybe one day I can have a go at it and practice some actual coding.
nostr:nevent1qqsp3dvtgdfn3xmsms2uc09wrqkgzmlfkxusyw0at6u7d6t22e52x9cpz3mhxue69uhkummnw3ezummcw3ezuer9wcpupu4d
I love nostr-sdk. I'm using it in Python and finding it super fast and reliable. The only thing I miss is a field on the Event that shows which relay it came from. Adding source relay information would make event tracing much easier. Otherwise, fantastic work on this library!
Glad to hear that 🧡
I'll see what I can do. Currently you can know which relay sent the event by monitoring the notifications (RelayPoolNotification).
Thanks for your feedback. I don't fully understand how to use RelayPoolNotification yet, so I'm creating a client for each relay to tag events with their source. This works well for my needs. The library is excellent - fast and reliable! Thank you for your work.
Here you can find an example, but it may not be updated to the last version: https://github.com/rust-nostr/nostr-sdk-ffi/blob/ac4d6a8fb8f61b5f3ce3148a99e9f117bcbc0afc/python/examples/bot.py
I'll try add an example in the book soon.
Just tried. Work perfectly. Thank you for the hint!