EducationWarehouse NOSTR Messagebus
Project description
.
Table of Contents
Installation
pip install edwh-nostr-messagebus
There is an example folder that you can view on github
with a helpful tasks.py demo to work with this library.
Usage
- Run
python3 ./run_relay --port 8888from themonstr_terminalpackage to have local relay - chdir to the examples folder (there is a tasks.py file there)
- Run
invoke setupbefore anything else, in this folder, or wherever you create yourtasks.py - Run
invoke camelcaser -vvto enable the example camelcaser bot - Run
invoke connect -vvvto watch debug output from several read-only message dumping handlers - Run
invoke new --gidname "abc:here is my test" --gidname "def:And another" --key edwhto 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 license.
Packaging
Make sure your commit messages are semantic.
semantic-release publish; hatch build -c ; hatch publish
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file edwh_nostr_messagebus-0.4.1.tar.gz.
File metadata
- Download URL: edwh_nostr_messagebus-0.4.1.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
01903dea540f62d216600d7a94ef9072446038883d11d427361159ec837585af
|
|
| MD5 |
767f9ff5c5478d29b1a336e2f95ee5fc
|
|
| BLAKE2b-256 |
6c4adc33cca0deb2ed6c59f7f6e67cb94c6bb3ee2f356dc3949dd4aa8b2fef3f
|
File details
Details for the file edwh_nostr_messagebus-0.4.1-py3-none-any.whl.
File metadata
- Download URL: edwh_nostr_messagebus-0.4.1-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd60c561e1fbff42cd1553f9e18e62496d78bacb6726af81398e915ad7a37c1f
|
|
| MD5 |
a5e608c621d5dca27b7dd93a6a51bd92
|
|
| BLAKE2b-256 |
6aae0cf1784bd384412598a3b7143bd223f891c807307a54f25754f6ce567907
|