{ "info": { "author": "Bart Thate", "author_email": "bthate@dds.nl", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: Public Domain", "Operating System :: Unix", "Programming Language :: Python", "Topic :: Utilities" ], "description": "R E A D M E\n###########\n\n| OB is a pure python3 framework to program bots, provides an IRC bot to use and is extendible by programming your own commands.\n| OB uses a timestamped, type in filename, JSON stringified, files on filesystem backend and has timed based logging capabilities.\n| OB has been placed in the Public Domain and contains no copyright or LICENSE.\n\n\nC O D E\n=======\n\n.. autosummary::\n :toctree: code\n :template: module.rst\n\n ob\t\t\t\t- OB base package.\n ob.clock - timers\n ob.cmds\t\t\t- commands\n ob.command - command parsing\n ob.db\t\t\t- db backend\n ob.entry\t\t\t- simple log/todo entry.\n ob.errors\t \t\t- exceptions\n ob.event\t\t\t- event class\n ob.file\t\t\t- file related functions.\n ob.fleet - list of bots\n ob.handler - event handler\n ob.irc - irc bot\n ob.loader - module loader\n ob.log\t\t\t- logging module\n ob.shell\t\t\t- shell related functions.\n ob.tables\t\t\t- use bin/tables to generate.\n ob.tasks - threads\n ob.term \t\t\t- terminal handling\n ob.time\t\t\t- time related functions.\n ob.trace\t\t\t- traceback related functions.\n ob.types\t\t\t- OB typing.\n ob.url\t\t\t- http related functions.\n ob.user - manage users\n ob.utils - utilities\n\nI N S T A L L\n=============\n\n\nif you need ZELF 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 ZELF.\n\ninstallation is through pypi:\n\n> sudo pip3 install ob\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\nrunning from the mercurial repository is also possible:\n\n> hg clone http://bitbucket.org/bthate/ob\n\nlastely, you can also run directly from the tarball.\n\n\nU S A G E\n=========\n\n\nOB includes one program, the ob shell:\n\n> ob [-m mod1,mod2] command\n \nto connect to irc use the -m irc option.\n\n> ob -m irc irc.freenode.net \\#dunkbots obbot \n\n\nuse the ed command to edit the last object with a certain type of OB objects:\n\n> ob ed cfg server==localhost server=irc.freenode.net\n\n\nP R O G R A M M I N G\n=====================\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> ob -m mods\n\nany command you have coded in hello.py would be available, see the `show cmds` command.\n\n> ob show cmds\n\na command is a function with one argument, the event that was generated on the bot.\n\nexample:\n\n::\n\n def mycmd(event): \n \n\nyou can use event.reply() to send response back to the user:\n\n::\n\n def hello(event): \n event.reply(\"hello %s\" % event.nick)\n\nafter starting ob with -m mods, you see the hello command added to the bot:\n\n> ob s cmds\n\ned,find,hello,ps,rm,show,stop,undel\n\n\nH A V E F U N\n===============\n\nenjoy the coding ! ;]\n\n\nBart\n\nbthate@dds.nl | botfather #dunkbots irc.freenode.net | https://pypi.org/project/ob | http://bitbucket.org/bthate/ob", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/bthate/ob", "keywords": "", "license": "Public Domain", "maintainer": "", "maintainer_email": "", "name": "ob", "package_url": "https://pypi.org/project/ob/", "platform": "", "project_url": "https://pypi.org/project/ob/", "project_urls": { "Homepage": "https://bitbucket.org/bthate/ob" }, "release_url": "https://pypi.org/project/ob/26/", "requires_dist": null, "requires_python": "", "summary": "library to program bots.", "version": "26" }, "last_serial": 5703036, "releases": { "1": [ { "comment_text": "", "digests": { "md5": "9143f7aae0be6545bec7cc40e36bbf1a", "sha256": "0fb1015e8091339375735141b124d03f8642fc91c9e144eeeacd0202670193a3" }, "downloads": -1, "filename": "ob-1.tar.gz", "has_sig": false, "md5_digest": "9143f7aae0be6545bec7cc40e36bbf1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39506, "upload_time": "2018-06-16T21:05:57", "url": "https://files.pythonhosted.org/packages/aa/0b/fc49f1e36afc67377d67806922aa0f96698c11db55204eff73281e88a03e/ob-1.tar.gz" } ], "10": [ { "comment_text": "", "digests": { "md5": "097d236ff7a3a65b336233d054fdb9a9", "sha256": "d44ec6b52ed020f1fdb3c78504ac6394b063eb558ebe5f2a75d40278a3b273af" }, "downloads": -1, "filename": "ob-10.tar.gz", "has_sig": false, "md5_digest": "097d236ff7a3a65b336233d054fdb9a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29893, "upload_time": "2018-07-23T19:02:10", "url": "https://files.pythonhosted.org/packages/5f/b3/3be5a40ccf94d58b3bcfa38ab57ccc334f15aa5d8528f04ab7606f60be58/ob-10.tar.gz" } ], "11": [ { "comment_text": "", "digests": { "md5": "2c163bbbabe523c6fb53b44b96f74f55", "sha256": "fd45af92288674fd44fe4bdad4e343a5e927605957f245294b2c83d3bede3c8e" }, "downloads": -1, "filename": "ob-11.tar.gz", "has_sig": false, "md5_digest": "2c163bbbabe523c6fb53b44b96f74f55", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 46363, "upload_time": "2018-07-30T04:43:46", "url": "https://files.pythonhosted.org/packages/a0/9b/fd31354357bda95cbe794d8233ebce7d3f5d8f998b91104d51f231e5cb67/ob-11.tar.gz" } ], "12": [ { "comment_text": "", "digests": { "md5": "6787a848c203dfe2273a39693a054737", "sha256": "9beff289b057c73b10b6a235a27f728a0761d7f6b5466241a6580cf3a0f132f9" }, "downloads": -1, "filename": "ob-12.tar.gz", "has_sig": false, "md5_digest": "6787a848c203dfe2273a39693a054737", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 46649, "upload_time": "2018-08-06T12:38:27", "url": "https://files.pythonhosted.org/packages/f9/50/bc0d986f778e3288709d6c276ee22397ca39755348c58020def8e353aa54/ob-12.tar.gz" } ], "13": [ { "comment_text": "", "digests": { "md5": "c6073086b99ffd48e18c0d2a43776557", "sha256": "3d67cef090ee94307f39c7cc574b676df1ce873aa18cc50b60511eb33a4d57ab" }, "downloads": -1, "filename": "ob-13.tar.gz", "has_sig": false, "md5_digest": "c6073086b99ffd48e18c0d2a43776557", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37209, "upload_time": "2018-08-15T19:11:23", "url": "https://files.pythonhosted.org/packages/cf/5c/f0ddc82d8200b638e711b1334e9571dc022bef029272b98977dc5ab66873/ob-13.tar.gz" } ], "14": [ { "comment_text": "", "digests": { "md5": "fd974c43161bf1ab1d01b265c1f97821", "sha256": "88368b8fc86858caf67d03663213ba4d1316791a068727fbd3dd57b4dc22e447" }, "downloads": -1, "filename": "ob-14.tar.gz", "has_sig": false, "md5_digest": "fd974c43161bf1ab1d01b265c1f97821", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32323, "upload_time": "2018-08-29T12:46:20", "url": "https://files.pythonhosted.org/packages/84/e4/3b7a9324ffc77926d6e092e12b6914b43e6a0044f5f04198d89b55eda237/ob-14.tar.gz" } ], "15": [ { "comment_text": "", "digests": { "md5": "cc1f60755ee119e79231cffb73519ad5", "sha256": "473bb85fb988e0c039933cee49e315156fe370fcccab28598b6f118848485669" }, "downloads": -1, "filename": "ob-15.tar.gz", "has_sig": false, "md5_digest": "cc1f60755ee119e79231cffb73519ad5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31324, "upload_time": "2018-08-29T13:27:14", "url": "https://files.pythonhosted.org/packages/72/31/c84b3f181a22aadbe06a604f82f2b2d4ed0348655ce835956bb7ccdb8809/ob-15.tar.gz" } ], "16": [ { "comment_text": "", "digests": { "md5": "3419495dab8102b7fb2aa88318659fa5", "sha256": "6bcd9d1606a7ef1bec5e3d282c7755de634416648504c5e7bba0d803a55470ac" }, "downloads": -1, "filename": "ob-16.tar.gz", "has_sig": false, "md5_digest": "3419495dab8102b7fb2aa88318659fa5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31058, "upload_time": "2018-09-08T01:31:49", "url": "https://files.pythonhosted.org/packages/31/97/b9ed14a259f9f5dfdfa5ce2f446ba50d00b1dc7ef1e42bde2f8ca8cc83e4/ob-16.tar.gz" } ], "17": [ { "comment_text": "", "digests": { "md5": "6f449320cb4883b9ccfde853ff2e3e89", "sha256": "ec922af22f91ee45f384f6b371043ea1953c850412d044e24d1d91ffe78b18db" }, "downloads": -1, "filename": "ob-17.tar.gz", "has_sig": false, "md5_digest": "6f449320cb4883b9ccfde853ff2e3e89", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31018, "upload_time": "2018-09-10T04:58:54", "url": "https://files.pythonhosted.org/packages/0d/1c/5584d76a8590c75f26642a725fbf44afd3a03e26a3ac9e6a0ccdd80cece4/ob-17.tar.gz" } ], "18": [ { "comment_text": "", "digests": { "md5": "299582140b4f23bcaa291edef766f5da", "sha256": "63e1d41b7b55f2eff45871ca7c0a69e7cc886b3ebe8de26363bac9b9ba11f4cc" }, "downloads": -1, "filename": "ob-18.tar.gz", "has_sig": false, "md5_digest": "299582140b4f23bcaa291edef766f5da", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31271, "upload_time": "2018-09-18T14:10:33", "url": "https://files.pythonhosted.org/packages/51/4e/925f3685dc4c2c890dbd7c523398e299079161ec835e3187a1f3325782d2/ob-18.tar.gz" } ], "19": [ { "comment_text": "", "digests": { "md5": "5bf199e9bb64d9a2b33483e1f0c30553", "sha256": "4089353521314f44327068c97629555fe942ec40b32773109a3cfb086d9c06a1" }, "downloads": -1, "filename": "ob-19.tar.gz", "has_sig": false, "md5_digest": "5bf199e9bb64d9a2b33483e1f0c30553", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22727, "upload_time": "2019-08-10T13:40:45", "url": "https://files.pythonhosted.org/packages/5c/21/5733becf81620755d3eb60cb437af02b4cc4796a0918434963f57fa7f6b2/ob-19.tar.gz" } ], "2": [ { "comment_text": "", "digests": { "md5": "10ddc41feefa62c40ca0dc74cacd910a", "sha256": "db44a6910149815a05f493a37e283f7e6543b40a7b2e45a5dce3d86e042a66ba" }, "downloads": -1, "filename": "ob-2.tar.gz", "has_sig": false, "md5_digest": "10ddc41feefa62c40ca0dc74cacd910a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39363, "upload_time": "2018-06-17T18:44:03", "url": "https://files.pythonhosted.org/packages/59/68/7f30717d5bae91ca0351fbfeb8287f8cc1da6f47b3c735f52fe1a9cb2c0b/ob-2.tar.gz" } ], "20": [ { "comment_text": "", "digests": { "md5": "ecddc237b17be461e32241475ae33b8f", "sha256": "efe69b63a3b18616c7f206c0a8ed04bf2f0b0e9c7e72b54e8c4f83d8d444227c" }, "downloads": -1, "filename": "ob-20.tar.gz", "has_sig": false, "md5_digest": "ecddc237b17be461e32241475ae33b8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22730, "upload_time": "2019-08-10T14:11:52", "url": "https://files.pythonhosted.org/packages/5b/69/e543048a6ea86a51426236052066f96cffc3d3c181dd05bedb602f73a1b2/ob-20.tar.gz" } ], "21": [ { "comment_text": "", "digests": { "md5": "242d811aec794048182fe6488c607c2c", "sha256": "236d3b91c34f8017d1c28d09898e473a00fd7d6a72e8f207c4b985742d1c7f32" }, "downloads": -1, "filename": "ob-21.tar.gz", "has_sig": false, "md5_digest": "242d811aec794048182fe6488c607c2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20389, "upload_time": "2019-08-12T14:38:55", "url": "https://files.pythonhosted.org/packages/b8/fd/5a16e78d74cfd104ea8e30971233613192eaf759261b7b6a690a250c1d87/ob-21.tar.gz" } ], "22": [ { "comment_text": "", "digests": { "md5": "d75a70571fc2a37c9187d9de993412d4", "sha256": "4fb3f6853ba594f9b60fb95daa68d7a1ef4fecc60dbc0fbc07347b1b50bc039c" }, "downloads": -1, "filename": "ob-22.tar.gz", "has_sig": false, "md5_digest": "d75a70571fc2a37c9187d9de993412d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20961, "upload_time": "2019-08-15T11:54:32", "url": "https://files.pythonhosted.org/packages/1e/a6/a9c985fa7220148cedb0dc25a3fc901ef8fdecbc5d5f2cc30948154c9400/ob-22.tar.gz" } ], "23": [ { "comment_text": "", "digests": { "md5": "418a07bdae21ea3b764eb1fbc4240a14", "sha256": "d7a3a07e63a651316357b01466be6460489245c94bf0bb02aefd419ef4576814" }, "downloads": -1, "filename": "ob-23.tar.gz", "has_sig": false, "md5_digest": "418a07bdae21ea3b764eb1fbc4240a14", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18607, "upload_time": "2019-08-16T12:45:57", "url": "https://files.pythonhosted.org/packages/9a/01/30cdcbd8fb2a23d601d108a9f8e92047b638231ef557cd271aae1756096c/ob-23.tar.gz" } ], "24": [ { "comment_text": "", "digests": { "md5": "6909fcbffc6e733f707dad05b8c8e5ba", "sha256": "c2b249fab1dd0fea3dba8cd6d1096ae2166777037baf892e0999ac8f53f169fe" }, "downloads": -1, "filename": "ob-24.tar.gz", "has_sig": false, "md5_digest": "6909fcbffc6e733f707dad05b8c8e5ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18712, "upload_time": "2019-08-17T07:57:09", "url": "https://files.pythonhosted.org/packages/87/41/65dfa5ee826b258973ff32e9184b4c6c9e49ca26be607366b6ed2289f23f/ob-24.tar.gz" } ], "25": [ { "comment_text": "", "digests": { "md5": "83436f0b41233de96d988441fda7e3ff", "sha256": "5da5fb5a413843fab2a175c71d950eb65d7ada1f59653b53b2d72f71167c16b7" }, "downloads": -1, "filename": "ob-25.tar.gz", "has_sig": false, "md5_digest": "83436f0b41233de96d988441fda7e3ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19682, "upload_time": "2019-08-20T02:01:58", "url": "https://files.pythonhosted.org/packages/0e/cc/3b22484d05dee671f6c14504682f9e111df6e6705b641df578beb7bf5532/ob-25.tar.gz" } ], "26": [ { "comment_text": "", "digests": { "md5": "3abd45b5d2418d515ab407ac625f9385", "sha256": "9ea3f583fc86092624d8cd807eca4c83f37486f31cde812e073911d03ef7753e" }, "downloads": -1, "filename": "ob-26.tar.gz", "has_sig": false, "md5_digest": "3abd45b5d2418d515ab407ac625f9385", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20260, "upload_time": "2019-08-20T12:23:56", "url": "https://files.pythonhosted.org/packages/ac/1a/46ffe1933bdab5bca84bd9929d158fd668d73c3eaa2a5d12d693bf44785a/ob-26.tar.gz" } ], "3": [ { "comment_text": "", "digests": { "md5": "b4685cab50013cf2c363ae4968673928", "sha256": "fdfe0196730c771abbc4a966215d05fcad246f0ff6fb12c0c128e15c0c125a73" }, "downloads": -1, "filename": "ob-3.tar.gz", "has_sig": false, "md5_digest": "b4685cab50013cf2c363ae4968673928", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36783, "upload_time": "2018-06-26T22:25:18", "url": "https://files.pythonhosted.org/packages/42/59/fe0e15205874c81f776f4ddef20a08346d1d4b53f8c4549f996ee44db24c/ob-3.tar.gz" } ], "4": [ { "comment_text": "", "digests": { "md5": "8c7ef2d1d8a841af9b11ddfeff21e6d4", "sha256": "a177b9d45db174a652275ae0c6e97269dfc3a82f871a947b75db69eca054dcf8" }, "downloads": -1, "filename": "ob-4.tar.gz", "has_sig": false, "md5_digest": "8c7ef2d1d8a841af9b11ddfeff21e6d4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36602, "upload_time": "2018-06-27T12:01:32", "url": "https://files.pythonhosted.org/packages/33/fc/b9acc33f0e2dda9ca2f75b6fcc6ad825fd8b2861b8294916fd6b9fda4dba/ob-4.tar.gz" } ], "5": [ { "comment_text": "", "digests": { "md5": "a850c405f0ac3d9e731a83e77589f1cc", "sha256": "b691649975a43309a86467ba7617b37d7e11a87504c711089e237ba1e4aaa87b" }, "downloads": -1, "filename": "ob-5.tar.gz", "has_sig": false, "md5_digest": "a850c405f0ac3d9e731a83e77589f1cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27988, "upload_time": "2018-06-30T12:59:57", "url": "https://files.pythonhosted.org/packages/42/aa/32d990bb7cdf1ff08e365f0707fc6721a284e690cc4ccaccd8c7e4c7a49c/ob-5.tar.gz" } ], "6": [ { "comment_text": "", "digests": { "md5": "4fddc46b09a3ca5da9670ac67cc91152", "sha256": "b99969f7d96ac8d3dad3dfa2185c40d412148d1a94c5e235e2a5b35496ed819c" }, "downloads": -1, "filename": "ob-6.tar.gz", "has_sig": false, "md5_digest": "4fddc46b09a3ca5da9670ac67cc91152", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 29488, "upload_time": "2018-07-01T21:23:55", "url": "https://files.pythonhosted.org/packages/69/21/ac390c2df2c28c6f006c5f6fb76470c08aeeb41a8a75c6f356c391acbec8/ob-6.tar.gz" } ], "7": [ { "comment_text": "", "digests": { "md5": "aca7863088d72809696a741349d4a1bc", "sha256": "642ea1f29484afc3d07fc51666f40b838c42082c6a2c0957684bacc3c5ba4d31" }, "downloads": -1, "filename": "ob-7.tar.gz", "has_sig": false, "md5_digest": "aca7863088d72809696a741349d4a1bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 42581, "upload_time": "2018-07-03T11:14:08", "url": "https://files.pythonhosted.org/packages/2a/a4/be77289485f89fb206e7fbdd449511a1908de730f3f88e1cfb8391e3651d/ob-7.tar.gz" } ], "8": [ { "comment_text": "", "digests": { "md5": "4e4d851b3e924a4a250b951066b15865", "sha256": "ef1d897853a119dcf0004135c69fbd0096f360d89d0258d0616d52d24db369f0" }, "downloads": -1, "filename": "ob-8.tar.gz", "has_sig": false, "md5_digest": "4e4d851b3e924a4a250b951066b15865", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31205, "upload_time": "2018-07-18T14:02:58", "url": "https://files.pythonhosted.org/packages/ed/27/5fead88f9476d5f0f1be7226448f0952b692116b12dadd6b688cb996b070/ob-8.tar.gz" } ], "9": [ { "comment_text": "", "digests": { "md5": "175f3ea8e459dc614014b5fcc50c6528", "sha256": "0a76e055351cd090ccf6263bd533c762bfa9597f4a5ebd17baf189c6a198bb13" }, "downloads": -1, "filename": "ob-9.tar.gz", "has_sig": false, "md5_digest": "175f3ea8e459dc614014b5fcc50c6528", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30138, "upload_time": "2018-07-23T11:34:16", "url": "https://files.pythonhosted.org/packages/56/84/d9aafc54bc260540e386675ac5d4ca6be40e54a0959422e3e6d765e6163d/ob-9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3abd45b5d2418d515ab407ac625f9385", "sha256": "9ea3f583fc86092624d8cd807eca4c83f37486f31cde812e073911d03ef7753e" }, "downloads": -1, "filename": "ob-26.tar.gz", "has_sig": false, "md5_digest": "3abd45b5d2418d515ab407ac625f9385", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20260, "upload_time": "2019-08-20T12:23:56", "url": "https://files.pythonhosted.org/packages/ac/1a/46ffe1933bdab5bca84bd9929d158fd668d73c3eaa2a5d12d693bf44785a/ob-26.tar.gz" } ] }