{ "info": { "author": "Bart Thate", "author_email": "bthate@dds.nl", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: Public Domain", "Operating System :: Unix", "Programming Language :: Python" ], "description": "BOTZ is a pure python3 framework to program bots (a botlib), provides IRC and XMPP bots and is extendible by programming your own commands. \nBasic functionality is a RSS feed fetcher you can use to display feeds into your channel. \nBOTZ uses a timestamped, type in filename, JSON stringified, files on filesystem backend and has timed based logging capabilities. BOTZ has been placed in the Public Domain and contains no copyright or LICENSE.\n\n\nS O U R C E\n\n\n.. autosummary::\n :toctree: code\n :template: module.rst\n\n botz.base - base classes.\n botz.bot - event handler.\n botz.clock - timers, repeaters.\n botz.cmds - basic command set.\n botz.command - parse a line into a command.\n botz.edit - json file editor.\n botz.email - email scanning module.\n botz.entry - simple data entry commands.\n botz.event - event handler.\n botz.fleet - list of bots.\n botz.handler - event handler.\n botz.irc - IRC bot.\n botz.kernel - main select loop.\n botz.loader - module loader.\n botz.poller - polling based handler.\n botz.shell - shell related commands.\n botz.store - timestamped json file backend.\n botz.tasks - botz threads.\n botz.udp - udp to channel relay.\n botz.users - manage users.\n botz.utils - utility functions.\n\n\nE D I T\n\n\nuse the ed command to edit BOTZ objects:\n\n > botz ed botz.kernel.cfg shell=False\n\n\nP R O G R A M M I N G\n\n\nprogramming your own commands is easy, your can load modules with the -m option.\nif you create a mods directory and put your hello.py module in it, you would use:\n\n > botz -m mods\n\nany command you have coded in hello.py would be available, see the `show cmds` command.\n\n > botz show cmds\n\na command is a function with one argument, the event that was generated on the bot.\n\nexample:\n\n def mycmd(event): \n \n\nyou can use event.reply() to send response back to the user:\n\n def hello(event): \n event.reply(\"hello %s\" % event.nick)\n\nafter starting botz with -m mods, you see the hello command added to the bot:\n\n > s cmds\n\n ed,find,hello,log,oper,restore,rm,show,todo\n\n\nI N S T A L L\n\n\nyou can fetch BOTZ from the following:\n\n https://pypi.org/project/botz | http://bitbucket.org/bthate/botz \n\n\nif you need botz to have access to your local directory use this: \n\n > export PYTHONPATH=\".\"\n\nthis will add your current directory to the pythonpath so the packages in it \ncan be found by botz.\n\ninstallation is through pypi:\n\n > sudo pip3 install botz\n\nyou can also run the bot from the tarball at pypi and run it directly or \ninstall with setup.py:\n\n > python3 setup.py install --user\n\n\nC O N F I G U R A T I O N\n\n\nbotz includes one program, the botz shell:\n\n > botz [-m mod1,mod2] command\n \nto connect to irc use the -m irc option.\n\n > botz -m irc -s irc.freenode.net -c \\#dunkbots -n botzi -z\n\nto use the xmpp module is almost the same.\n\n > botz -m xmpp -s botz@okdan.home -p -z\n\nto use the bot as a rss feed reader, add a feed url with the rss command:\n\n > botz rss https://www.reddit.com/r/Python/new/.rss\n\nand start the bot with the rss module loaded\n\n > botz -m rss -z\n\nthis will start a fetcher that will display the feed you have entered on your \nchannel.\n\n\n\nH A V E F U N\n\n\nbthate@dds.nl | botfather on #dunkbots at irc.freenode.net | xmpp: bart@xmpp.fi\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/bthate/botz.cli", "keywords": "", "license": "Public Domain", "maintainer": "", "maintainer_email": "", "name": "botz.cli", "package_url": "https://pypi.org/project/botz.cli/", "platform": "", "project_url": "https://pypi.org/project/botz.cli/", "project_urls": { "Homepage": "https://bitbucket.org/bthate/botz.cli" }, "release_url": "https://pypi.org/project/botz.cli/1/", "requires_dist": null, "requires_python": "", "summary": "Framework to program bots", "version": "1" }, "last_serial": 4967016, "releases": { "1": [ { "comment_text": "", "digests": { "md5": "45ef0b8f4786a959a7b188dd4a6efeb3", "sha256": "528a7ee8047b21b8617a27606aa50d5d1e7cd94fc4490cfbae69d03125d8ae88" }, "downloads": -1, "filename": "botz.cli-1.tar.gz", "has_sig": false, "md5_digest": "45ef0b8f4786a959a7b188dd4a6efeb3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3492, "upload_time": "2019-03-21T08:10:22", "url": "https://files.pythonhosted.org/packages/07/db/a636254e0777e51b0ba66d50e74efc37a4447bf28904e1ec0ba714427dc8/botz.cli-1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "45ef0b8f4786a959a7b188dd4a6efeb3", "sha256": "528a7ee8047b21b8617a27606aa50d5d1e7cd94fc4490cfbae69d03125d8ae88" }, "downloads": -1, "filename": "botz.cli-1.tar.gz", "has_sig": false, "md5_digest": "45ef0b8f4786a959a7b188dd4a6efeb3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3492, "upload_time": "2019-03-21T08:10:22", "url": "https://files.pythonhosted.org/packages/07/db/a636254e0777e51b0ba66d50e74efc37a4447bf28904e1ec0ba714427dc8/botz.cli-1.tar.gz" } ] }