{ "info": { "author": "jesse maitland", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "# Rambo\n#### A few helpful tools for creating terminal applications\n\nRambo is a collection of methods to help with mapping terminal program arguments to python actions / functions\n\nGetting started\n`pip install rambo-py`\n\ncreating a project\n`rambo init project`\n\nThis will create a directory called `actions` as well as a file called `rambo.yml` which functions both at the terminal\nconfig file, and mapper configuration\n\nExample `rambo.yml`\n\n```\ncommands:\n action:\n help: \"available options for the rambo action argument\"\n choices:\n - init\n - delete\n object:\n help: \"available options for the rambo object argument\"\n choices:\n - project\n - file\n```\n\nRambo commands follow the pattern of `action -> object` where the action argument will be performed on the \nprovided object. in the above example the following combinations are valid\n```\ninit project\ninit file\ndelete project\ndelete file\n```\n\nthese argument combinations can be mapped to `actions` which are python functions. Rambo will map these valid combinations\nto functions of the same name.\n\n\n## Rambo Decorators\n\nRambo provides handy decorator methods to access the passed in cmd arguments, rambo.yml config file\nand function key value\n\n\nProvides the ```rambo.yml``` config file as a dictionary to the decorated function.\n```\n@provide_config(path = this is optional)\ndef my_cool_func(confg):\n\t# do things with config here\n```\n\nProvides the namespace object to the decorated function with the commands available in ````rambo.yml````\n```\n@provide_cmd_args\ndef another_cool_func(cmd_args):\n\t# do some things with the arguments in the argparser\n```\n\n\n\n\n\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/JesseMaitland/rambo/releases/tag/1.0.5", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/JesseMaitland/rambo", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "rambo-py", "package_url": "https://pypi.org/project/rambo-py/", "platform": "", "project_url": "https://pypi.org/project/rambo-py/", "project_urls": { "Download": "https://github.com/JesseMaitland/rambo/releases/tag/1.0.5", "Homepage": "https://github.com/JesseMaitland/rambo" }, "release_url": "https://pypi.org/project/rambo-py/1.0.5/", "requires_dist": [ "pyaml (==19.4.1)", "PyYAML (==5.1.2)" ], "requires_python": "", "summary": "collection of handy methods for terminal applications", "version": "1.0.5" }, "last_serial": 5954951, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "e4cd44ced0fe60d5ebbc822f76b9bd7f", "sha256": "d88b59c802e28a2de975e924669b399a57c220474ed626e2110a2898c819c301" }, "downloads": -1, "filename": "rambo_py-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e4cd44ced0fe60d5ebbc822f76b9bd7f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5425, "upload_time": "2019-09-25T07:10:10", "url": "https://files.pythonhosted.org/packages/57/ca/b5224c4ab51dbfa61026e927dc602299b1ae29976bf266c48d57843eded6/rambo_py-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6d309e217af0c73088343605590f028e", "sha256": "dfa44fe78272e3934e0768c62448262533863da4a86baeec863045905a56b7b9" }, "downloads": -1, "filename": "rambo-py-1.0.0.tar.gz", "has_sig": false, "md5_digest": "6d309e217af0c73088343605590f028e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2497, "upload_time": "2019-09-25T07:10:15", "url": "https://files.pythonhosted.org/packages/98/31/0c83c84b77def236b59be0b1b48678e17e836f7f0e74329a521101f47ac5/rambo-py-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "2278bd453d11967b3b1c94e88e04a608", "sha256": "9deb4211632c9fd4be6c1410855c6c5f8a12283ed660d8ad62180213f6fa2d1e" }, "downloads": -1, "filename": "rambo_py-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "2278bd453d11967b3b1c94e88e04a608", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5964, "upload_time": "2019-09-25T08:10:35", "url": "https://files.pythonhosted.org/packages/4a/7d/ebea6c91f0fc8a0685c5a48787c23e45ae0898d315dfc43e573108858318/rambo_py-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "30adc8fd667f3e55d9501634266dc0ea", "sha256": "e16d7db1c64e3799c70adfae2225dcd896a1d1734ce027322476c86b69ea1b51" }, "downloads": -1, "filename": "rambo-py-1.0.1.tar.gz", "has_sig": false, "md5_digest": "30adc8fd667f3e55d9501634266dc0ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3193, "upload_time": "2019-09-25T08:10:36", "url": "https://files.pythonhosted.org/packages/81/ca/32006ffd5ebc0af09ac1fe37848fcf5f6aead89b8b2696b733a7d48458a4/rambo-py-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "5b657a12cd57f41f69afccea2b41c80e", "sha256": "ebe417aa3599517f0522de01451e03cafefc95c639133fdf9b9a7424ba5f138d" }, "downloads": -1, "filename": "rambo-py-1.0.2.tar.gz", "has_sig": false, "md5_digest": "5b657a12cd57f41f69afccea2b41c80e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3434, "upload_time": "2019-10-06T08:35:39", "url": "https://files.pythonhosted.org/packages/bf/86/c2c2e47bcc2291ccdbec0d2632936dfb87dfc6e4ba340ef56d87d6a68817/rambo-py-1.0.2.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "976f6b4116499fe6d2d2d003444883d6", "sha256": "531ec7805a5327ab11fec745c1c28e2215763beff60cce0c902d003b59967160" }, "downloads": -1, "filename": "rambo-py-1.0.5.macosx-10.9-x86_64.tar.gz", "has_sig": false, "md5_digest": "976f6b4116499fe6d2d2d003444883d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5990, "upload_time": "2019-10-10T14:03:34", "url": "https://files.pythonhosted.org/packages/e9/9e/97964d9dc6246766b0b157b6836cbd899fc301f29932f5825eff5ef7fe02/rambo-py-1.0.5.macosx-10.9-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "d10f7d371440d375c25b1756796e1a3b", "sha256": "d3b92c57819f123192b255233acada22768ceec9ae2569589d812e0b4c4ca529" }, "downloads": -1, "filename": "rambo_py-1.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "d10f7d371440d375c25b1756796e1a3b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6189, "upload_time": "2019-10-10T14:03:15", "url": "https://files.pythonhosted.org/packages/65/9b/5581d5224c460cef47c011eab69a798bf158a2fb2c5e42a5b840af5d2d91/rambo_py-1.0.5-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "976f6b4116499fe6d2d2d003444883d6", "sha256": "531ec7805a5327ab11fec745c1c28e2215763beff60cce0c902d003b59967160" }, "downloads": -1, "filename": "rambo-py-1.0.5.macosx-10.9-x86_64.tar.gz", "has_sig": false, "md5_digest": "976f6b4116499fe6d2d2d003444883d6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5990, "upload_time": "2019-10-10T14:03:34", "url": "https://files.pythonhosted.org/packages/e9/9e/97964d9dc6246766b0b157b6836cbd899fc301f29932f5825eff5ef7fe02/rambo-py-1.0.5.macosx-10.9-x86_64.tar.gz" }, { "comment_text": "", "digests": { "md5": "d10f7d371440d375c25b1756796e1a3b", "sha256": "d3b92c57819f123192b255233acada22768ceec9ae2569589d812e0b4c4ca529" }, "downloads": -1, "filename": "rambo_py-1.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "d10f7d371440d375c25b1756796e1a3b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6189, "upload_time": "2019-10-10T14:03:15", "url": "https://files.pythonhosted.org/packages/65/9b/5581d5224c460cef47c011eab69a798bf158a2fb2c5e42a5b840af5d2d91/rambo_py-1.0.5-py3-none-any.whl" } ] }