{ "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", "Topic :: Software Development :: Libraries :: Application Frameworks" ], "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\n botz.base - base classes.\n botz.bot - event handler.\n botz.clock - timers, repeaters.\n botz.cmds - basic command set.\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.kernel - main select loop.\n botz.loader - module loader.\n botz.poller - polling based handler.\n botz.rss - feed fetcher.\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 botz.xmpp - xmpp bot.\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.xmpp", "keywords": "", "license": "Public Domain", "maintainer": "", "maintainer_email": "", "name": "botz.xmpp", "package_url": "https://pypi.org/project/botz.xmpp/", "platform": "", "project_url": "https://pypi.org/project/botz.xmpp/", "project_urls": { "Homepage": "https://bitbucket.org/bthate/botz.xmpp" }, "release_url": "https://pypi.org/project/botz.xmpp/4/", "requires_dist": null, "requires_python": "", "summary": "XMPP bot for BOTZ", "version": "4" }, "last_serial": 4945681, "releases": { "1": [ { "comment_text": "", "digests": { "md5": "1ea8afb7e6d1c83c5b6ed4ea0041c88e", "sha256": "cf81bedb63d78cc1764b43f15723cef378c78e0cf9877ee1b2f569ffc678354c" }, "downloads": -1, "filename": "botz.xmpp-1.tar.gz", "has_sig": false, "md5_digest": "1ea8afb7e6d1c83c5b6ed4ea0041c88e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5197, "upload_time": "2019-02-20T17:43:15", "url": "https://files.pythonhosted.org/packages/18/a5/9b5e7cd8eb62d19c9c7ec5dfe6e6e7c9a6889d7fbb6b3f59fb69148790c4/botz.xmpp-1.tar.gz" } ], "2": [ { "comment_text": "", "digests": { "md5": "15d8d58b5b3fbf05ae8bd34033366e2d", "sha256": "f49dc2a37169ad32fbbadcf4d333304e7ed66ccc98a55d99b9ffb8f953ddbe77" }, "downloads": -1, "filename": "botz.xmpp-2.tar.gz", "has_sig": false, "md5_digest": "15d8d58b5b3fbf05ae8bd34033366e2d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5199, "upload_time": "2019-03-09T17:05:18", "url": "https://files.pythonhosted.org/packages/be/a8/0e97657730dc8dce32f6e4193ed0b463923f8b61780e81005bb1ca07d596/botz.xmpp-2.tar.gz" } ], "3": [ { "comment_text": "", "digests": { "md5": "60950eddcff55392633c768f967606d4", "sha256": "e814cfeb7cdaea6faada962a0ac91a70173759f9b340eee1e410b75ba7d8cf30" }, "downloads": -1, "filename": "botz.xmpp-3.tar.gz", "has_sig": false, "md5_digest": "60950eddcff55392633c768f967606d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5206, "upload_time": "2019-03-15T16:06:27", "url": "https://files.pythonhosted.org/packages/41/c4/8bcc10b5fc85e8fbdd18c8d27983b2b57376880815625a569669722139d3/botz.xmpp-3.tar.gz" } ], "4": [ { "comment_text": "", "digests": { "md5": "dc69880f78089038327d26e146e5d444", "sha256": "69bfff69bd9ab91654115bcea6fb72dd6235fcef24dab4adb6e8c7d025b8d655" }, "downloads": -1, "filename": "botz.xmpp-4.tar.gz", "has_sig": false, "md5_digest": "dc69880f78089038327d26e146e5d444", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5196, "upload_time": "2019-03-15T19:12:07", "url": "https://files.pythonhosted.org/packages/ba/91/0f0ebbd915555382a8fb37866dfab82892fae73b48fa4c0d45b0f79bfcff/botz.xmpp-4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dc69880f78089038327d26e146e5d444", "sha256": "69bfff69bd9ab91654115bcea6fb72dd6235fcef24dab4adb6e8c7d025b8d655" }, "downloads": -1, "filename": "botz.xmpp-4.tar.gz", "has_sig": false, "md5_digest": "dc69880f78089038327d26e146e5d444", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5196, "upload_time": "2019-03-15T19:12:07", "url": "https://files.pythonhosted.org/packages/ba/91/0f0ebbd915555382a8fb37866dfab82892fae73b48fa4c0d45b0f79bfcff/botz.xmpp-4.tar.gz" } ] }