{ "info": { "author": "J Patrick Dill", "author_email": "jamespatrickdill@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "D\u00c3\u00a9tach\u00c3\u00a9\n=======\n\n\nD\u00c3\u00a9tach\u00c3\u00a9 is a framework for creating productive and efficient Discord bots, built off of\n`discord.py `_.\n\nWith D\u00c3\u00a9tach\u00c3\u00a9, you can easily create bots without sacrificing direct access to the API. Commands and similar features\nare split into groups called Plugins, allowing for better organization. It's inspired by the simplicity of Click\nand Flask.\n\nD\u00c3\u00a9tach\u00c3\u00a9's features include:\n\n- intuitive argument parsing with support for custom types\n- automatic documentation and help messages\n- support for per-guild bot prefix via a callback\n- support for sharding\n\nHere's a simple bot that does math:\n\n.. code-block:: python\n\n import detache\n\n bot = detache.Bot(default_prefix=\"!\")\n\n @bot.plugin(\"Math\")\n class MathPlugin(detache.Plugin):\n \"\"\"\n Basic math commands.\n \"\"\"\n\n @detache.command(\"add\", \"Adds two numbers.\")\n @detache.argument(\"a\", detache.Number, help=\"First addend\")\n @detache.argument(\"b\", detache.Number, help=\"Second addend\")\n async def add(self, ctx, a, b):\n return a + b\n\n @detache.command(\"subtract\")\n @detache.argument(\"a\", detache.Number, help=\"Minuend\")\n @detache.argument(\"b\", detache.Number, help=\"Subtrahend\")\n async def subtract(self, ctx, a, b):\n \"\"\"Subtracts two numbers.\"\"\"\n\n return a - b\n\nBoth commands take two arguments, \"a\" and \"b\", which are specified as numbers. The commands return the sum or\ndifference, which D\u00c3\u00a9tach\u00c3\u00a9 automatically replies with. If argument parsing fails, the generated documentation will be\nshown.\n\nCommands can be documented with the command decorator, or by using docstrings.\n\n\nTODO: Plugin, command, and argument descriptions are shown in the automatically generated help message.\n\nYou can install the library from PyPI: ::\n\n $ pip install detache", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/reshanie/detache", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "detache", "package_url": "https://pypi.org/project/detache/", "platform": "", "project_url": "https://pypi.org/project/detache/", "project_urls": { "Homepage": "http://github.com/reshanie/detache" }, "release_url": "https://pypi.org/project/detache/0.2.3/", "requires_dist": null, "requires_python": "", "summary": "A simple, intuitive Discord bot framework for Python", "version": "0.2.3" }, "last_serial": 4889997, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "41d0252087a6fb7914e11e369047c765", "sha256": "128c7bcb46948b3515fdb18ab3fc806cefd0b049c99f0641770def66a615212d" }, "downloads": -1, "filename": "detache-0.1.0.tar.gz", "has_sig": false, "md5_digest": "41d0252087a6fb7914e11e369047c765", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8831, "upload_time": "2018-06-11T05:59:36", "url": "https://files.pythonhosted.org/packages/f7/3f/b167833d87c2678419762160e04cbbb09cbe84a0452687209b5b67df72dc/detache-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "c877175bd678529c114b8df242efa6c4", "sha256": "f83f4006d781b925701f2e6066292a3e8eb86dce819fad190701a06f01a2fd9b" }, "downloads": -1, "filename": "detache-0.1.1.tar.gz", "has_sig": false, "md5_digest": "c877175bd678529c114b8df242efa6c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9517, "upload_time": "2018-06-12T03:51:17", "url": "https://files.pythonhosted.org/packages/3f/02/c3064e52705ca9c469769eeeb0d3fe3f825f210fe7a27d9d8e2281fa6a12/detache-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "e620b5ef50232db6f2a3d2db25a75c7c", "sha256": "1910c025ba121d6c974db1b9f2917a9236908b7bc8bcbce11242490bc15d3fa4" }, "downloads": -1, "filename": "detache-0.2.0.tar.gz", "has_sig": false, "md5_digest": "e620b5ef50232db6f2a3d2db25a75c7c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10307, "upload_time": "2018-06-13T01:52:43", "url": "https://files.pythonhosted.org/packages/e4/a9/a25e7adddd012e072ea59e8bf367ad4d46e27a5bf30eaf5dabda545d6725/detache-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "dc362dc24efcdf4b5f2ed1946a26955f", "sha256": "4519f7c4cda6d5f841adf647a6fe6033f12293b995d31dbf68cfb05e0de97bc5" }, "downloads": -1, "filename": "detache-0.2.1.tar.gz", "has_sig": false, "md5_digest": "dc362dc24efcdf4b5f2ed1946a26955f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10049, "upload_time": "2019-03-03T00:14:06", "url": "https://files.pythonhosted.org/packages/e0/9a/ef0191d15ceaaef1b255fc0d96f8540d7aaa13a0b4276397a62a6a03a50d/detache-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "b7bcb1949428374219195b769233b1bc", "sha256": "722ecf2f6997a71653dfb7ad83a12147daacb5841297d28ecbe3d3556ddc124b" }, "downloads": -1, "filename": "detache-0.2.2.tar.gz", "has_sig": false, "md5_digest": "b7bcb1949428374219195b769233b1bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10048, "upload_time": "2019-03-03T05:15:03", "url": "https://files.pythonhosted.org/packages/02/ac/03c13538def66a5e6a3adbd324c8b9a7dfcf8f79dd5037de8409ef40f24e/detache-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "13dc547391630d7dcf7006c590845ff0", "sha256": "2b7905413be8975c90434df07230069c6c0fe1340043c4d8ab873b4d8fbb909d" }, "downloads": -1, "filename": "detache-0.2.3.tar.gz", "has_sig": false, "md5_digest": "13dc547391630d7dcf7006c590845ff0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10088, "upload_time": "2019-03-03T05:20:35", "url": "https://files.pythonhosted.org/packages/85/4a/0a25d369276c751371d4d7a06b8de4a08b830f74e6b4691a870a7ac3d26a/detache-0.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "13dc547391630d7dcf7006c590845ff0", "sha256": "2b7905413be8975c90434df07230069c6c0fe1340043c4d8ab873b4d8fbb909d" }, "downloads": -1, "filename": "detache-0.2.3.tar.gz", "has_sig": false, "md5_digest": "13dc547391630d7dcf7006c590845ff0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10088, "upload_time": "2019-03-03T05:20:35", "url": "https://files.pythonhosted.org/packages/85/4a/0a25d369276c751371d4d7a06b8de4a08b830f74e6b4691a870a7ac3d26a/detache-0.2.3.tar.gz" } ] }