edwh_nostr_messagebus


Nameedwh_nostr_messagebus JSON
Version 0.4.1 PyPI version JSON
download
home_pageNone
SummaryEducationWarehouse NOSTR Messagebus
upload_time2024-01-18 22:59:24
maintainerNone
docs_urlNone
authorNone
requires_python>=3.11
licenseNone
keywords education edwh nostr
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # .

[![PyPI - Version](https://img.shields.io/pypi/v/-.svg)](https://pypi.org/project/-)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/-.svg)](https://pypi.org/project/-)

-----

**Table of Contents**
- [Installation](#installation)
- [Usage](#usage)
- [License](#license)

## Installation

```console
pip install edwh-nostr-messagebus 
```

There is an example folder that you can [view on github](https://github.com/educationwarehouse/edwh-nostr-messagebus/tree/main/examples) 
with a helpful `tasks.py` demo to work with this library. 

## Usage
- Run `python3 ./run_relay --port 8888` from the `monstr_terminal` package to have local relay
- chdir to the examples folder (there is a tasks.py file there)
- Run `invoke setup` before anything else, in this folder, or wherever you create your `tasks.py`
- Run `invoke camelcaser -vv` to enable the example camelcaser bot 
- Run `invoke connect -vvv` to watch debug output from several read-only message dumping handlers
- Run `invoke new --gidname "abc:here is my test" --gidname "def:And another" --key edwh` to create 2 messages for new items

The first message from the `new` command will result in a trigger of the `camelcaser` since it's triggered by 
not camelcased names. The second message is "properly" formatted, and will not trigger it. In the debug view you can see
there are extra tags on the newly created message for the same gid, and an updated name attribute. 

Basically, this is alot of what this entire project is all about. 

## License

`-` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.


## Packaging
Make sure your commit messages are semantic. 

- `semantic-release publish; hatch build -c ; hatch publish` 
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "edwh_nostr_messagebus",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": null,
    "keywords": "education,edwh,nostr",
    "author": null,
    "author_email": "Remco <remco@educationwarehouse.nl>",
    "download_url": "https://files.pythonhosted.org/packages/6c/4a/dc33cca0deb2ed6c59f7f6e67cb94c6bb3ee2f356dc3949dd4aa8b2fef3f/edwh_nostr_messagebus-0.4.1.tar.gz",
    "platform": null,
    "description": "# .\n\n[![PyPI - Version](https://img.shields.io/pypi/v/-.svg)](https://pypi.org/project/-)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/-.svg)](https://pypi.org/project/-)\n\n-----\n\n**Table of Contents**\n- [Installation](#installation)\n- [Usage](#usage)\n- [License](#license)\n\n## Installation\n\n```console\npip install edwh-nostr-messagebus \n```\n\nThere is an example folder that you can [view on github](https://github.com/educationwarehouse/edwh-nostr-messagebus/tree/main/examples) \nwith a helpful `tasks.py` demo to work with this library. \n\n## Usage\n- Run `python3 ./run_relay --port 8888` from the `monstr_terminal` package to have local relay\n- chdir to the examples folder (there is a tasks.py file there)\n- Run `invoke setup` before anything else, in this folder, or wherever you create your `tasks.py`\n- Run `invoke camelcaser -vv` to enable the example camelcaser bot \n- Run `invoke connect -vvv` to watch debug output from several read-only message dumping handlers\n- Run `invoke new --gidname \"abc:here is my test\" --gidname \"def:And another\" --key edwh` to create 2 messages for new items\n\nThe first message from the `new` command will result in a trigger of the `camelcaser` since it's triggered by \nnot camelcased names. The second message is \"properly\" formatted, and will not trigger it. In the debug view you can see\nthere are extra tags on the newly created message for the same gid, and an updated name attribute. \n\nBasically, this is alot of what this entire project is all about. \n\n## License\n\n`-` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.\n\n\n## Packaging\nMake sure your commit messages are semantic. \n\n- `semantic-release publish; hatch build -c ; hatch publish` ",
    "bugtrack_url": null,
    "license": null,
    "summary": "EducationWarehouse NOSTR Messagebus",
    "version": "0.4.1",
    "project_urls": {
        "Documentation": "https://github.com/educationwarehouse/edwh_nostr_messagebus#readme",
        "Issues": "https://github.com/educationwarehouse/edwh_nostr_messagebus/issues",
        "Source": "https://github.com/educationwarehouse/edwh_nostr_messagebus"
    },
    "split_keywords": [
        "education",
        "edwh",
        "nostr"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "6aae0cf1784bd384412598a3b7143bd223f891c807307a54f25754f6ce567907",
                "md5": "a5e608c621d5dca27b7dd93a6a51bd92",
                "sha256": "fd60c561e1fbff42cd1553f9e18e62496d78bacb6726af81398e915ad7a37c1f"
            },
            "downloads": -1,
            "filename": "edwh_nostr_messagebus-0.4.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a5e608c621d5dca27b7dd93a6a51bd92",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 7275,
            "upload_time": "2024-01-18T22:59:23",
            "upload_time_iso_8601": "2024-01-18T22:59:23.011205Z",
            "url": "https://files.pythonhosted.org/packages/6a/ae/0cf1784bd384412598a3b7143bd223f891c807307a54f25754f6ce567907/edwh_nostr_messagebus-0.4.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "6c4adc33cca0deb2ed6c59f7f6e67cb94c6bb3ee2f356dc3949dd4aa8b2fef3f",
                "md5": "767f9ff5c5478d29b1a336e2f95ee5fc",
                "sha256": "01903dea540f62d216600d7a94ef9072446038883d11d427361159ec837585af"
            },
            "downloads": -1,
            "filename": "edwh_nostr_messagebus-0.4.1.tar.gz",
            "has_sig": false,
            "md5_digest": "767f9ff5c5478d29b1a336e2f95ee5fc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 10402,
            "upload_time": "2024-01-18T22:59:24",
            "upload_time_iso_8601": "2024-01-18T22:59:24.780164Z",
            "url": "https://files.pythonhosted.org/packages/6c/4a/dc33cca0deb2ed6c59f7f6e67cb94c6bb3ee2f356dc3949dd4aa8b2fef3f/edwh_nostr_messagebus-0.4.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-01-18 22:59:24",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "educationwarehouse",
    "github_project": "edwh_nostr_messagebus#readme",
    "github_not_found": true,
    "lcname": "edwh_nostr_messagebus"
}
        
Elapsed time: 0.17267s