Skip to main content

NAME


tobot - bot in reverse !

SYNOPSIS


tobot <cmd> [key=val] [key==val]
tobot -cvaw [init=mod1,mod2]
tobot -d
tobot -s

DESCRIPTION

TOB has all you need to program a unix cli program, such as disk perisistence for configuration files, event handler to handle the client/server connection, easy programming of your own commands, etc.

TOB contains python3 code to program objects in a functional way. it provides an “clean namespace” Object class that only has dunder methods, so the namespace is not cluttered with method names. This makes storing and reading to/from json possible.

TOB is a python3 IRC bot, it can connect to IRC, fetch and display RSS feeds, take todo notes, keep a shopping list and log text. You can run it under systemd for 24/7 presence in a IRC channel.

TOB is Public Domain.


INSTALL

installation is done with pipx


$ pipx install tobot
$ pipx ensurepath

<new terminal>

$ tobot srv > tob.service
$ sudo mv tobot.service /etc/systemd/system/
$ sudo systemctl enable tobot --now

joins #tobot on localhost

USAGE

use tobot to control the program, default it does nothing


$ tobot
$

see list of commands


$ tobot cmd
cfg,dpl,exp,imp,mre,nme,pwd,rem,res,rss,syn

CONFIGURATION

irc


$ tobot cfg server=<server>
$ tobot cfg channel=<channel>
$ tobot cfg nick=<nick>

sasl


$ tobot pwd <nsvnick> <nspass>
$ tobot cfg password=<frompwd>

rss


$ tobot rss <url>
$ tobot dpl <url> <item1,item2>
$ tobot rem <url>
$ tobot nme <url> <name>

opml


$ tobot exp
$ tobot imp <filename>

COMMANDS


cfg - irc configuration
cmd - commands
dpl - sets display items
exp - export opml (stdout)
imp - import opml
mre - display cached output
pwd - sasl nickserv name/pass
rem - removes a rss feed
res - restore deleted feeds
rss - add a feed
syn - sync rss feeds
ver - show version

FILES


~/.tobot
~/.local/bin/tobot
~/.local/pipx/venvs/tobot/*

AUTHOR


Bart Thate <bthate@dds.nl>

COPYRIGHT


tobot is Public Domain.

Metadata

Release files for tobot 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 tobot 1
File Size Uploaded Provenance
tobot-1.tar.gz 36.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for tobot 1
File Interpreter ABI Platform
tobot-1-py3-none-any.whl Python 3 none any Details

Total release size: 83.3 kB

Release files / tobot-1.tar.gz

Download URL tobot-1.tar.gz
Size 36.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f1044ec1ad01b493477124794f2944443b2a0164c5115ff1025324b00d5cd95f
BLAKE2b-256 checksum
How to use checksums
722b79cf627fd3fdc42f37892153ed5748eb5bf41e9d90d6bba7d89a41be5d7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Release files / tobot-1-py3-none-any.whl

Download URL tobot-1-py3-none-any.whl
Size 46.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bdbde1ed16f29ce46b160a41b31d388e3a2a27d2164d8f545149af0ed6192a57
BLAKE2b-256 checksum
How to use checksums
3f795250f6db72bbc3887da8b1ca4342e67c03ed6e2f67e743b5131a795291bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.5

Security for tobot 1

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.

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