aionostr


Nameaionostr JSON
Version 0.20.0 PyPI version JSON
download
home_pagehttps://github.com/davestgermain/aionostr
Summaryasyncio nostr client
upload_time2024-06-05 02:34:08
maintainerNone
docs_urlNone
authorDave St.Germain
requires_python>=3.8
licenseBSD license
keywords aionostr
VCS
bugtrack_url
requirements websockets
Travis-CI
coveralls test coverage No coveralls.
            ========
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


* Free software: BSD license
* Documentation: https://aionostr.readthedocs.io.


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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/davestgermain/aionostr",
    "name": "aionostr",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "aionostr",
    "author": "Dave St.Germain",
    "author_email": "dave@st.germa.in",
    "download_url": "https://files.pythonhosted.org/packages/ac/85/a23e82ce93a0bdeb91ec66baf2f6ec4f25d13df138549b4e0dad77622a6e/aionostr-0.20.0.tar.gz",
    "platform": null,
    "description": "========\naionostr\n========\n\n\n.. image:: https://img.shields.io/pypi/v/aionostr.svg\n        :target: https://pypi.python.org/pypi/aionostr\n\n.. .. image:: https://img.shields.io/travis/davestgermain/aionostr.svg\n..         :target: https://travis-ci.com/davestgermain/aionostr\n\n.. .. image:: https://readthedocs.org/projects/aionostr/badge/?version=latest\n..         :target: https://aionostr.readthedocs.io/en/latest/?version=latest\n..         :alt: Documentation Status\n\n\n\n\nasyncio nostr client\n\n\n* Free software: BSD license\n* Documentation: https://aionostr.readthedocs.io.\n\n\nFeatures\n--------\n\n* Retrieve anything from the nostr network, using one command:\n\n.. code-block:: console\n\n        $ aionostr get nprofile1qqsv0knzz56gtm8mrdjhjtreecl7dl8xa47caafkevfp67svwvhf9hcpz3mhxue69uhkgetnvd5x7mmvd9hxwtn4wvspak3h\n        $ aionostr get -v nevent1qqsxpnzhw2ddf2uplsxgc5ctr9h6t65qaalzvzf0hvljwrz8q64637spp3mhxue69uhkyunz9e5k75j6gxm\n        $ aionostr query -s -q '{\"kinds\": [1], \"limit\":10}'\n        $ aionostr send --kind 1 --content test --private-key <privatekey>\n        $ aionostr mirror -r wss://source.relay -t wss://target.relay --verbose '{\"kinds\": [4]}'\n\nSet environment variables:\n\n.. code-block:: console\n\n        NOSTR_RELAYS=wss://brb.io,wss://nostr.mom\n        NOSTR_KEY=`aionostr gen | head -1`\n\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\n\n=======\nHistory\n=======\n\n0.19.0 (2023.03.07)\n-------------------\n\n* Improved benchmark: `aionostr bench`\n* Optimized Event object\n\n0.18.0 (2023-03-03)\n-------------------\n\n* Allow for pretty-printing events, or just printing the content\n* Enable authentication when mirroring\n\n0.17.0 (2023-03-03)\n-------------------\n\n* Support `naddr` NIP-19 type\n\n0.16.0 (2023-02-11)\n-------------------\n\n* Improve benchmark\n* Allow manager to authenticate\n\n0.11.0 (2023-01-30)\n-------------------\n\n* auto authenticate\n* support 'note' NIP-19 type\n\n0.7.0-0.8.0 (2023-01-28)\n------------------------\n\n* support for nrelay type\n\n0.6.0 (2023-01-25)\n------------------\n\n* Implement reconnect\n\n0.5.0 (2023-01-25)\n------------------\n\n* Support NIP-21\n\n0.1.0 (2023-01-18)\n------------------\n\n* First release on PyPI.\n",
    "bugtrack_url": null,
    "license": "BSD license",
    "summary": "asyncio nostr client",
    "version": "0.20.0",
    "project_urls": {
        "Homepage": "https://github.com/davestgermain/aionostr"
    },
    "split_keywords": [
        "aionostr"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "db52055ae287bd687660d708194e09f72a87fbefeaca24dab91f0cb70df25936",
                "md5": "5a2a78e5263146a02168217c3f57bcc8",
                "sha256": "373e34565f9da2e151755aee57f63ed8329f2b8e32670cff17ede3516d44075f"
            },
            "downloads": -1,
            "filename": "aionostr-0.20.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5a2a78e5263146a02168217c3f57bcc8",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.8",
            "size": 19170,
            "upload_time": "2024-06-05T02:34:06",
            "upload_time_iso_8601": "2024-06-05T02:34:06.789223Z",
            "url": "https://files.pythonhosted.org/packages/db/52/055ae287bd687660d708194e09f72a87fbefeaca24dab91f0cb70df25936/aionostr-0.20.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ac85a23e82ce93a0bdeb91ec66baf2f6ec4f25d13df138549b4e0dad77622a6e",
                "md5": "0ffefa7657dc9764ea3126fe15a62540",
                "sha256": "aa25a63ee100dd40b984f9afe631084fc5bfad2af48b330d9d0031e7e20860d5"
            },
            "downloads": -1,
            "filename": "aionostr-0.20.0.tar.gz",
            "has_sig": false,
            "md5_digest": "0ffefa7657dc9764ea3126fe15a62540",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 23890,
            "upload_time": "2024-06-05T02:34:08",
            "upload_time_iso_8601": "2024-06-05T02:34:08.910326Z",
            "url": "https://files.pythonhosted.org/packages/ac/85/a23e82ce93a0bdeb91ec66baf2f6ec4f25d13df138549b4e0dad77622a6e/aionostr-0.20.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-05 02:34:08",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "davestgermain",
    "github_project": "aionostr",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "websockets",
            "specs": []
        }
    ],
    "tox": true,
    "lcname": "aionostr"
}
        
Elapsed time: 0.65908s