Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

BOTLIB - Framework to program bots.

3 views
Skip to first unread message

Bart Thate

unread,
Jul 12, 2017, 10:35:45 AM7/12/17
to
BOTLIB is a python3 framework to use if you want to program IRC or XMPP bots.

Copyright (C) 2016,2017 by Bart Thate <bth...@dds.nl>

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

PROVIDES:

* CLI, IRC and XMPP bots.
* Object class - save/load to/from a JSON file.
* ReST server - serve saved object's over HTTP.
* RSS fetcher - echo rss feeds to IRC channels.
* UDP server - udp to bot to IRC channel.
* Watcher server - run tail -f and have output send to IRC channel.
* Email scanning - scan mbox format to searchable BOTLIB objects.

SETUP:

* Set export PYTHONPATH="." if the bot cannot be found by the python interpreter.
* Set export PYTHONIOENCODING="utf-8" if your shell has problems with handling utf-8 strings.
* For the XMPP server use a ~/.sleekpass file with the password in it

CONTACT:

* Bart Thate
* botfather on #dunkbot irc.freenode.net
* bth...@dds.nl, that...@gmail.com

BOTLIB is code released in the Public Domain - - https://bitbucket.org/bthate/botlib
0 new messages