Skip to main content

asyncio nostr client

Project description

electrum-aionostr

This is a fork of aionostr that does not require Coincurve

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

electrum_aionostr-0.0.6.tar.gz (23.7 kB view details)

Uploaded Source

File details

Details for the file electrum_aionostr-0.0.6.tar.gz.

File metadata

  • Download URL: electrum_aionostr-0.0.6.tar.gz
  • Upload date:
  • Size: 23.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for electrum_aionostr-0.0.6.tar.gz
Algorithm Hash digest
SHA256 6eead6193edc6ab8455b7ddee1b3f4f5cb3c65d0ea1bdbdadb44506eb8f67092
MD5 303fa7d337761899bb54d64ab9d3269b
BLAKE2b-256 6242f31bf444e9eaf4c4a425c02c1289cce8404d2966a1a2fc90de912dd6f8fd

See more details on using hashes here.

Supported by

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