What is currently the best way to make a nostr bot written in Python?

Reply to this note

Please Login to reply.

Discussion

Nakamoto institute bot incoming👀???

I’m not sure, but was planning on doing just that today. My assumption would be python-nostr nostr:npub108kuptq55xrxqc8ttfjqwwhkh7ruur7d3drm2yyp8ul9t86w9g0s3v9usw

If I were to use python, I would do it with the rust nostr sdk

https://pypi.org/project/nostr-sdk/

Snake oil

I would start with a main function.

Utilize Claude.ai as your coding assistant. It’s quite helpful.

I'm sure there's something better but here is my unmaintained fork of python-nostr that I use

https://github.com/callebtc/python-nostr

Thanks for this

https://rust-nostr.org/ has a python lib that's being maintained

As has been suggested, the nostr-sdk package for examples check out https://rust-nostr.org/

there's a 98 line python one over on the github.com/hivetalk/hivebot repo which uses rust nostr.

please tell me you're building the halving tracker on NOSTR