Skip to main content

asyncio nostr client

Project description

aionostr

https://img.shields.io/pypi/v/aionostr.svg

asyncio nostr client

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.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

aionostr-0.16.0.tar.gz (22.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aionostr-0.16.0-py2.py3-none-any.whl (18.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file aionostr-0.16.0.tar.gz.

File metadata

  • Download URL: aionostr-0.16.0.tar.gz
  • Upload date:
  • Size: 22.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for aionostr-0.16.0.tar.gz
Algorithm Hash digest
SHA256 e2611a22e92bfed67bdaa21a94b06498028a9b85de0c9269527768ed55d13a4b
MD5 5081ff800fbb1fee4a053de8015e235b
BLAKE2b-256 89a10b6b8483b8aa552781d2419db520171b88130abbfb4bf8bb7de4607d5afd

See more details on using hashes here.

File details

Details for the file aionostr-0.16.0-py2.py3-none-any.whl.

File metadata

  • Download URL: aionostr-0.16.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 18.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for aionostr-0.16.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8d585120ac78477f09fa2de1a847398002ebda38edc4af6d531953ce95a9c412
MD5 cbda79c7c4d35528069b7c4816e25407
BLAKE2b-256 fc92ceb9d976c1f67f3c6bad20f6d8b486fb61dca255acbd120b7d929cb3ab16

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page