Skip to main content

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

Metadata

Release files for aionostr 0.20.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aionostr 0.20.0
File Size Uploaded Provenance Actions
aionostr-0.20.0.tar.gz 23.9 kB Without provenance Details for aionostr-0.20.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aionostr 0.20.0
File Interpreter ABI Platform Actions
aionostr-0.20.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for aionostr-0.20.0-py2.py3-none-any.whl

Total release size: 43.1 kB

Release files / aionostr-0.20.0.tar.gz

Download URL aionostr-0.20.0.tar.gz
Size 23.9 kB
Tags Source
SHA-256 checksum
How to use checksums
aa25a63ee100dd40b984f9afe631084fc5bfad2af48b330d9d0031e7e20860d5
BLAKE2b-256 checksum
How to use checksums
ac85a23e82ce93a0bdeb91ec66baf2f6ec4f25d13df138549b4e0dad77622a6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.9

Release files / aionostr-0.20.0-py2.py3-none-any.whl

Download URL aionostr-0.20.0-py2.py3-none-any.whl
Size 19.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
373e34565f9da2e151755aee57f63ed8329f2b8e32670cff17ede3516d44075f
BLAKE2b-256 checksum
How to use checksums
db52055ae287bd687660d708194e09f72a87fbefeaca24dab91f0cb70df25936
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.9

Security for aionostr 0.20.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page