.
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
Metadata
Release files for edwh_nostr_messagebus 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| edwh_nostr_messagebus-0.4.1.tar.gz | 10.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| edwh_nostr_messagebus-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.7 kB
Release files / edwh_nostr_messagebus-0.4.1.tar.gz
| Download URL | edwh_nostr_messagebus-0.4.1.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01903dea540f62d216600d7a94ef9072446038883d11d427361159ec837585af
|
|
BLAKE2b-256 checksum How to use checksums |
6c4adc33cca0deb2ed6c59f7f6e67cb94c6bb3ee2f356dc3949dd4aa8b2fef3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.24.0
|
Release files / edwh_nostr_messagebus-0.4.1-py3-none-any.whl
| Download URL | edwh_nostr_messagebus-0.4.1-py3-none-any.whl |
|---|---|
| Size | 7.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd60c561e1fbff42cd1553f9e18e62496d78bacb6726af81398e915ad7a37c1f
|
|
BLAKE2b-256 checksum How to use checksums |
6aae0cf1784bd384412598a3b7143bd223f891c807307a54f25754f6ce567907
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.24.0
|