Skip to main content

.

PyPI - Version PyPI - Python Version


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 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 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)

Source distribution for edwh_nostr_messagebus 0.4.1
File Size Uploaded
edwh_nostr_messagebus-0.4.1.tar.gz 10.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for edwh_nostr_messagebus 0.4.1
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page