{ "info": { "author": "Bart Thate", "author_email": "bthate@dds.nl", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: Unix", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Application Frameworks" ], "description": "\n\nOBJ is a pure python package that provides an object class that can save/load objects in JSON format to disk, thus providing persistence to objects.\nFiles are saved with a timestamp in their filename, so that searching in a time related manner becomes possible.\n\nOBJ has a \"no-clause MIT license\" that should be the most liberal license you can get at the year 2018.\n\nsource code is available with:\n\n::\n\n hg clone http://bitbucket.org/bthate/obj\n\nOBJ is on pypi, see https://pypi.org/project/obj\n\nyou can install it with:\n\n::\n\n pip3 install obj\n\nconfiguration\n=============\n\nto edit config options use the ed command:\n\n::\n\n obj ed obj.shell.Cfg channel \\#obbot\n ok channel=\"#obbot\"\n\ncommands\n========\n\nOB shell has the following commands:\n\n::\n\n cfg\t\t- show config files.\n cmds\t\t- show list of commands.\n deleted\t- show deleted records.\n ed\t\t- edit saved json objects.\n exit\t\t- stop the program.\n find\t\t- find objects in the datastore.\n fleet\t\t- show list of registered bots.\n kill\t\t- stop a thread.\n last\t\t- show last record of a object type.\n load\t\t- load a module.\n log\t\t- log some text.\n ls\t\t- list subdirectories in the workdir.\n ps\t\t- show running threads.\n reboot\t\t- reboot the bot.\n rm\t\t- set the deleted flag on an object.\n test\t\t- echo test response.\n todo\t\t- store a todo item.\n unload\t\t- unload a module.\n uptime \t- show uptime.\n version\t- show OB version.\n\nprogramming\n===========\n\nProgramming your own commands is easy, your can load your own module with the -m option.\nA command is a function with one argument, the event that was generated on the bot.\n\n::\n\n def mycommand(event):\n\n <<< your code here >>>\n\nYou can use event.reply() to send response back to the user.\n\nmodules\n=======\n\nThe following modules can be loaded from the ob package space:\n\n::\n\n base\t\t- the base module containing the Object class providing load/save to JSON functionality.\n cli\t\t- the command line interface bot giving access to the bot from the shell.\n cmds\t\t- commands subpackage containing the above listed commands.\n db\t\t- database functionality that can search through objects stored on disk.\n event\t\t- the Event class generated on bots when data is read from the socket.\n fleet\t\t- list of registered bots managed in the Fleet class.\n handler\t- the event handler of the bot.\n loader\t\t- Loader class to load modules from ob space into the program.\n shell\t\t- shell related startup, cli arguments parsing and logging.\n thr\t\t- thread module to launch, kill threads.\n \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/obj.console", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "obj.console", "package_url": "https://pypi.org/project/obj.console/", "platform": "", "project_url": "https://pypi.org/project/obj.console/", "project_urls": { "Homepage": "https://bitbucket.org/bthate/obj.console" }, "release_url": "https://pypi.org/project/obj.console/6/", "requires_dist": null, "requires_python": "", "summary": "OBJ is a package that provides an object class that can save/load objects in JSON format.", "version": "6" }, "last_serial": 4368314, "releases": { "1": [ { "comment_text": "", "digests": { "md5": "a58497c6e5cf4a765f42741d568291a2", "sha256": "b2889ca36c173f1f8d56681c0ea525e89236d93712b0a98f90c105979fdad8ae" }, "downloads": -1, "filename": "obj.console-1.tar.gz", "has_sig": false, "md5_digest": "a58497c6e5cf4a765f42741d568291a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10450, "upload_time": "2018-09-22T14:27:22", "url": "https://files.pythonhosted.org/packages/70/ab/a59abd38fd7d78fea73e2801481fd2a4799619858b4f5a01f308468ca204/obj.console-1.tar.gz" } ], "2": [ { "comment_text": "", "digests": { "md5": "19afd9fb2ff1981edbaf8701bebf8b04", "sha256": "f87f341c13a5761a37b2d3c8ad87967bc152e39a8cc3a41a80fce36abaecc4b8" }, "downloads": -1, "filename": "obj.console-2.tar.gz", "has_sig": false, "md5_digest": "19afd9fb2ff1981edbaf8701bebf8b04", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10476, "upload_time": "2018-09-22T14:49:01", "url": "https://files.pythonhosted.org/packages/f0/e4/3182763cddb5dd6a5796d9a423d9b7d1e4b8a4057ace7eeb43de02899d5d/obj.console-2.tar.gz" } ], "3": [ { "comment_text": "", "digests": { "md5": "94d1287fbc2299f2575e014e1a09ccfd", "sha256": "5d5a5b9a44d08f1cf5992f69cb3fe072bacb7e49c921e8ee1cbf25664c7ec227" }, "downloads": -1, "filename": "obj.console-3.tar.gz", "has_sig": false, "md5_digest": "94d1287fbc2299f2575e014e1a09ccfd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6785, "upload_time": "2018-09-26T14:46:08", "url": "https://files.pythonhosted.org/packages/35/78/1efc4981918a61bceca8f12cf0dbbf6530341bcad676e27ff61f86f01b5e/obj.console-3.tar.gz" } ], "4": [ { "comment_text": "", "digests": { "md5": "a377b305b494268eb0bbe8b63f0a64e8", "sha256": "9d224f2a64a73e4757cada6c5f7c12a5a7e30ca9023dd40788e8e9cceca938a6" }, "downloads": -1, "filename": "obj.console-4.tar.gz", "has_sig": false, "md5_digest": "a377b305b494268eb0bbe8b63f0a64e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3876, "upload_time": "2018-09-29T06:07:26", "url": "https://files.pythonhosted.org/packages/b6/22/419a6b0c5773dbcbd552e2a7da30904b612e4e19c13ddffb210e075663b2/obj.console-4.tar.gz" } ], "5": [ { "comment_text": "", "digests": { "md5": "1c186024b89b8200d45f99b6ec59be95", "sha256": "c4522dd3b6d777efcc8947e7503edcc5d3c969e72a1faa3860c08adcb1a4efe2" }, "downloads": -1, "filename": "obj.console-5.tar.gz", "has_sig": false, "md5_digest": "1c186024b89b8200d45f99b6ec59be95", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4528, "upload_time": "2018-10-08T12:20:17", "url": "https://files.pythonhosted.org/packages/3e/d9/ec1cfb2ee6552216a7ce1a7d7a47aafab8d1e42a8d9b217e7c1b9b52249e/obj.console-5.tar.gz" } ], "6": [ { "comment_text": "", "digests": { "md5": "bf79d097cba3f980d32728117f11f0ae", "sha256": "4aa6dd4fb949e7e798e6c54cd018356eccbdc309f82350a59744d64dca820a46" }, "downloads": -1, "filename": "obj.console-6.tar.gz", "has_sig": false, "md5_digest": "bf79d097cba3f980d32728117f11f0ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4693, "upload_time": "2018-10-12T11:44:42", "url": "https://files.pythonhosted.org/packages/ab/50/437c11a11fa230b6802de65135aec4a12fcbe3d8b17283d4d1e6ae0e0e82/obj.console-6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bf79d097cba3f980d32728117f11f0ae", "sha256": "4aa6dd4fb949e7e798e6c54cd018356eccbdc309f82350a59744d64dca820a46" }, "downloads": -1, "filename": "obj.console-6.tar.gz", "has_sig": false, "md5_digest": "bf79d097cba3f980d32728117f11f0ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4693, "upload_time": "2018-10-12T11:44:42", "url": "https://files.pythonhosted.org/packages/ab/50/437c11a11fa230b6802de65135aec4a12fcbe3d8b17283d4d1e6ae0e0e82/obj.console-6.tar.gz" } ] }