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>
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.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.5.0.tar.gz (18.4 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.5.0-py2.py3-none-any.whl (13.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for aionostr-0.5.0.tar.gz
Algorithm Hash digest
SHA256 d7efc2a704ddf34fcca2db87f35792b31f19f028b898489138bfda9bd0814e59
MD5 44901070cbda1cb07d3c2d86f5580ad5
BLAKE2b-256 93625e246dd177e4ee970190c74a706acaebbccb120f0f7f5d2754b2bc324e90

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aionostr-0.5.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.0 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.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 666586ed59a494539dc126e3c82715258394a3f7a888157cdbfe109a04874d5c
MD5 13d81517d897c0fec87f2e0e69743719
BLAKE2b-256 d07353881227cf6a14f6e6ee9023b9ae66681f0657355b82e10de7273063c7ca

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