{ "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", "keywords": "", "license": "Public Domain", "maintainer": "", "maintainer_email": "", "name": "botz", "package_url": "https://pypi.org/project/botz/", "platform": "", "project_url": "https://pypi.org/project/botz/", "project_urls": { "Homepage": "https://bitbucket.org/bthate/botz" }, "release_url": "https://pypi.org/project/botz/15/", "requires_dist": null, "requires_python": "", "summary": "Framework to program bots", "version": "15" }, "last_serial": 4967012, "releases": { "1": [ { "comment_text": "", "digests": { "md5": "1eccb85d6ab61e90d70a720484eb4147", "sha256": "5f8d3e372ca40682703aff1b8d6812cedd83efc0085c76a41d53f82702d58691" }, "downloads": -1, "filename": "botz-1.tar.gz", "has_sig": false, "md5_digest": "1eccb85d6ab61e90d70a720484eb4147", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 78466, "upload_time": "2015-06-29T18:00:51", "url": "https://files.pythonhosted.org/packages/c7/77/854f7cc1cc0780d95b5c49e3e1500872c317be48734e9a76b4e0eb7dc27e/botz-1.tar.gz" } ], "10": [ { "comment_text": "", "digests": { "md5": "50f5b8adb9d3ad6248bc43ec24df29a8", "sha256": "608ed3b3756eddc96d6783685b46afabec306b0d761c427c35caf017580b2f54" }, "downloads": -1, "filename": "botz-10.tar.gz", "has_sig": false, "md5_digest": "50f5b8adb9d3ad6248bc43ec24df29a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21792, "upload_time": "2019-03-01T14:19:36", "url": "https://files.pythonhosted.org/packages/2b/10/909a3aff159a1392112155715acc3e8aa38483b380fdbfd26a2ed7f5424a/botz-10.tar.gz" } ], "11": [ { "comment_text": "", "digests": { "md5": "2a82ba50931624ec284e54cf4b283d1d", "sha256": "371dfc4fa5e506144d9a3bef092262cba6404c4598087d03f149b72aa0e7fa3a" }, "downloads": -1, "filename": "botz-11.tar.gz", "has_sig": false, "md5_digest": "2a82ba50931624ec284e54cf4b283d1d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22009, "upload_time": "2019-03-05T13:38:59", "url": "https://files.pythonhosted.org/packages/ad/50/132fd6a1e18db67707db1eb24056c1b0062e849a5b793031b650da5a57ce/botz-11.tar.gz" } ], "12": [ { "comment_text": "", "digests": { "md5": "0d12ceaf14e141d8baa7634791d6f80b", "sha256": "3b2fa8ecb245b63a521b49e5b7e2adba553eef78c3fa142a524aec71b9505588" }, "downloads": -1, "filename": "botz-12.tar.gz", "has_sig": false, "md5_digest": "0d12ceaf14e141d8baa7634791d6f80b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23782, "upload_time": "2019-03-09T17:05:02", "url": "https://files.pythonhosted.org/packages/d1/c2/dfa9f7850dbbf36be2cc7b64a5334570efe0e335eb724a2cb639b81627f6/botz-12.tar.gz" } ], "13": [ { "comment_text": "", "digests": { "md5": "2802328b5faeb57c6fa7ba3ed5b979a8", "sha256": "ac4a66b044059c6200b7769182ab2230a2dfa1581490cfae4d991ae5132cd0c1" }, "downloads": -1, "filename": "botz-13.tar.gz", "has_sig": false, "md5_digest": "2802328b5faeb57c6fa7ba3ed5b979a8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23948, "upload_time": "2019-03-15T16:06:16", "url": "https://files.pythonhosted.org/packages/b6/cf/94a812b9974e040312c08d0ccc3a0f74ede8baa02b861f8aff393441f384/botz-13.tar.gz" } ], "14": [ { "comment_text": "", "digests": { "md5": "67ed5ce610795f7c3d33fdc68bcd6cab", "sha256": "0cfb70e22997f1bb6882d47d7f534f285c314479d90f42e005701d123a70fc9d" }, "downloads": -1, "filename": "botz-14.tar.gz", "has_sig": false, "md5_digest": "67ed5ce610795f7c3d33fdc68bcd6cab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23897, "upload_time": "2019-03-15T19:11:37", "url": "https://files.pythonhosted.org/packages/b4/1c/e27a4ea99e4e862a8d3c69d8c71275d45e828d51b9ce453f5537baa5be29/botz-14.tar.gz" } ], "15": [ { "comment_text": "", "digests": { "md5": "39907406dc067eefe6458a31f381b75d", "sha256": "91580f1639e7eae118be28d45cf5d940d4ca2f4e9659a4fad727c4496252bfdf" }, "downloads": -1, "filename": "botz-15.tar.gz", "has_sig": false, "md5_digest": "39907406dc067eefe6458a31f381b75d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25317, "upload_time": "2019-03-21T08:10:09", "url": "https://files.pythonhosted.org/packages/f0/90/43b7020c4a2907fcdeab3f39fb70d9561495265ce5ced9c563df86e00e7a/botz-15.tar.gz" } ], "2": [ { "comment_text": "", "digests": { "md5": "c76ac6559a083d63652f0cc39549ddd6", "sha256": "6ad300b404e87effc1dd2d179ca56cab784175f4c3ccf0f37d5184d05acd997e" }, "downloads": -1, "filename": "botz-2.tar.gz", "has_sig": false, "md5_digest": "c76ac6559a083d63652f0cc39549ddd6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28915, "upload_time": "2019-01-22T22:05:55", "url": "https://files.pythonhosted.org/packages/8a/01/4b716525108e65aaeeb897fddca5f21c7f5e0cac1ce548fc6613571e57ae/botz-2.tar.gz" } ], "3": [ { "comment_text": "", "digests": { "md5": "b5637c4952cf65709774ddb8c82cb0ba", "sha256": "99e5c155a92b6bdd9a77db3ef15e24719b9ba2ab216199c18007efb03634e32a" }, "downloads": -1, "filename": "botz-3.tar.gz", "has_sig": false, "md5_digest": "b5637c4952cf65709774ddb8c82cb0ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24132, "upload_time": "2019-01-23T23:58:51", "url": "https://files.pythonhosted.org/packages/6c/3b/e2781bffc2928f65c7d4e99adc062957eb97f81bdf9626477aaeea84616d/botz-3.tar.gz" } ], "4": [ { "comment_text": "", "digests": { "md5": "abc1c71653866cb95adda083cc9f7556", "sha256": "4c8ea978a7ba24127630a545c0e4a6dd1b4af418c6bc0a6af1d654668be68ba2" }, "downloads": -1, "filename": "botz-4.tar.gz", "has_sig": false, "md5_digest": "abc1c71653866cb95adda083cc9f7556", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23756, "upload_time": "2019-01-24T17:17:20", "url": "https://files.pythonhosted.org/packages/65/81/f44a95fd89f9e18cabfdab70c83f0e7c0eb8ae1ae5fb990b68dce1cb38ed/botz-4.tar.gz" } ], "5": [ { "comment_text": "", "digests": { "md5": "bc8b5656b185cd2f3ca56b8f819b82ab", "sha256": "23ef6b8afce743d398b30a6a7731d4307499c6353bf103cf5bc9f90968708e65" }, "downloads": -1, "filename": "botz-5.tar.gz", "has_sig": false, "md5_digest": "bc8b5656b185cd2f3ca56b8f819b82ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24582, "upload_time": "2019-01-25T17:26:10", "url": "https://files.pythonhosted.org/packages/0a/5d/21e23fca62f32fcfe7eb3a0ea81509da0f64070b824f3f8bb42fb871b1ef/botz-5.tar.gz" } ], "6": [ { "comment_text": "", "digests": { "md5": "80fdb3dbfb794b638210635a01c63790", "sha256": "e9028eb2f62a6928707425039032dddf5db15880641c93e27d66875789e67b77" }, "downloads": -1, "filename": "botz-6.tar.gz", "has_sig": false, "md5_digest": "80fdb3dbfb794b638210635a01c63790", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24336, "upload_time": "2019-02-01T15:31:17", "url": "https://files.pythonhosted.org/packages/0e/be/bf1b15cb128cd0b177135c0b8dd4f1095b57ab974e78a9f7e9dce7049c19/botz-6.tar.gz" } ], "7": [ { "comment_text": "", "digests": { "md5": "67edc6b30e0e8d192c044d9bccb7a188", "sha256": "2605a125ec6daf7afe3fcfa0c06bde8c3874d645b4e138b3f84fd0cdcf67aa84" }, "downloads": -1, "filename": "botz-7.tar.gz", "has_sig": false, "md5_digest": "67edc6b30e0e8d192c044d9bccb7a188", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24105, "upload_time": "2019-02-07T14:29:10", "url": "https://files.pythonhosted.org/packages/7a/4f/304982f390a4840c7bc066e0413515ef7d123947e68646397914cd2c40b2/botz-7.tar.gz" } ], "8": [ { "comment_text": "", "digests": { "md5": "3b00b017cd2458dcd5581c1c5a31f912", "sha256": "7a026073f43c1c58546dacd16ede1fbafdf1d4de673232d69f14c2f6c40f731f" }, "downloads": -1, "filename": "botz-8.tar.gz", "has_sig": false, "md5_digest": "3b00b017cd2458dcd5581c1c5a31f912", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21805, "upload_time": "2019-02-20T17:21:10", "url": "https://files.pythonhosted.org/packages/2a/00/01dba7fdf16f90968762ab6f686e732508d4fb00ff26b7558dbeb46a7fb1/botz-8.tar.gz" } ], "9": [ { "comment_text": "", "digests": { "md5": "094c4dfa21e8121a3932797fdb4f5e7c", "sha256": "695a1959c51d5bbdc2b76a9891970a3393b87c582fab52657b69d0f8773cacca" }, "downloads": -1, "filename": "botz-9.tar.gz", "has_sig": false, "md5_digest": "094c4dfa21e8121a3932797fdb4f5e7c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21875, "upload_time": "2019-02-23T13:29:03", "url": "https://files.pythonhosted.org/packages/c1/59/99cbeb376df385d746eaf3906e343ad74155d79b1a343bf2b75dbc730542/botz-9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "39907406dc067eefe6458a31f381b75d", "sha256": "91580f1639e7eae118be28d45cf5d940d4ca2f4e9659a4fad727c4496252bfdf" }, "downloads": -1, "filename": "botz-15.tar.gz", "has_sig": false, "md5_digest": "39907406dc067eefe6458a31f381b75d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25317, "upload_time": "2019-03-21T08:10:09", "url": "https://files.pythonhosted.org/packages/f0/90/43b7020c4a2907fcdeab3f39fb70d9561495265ce5ced9c563df86e00e7a/botz-15.tar.gz" } ] }