asyncio nostr client
Project description
aionostr
asyncio nostr client
Free software: BSD license
Documentation: https://aionostr.readthedocs.io.
Features
Retrieve anything from the nostr network, using one command:
$ aionostr get nprofile1qqsv0knzz56gtm8mrdjhjtreecl7dl8xa47caafkevfp67svwvhf9hcpz3mhxue69uhkgetnvd5x7mmvd9hxwtn4wvspak3h
$ aionostr get -v nevent1qqsxpnzhw2ddf2uplsxgc5ctr9h6t65qaalzvzf0hvljwrz8q64637spp3mhxue69uhkyunz9e5k75j6gxm
$ aionostr query -s -q '{"kinds": [1], "limit":10}'
$ aionostr send --kind 1 --content test --private-key <privatekey>
$ aionostr mirror -r wss://source.relay -t wss://target.relay --verbose '{"kinds": [4]}'
Set environment variables:
NOSTR_RELAYS=wss://brb.io,wss://nostr.mom
NOSTR_KEY=`aionostr gen | head -1`
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.6.0 (2023-01-25)
Implement reconnect
0.5.0 (2023-01-25)
Support NIP-21
0.1.0 (2023-01-18)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aionostr-0.7.0.tar.gz
(19.1 kB
view hashes)
Built Distribution
Close
Hashes for aionostr-0.7.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27a8b099f8de81e280502714e58e01314d4b345864e639d5a22aee2e1ffb411f |
|
MD5 | bca2fc25576ca6ee57b22878d1b830ea |
|
BLAKE2b-256 | 24b12b62ece629d6d096ff46cbadb6c9b41105fe198e01a4e8f31ba901dc4049 |