Skip to main content

electrum-aionostr

asyncio nostr client

Free software: BSD license
Original Author: Dave St.Germain
Fork Author/Maintainer: The Electrum Developers
Language: Python (>= 3.10)

Latest PyPI package Build Status

This is a fork of aionostr that does not require Coincurve.

Getting started

$ python3 -m pip install --user ".[crypto]"

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`

Maintainer notes

Release checklist:

  • bump __version__ in __init__.py
  • write changelog in docs/history.md
  • $ git tag -s $VERSION -m "$VERSION"
  • $ git push "$REMOTE_ORIGIN" tag "$VERSION"
  • build sdist (see contrib/sdist/):
    • $ ELECBUILD_COMMIT=HEAD ELECBUILD_NOCACHE=1 ./contrib/sdist/build.sh
  • $ python3 -m twine upload dist/$DISTNAME

Metadata

Release files for electrum-aionostr 0.1.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 electrum-aionostr 0.1.0
File Size Uploaded Provenance
electrum_aionostr-0.1.0.tar.gz 26.0 kB Without provenance Details

Release files / electrum_aionostr-0.1.0.tar.gz

Download URL electrum_aionostr-0.1.0.tar.gz
Size 26.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3774f8e8312388272e10851a869c9f4d3d4a54d8d564851c36e2dc40297bec84
BLAKE2b-256 checksum
How to use checksums
61bd60a5af5dc7c3f94a0a2c2afa9b2ed133a6ffa57399908e8319cfd7d2e89d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Security for electrum-aionostr 0.1.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