Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aionostr

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aionostr

asyncio nostr client

  • 0.20.0
  • PyPI
  • Socket score

Maintainers
1

======== aionostr

.. image:: https://img.shields.io/pypi/v/aionostr.svg :target: https://pypi.python.org/pypi/aionostr

.. .. image:: https://img.shields.io/travis/davestgermain/aionostr.svg .. :target: https://travis-ci.com/davestgermain/aionostr

.. .. image:: https://readthedocs.org/projects/aionostr/badge/?version=latest .. :target: https://aionostr.readthedocs.io/en/latest/?version=latest .. :alt: Documentation Status

asyncio nostr client

Features

  • Retrieve anything from the nostr network, using one command:

.. code-block:: console

    $ 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:

.. code-block:: console

    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.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter .. _audreyr/cookiecutter-pypackage: https://github.com/audreyr/cookiecutter-pypackage

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc