asyncio nostr client
Project description
electrum-aionostr
This is a fork of aionostr that does not require Coincurve
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.19.0 (2023.03.07)
Improved benchmark: aionostr bench
Optimized Event object
0.18.0 (2023-03-03)
Allow for pretty-printing events, or just printing the content
Enable authentication when mirroring
0.17.0 (2023-03-03)
Support naddr NIP-19 type
0.16.0 (2023-02-11)
Improve benchmark
Allow manager to authenticate
0.11.0 (2023-01-30)
auto authenticate
support ‘note’ NIP-19 type
0.7.0-0.8.0 (2023-01-28)
support for nrelay type
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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file electrum_aionostr-0.0.1.tar.gz
.
File metadata
- Download URL: electrum_aionostr-0.0.1.tar.gz
- Upload date:
- Size: 23.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 391bf0d3f5b8ca9413635272e15f5f8c022f81754c69c73a8db4feecbf72d822 |
|
MD5 | 3133d74a585e278de92335f7fce08952 |
|
BLAKE2b-256 | 82dd546e803660a16c83b3e8f7617cd6a2aee5b1c3d6e312bd3dd241691d6d29 |
File details
Details for the file electrum_aionostr-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: electrum_aionostr-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58d4edce02ab7a38982448f3c58867e88524df5db5b859cd2e8e1a1589c0f25e |
|
MD5 | 57ab07b08f54b7475a734c8c79072b87 |
|
BLAKE2b-256 | d974b5af80496851ad413e385f6cf01b9f4f4ce4c48a6ee3324af4ef6196bcc5 |