about
Some simple bots for nostr in python.
install
from github
git clone https://github.com/monty888/nostr_bots.git
cd nostr_bots
python3 -m venv venv
source venv/bin/activate
pip install .
using pip
pip install nostr_bots
Won't work with current pip of monstr get current version from https://github.com/monty888/monstr until updated
when install via pip to run use python -m nostr_bots.name e.g python -m nostr_bots.run_echo_bot
echo bot
Replies with the same text that it receives.
python run_echo_bot.py
ip bot
Replies with the external ip of where the ip is running.
python run_ip_bot.py
bitcoin bot
Executes commands against a local bitcoin node and sends the replies over nostr.
python run_ip_bot.py
todo
- get the inbox code working
- add support for nip44 encryption and not just nip4
- relay needs to be parsed from command line at least plus other options
- min basic commands for the bitcoin bot + simple web interface?
Metadata
Release files for nostr-bots 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nostr_bots-0.0.4.tar.gz | 232.0 kB | Without provenance | Details for nostr_bots-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nostr_bots-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for nostr_bots-0.0.4-py3-none-any.whl |
Total release size: 244.3 kB
Release files / nostr_bots-0.0.4.tar.gz
| Download URL | nostr_bots-0.0.4.tar.gz |
|---|---|
| Size | 232.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e2b3ed8ba12d76231fc56b6321a4864a939a7d63f53e0a5bc903410b6f376b85
|
|
BLAKE2b-256 checksum How to use checksums |
3218cc4888fd0854eb91648467200bd7375a9dece4bd1ce594c6dc6405b1af36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.12
|
Release files / nostr_bots-0.0.4-py3-none-any.whl
| Download URL | nostr_bots-0.0.4-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6bd97c3515c0027b941dbf7ad49f980b8289c611649fd5f542e9b3d1eb512767
|
|
BLAKE2b-256 checksum How to use checksums |
863d00d0661f14669bea842b0d44425c457ecc1bfc75e519aff7dc683aded9d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.12
|
Security for nostr-bots 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.