{ "info": { "author": "Toby Slight", "author_email": "tobyslight@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: ISC License (ISCL)", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# CHOOSE OPTIONS\n\n*A simple CLI checkbox menu interface for choosing options.*\n\n![img](./chopt.gif \"Choose Options\")\n\nTakes a list of options as an argument and returns a list of selected items from\nthat list.\n\nOptions are chosen by entering their corresponding number or name. Multiple\noptions can be selected in one go. Choices should be separated by spaces.\n\nAlso supported is specifying ranges of numbers, in the form *x..y* or *x-y*\n(where *x* and *y* are item numbers from the list, eg) 1..5 or 1-5).\n\nAdditionally you can use *..x* or *-x* to specify everything up to the number\n*x*, and *x..* or *x-* to specify everything from the number *x* until the last\nelement.\n\nFinally one can use wildcard globbing to match option name strings. For instance\n**.py* would match all files with the extension *.py*.\n\nReserved words are *toggle*, *reset*, *accept* and *quit* (case insensitive). They can\nbe used to carry out those respective actions. Typing just the first letter also\ncarries out that action - ie) *t*, toggles all, *r*, resets, etc.\n\n## INSTALLATION\n\n`pip install chopt`\n\n## CLI USAGE\n\n```\nusage: chopt [-h] options [options ...]\n\nCreate a checkbox menu from a list of options.\n\npositional arguments:\n options Options for the menu.\n\noptional arguments:\n -h, --help show this help message and exit\n```\n\n## PYTHON USAGE\n\n```python\nfrom chopt import chopt\n\nmy_list = [ 'item1', 'item2', 'item3' ]\n\nchosen = chopt(my_list)\n\nsome_interesting_function(chosen)\n```\n\n## EXAMPLES\n\n`chopt $(ls ~/src/chopt)`\n\n`chopt $(shuf -n 100 /usr/share/dict/words)`\n\n`chopt options{1..100}`\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/tslight/chopt", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "chopt", "package_url": "https://pypi.org/project/chopt/", "platform": "", "project_url": "https://pypi.org/project/chopt/", "project_urls": { "Homepage": "https://github.com/tslight/chopt" }, "release_url": "https://pypi.org/project/chopt/0.0.6/", "requires_dist": [ "columns" ], "requires_python": "", "summary": "Choose Options using a CLI Checkbox Menu", "version": "0.0.6" }, "last_serial": 4106264, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "a7b415de97db72fa0fc177307d2090f3", "sha256": "f9b050ae04470218bc1df7b58480e6fb92ccd46ce4a7f1eb5148faa1cc0a12b3" }, "downloads": -1, "filename": "chopt-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a7b415de97db72fa0fc177307d2090f3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3579, "upload_time": "2018-07-21T15:40:51", "url": "https://files.pythonhosted.org/packages/96/5f/b47db94b690ad2b1ff5be116356848ca5ec4de3e43a215a23b0c05ac5968/chopt-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a32ec36a2a90f61b24a497e02bd485f4", "sha256": "02020ac925e9f371d8b586c3c5cf0bce54be30ed24780ad62ceaac04e901f8ad" }, "downloads": -1, "filename": "chopt-0.0.1.tar.gz", "has_sig": false, "md5_digest": "a32ec36a2a90f61b24a497e02bd485f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2739, "upload_time": "2018-07-21T15:40:52", "url": "https://files.pythonhosted.org/packages/03/d4/cd939644ad8f60e90aada299368e6d7d54ed6797e77f7ea31dbb97ef2fe8/chopt-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "c7fc93c679f2aa2aabed06d44aaf7e67", "sha256": "5980b664c55c58b02e7d41133ef1453357cca073f86856b435ffa962f5523b23" }, "downloads": -1, "filename": "chopt-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "c7fc93c679f2aa2aabed06d44aaf7e67", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3603, "upload_time": "2018-07-22T17:52:32", "url": "https://files.pythonhosted.org/packages/3e/ee/b381c90f06860fe02ea34adb3d10cc0cf84b5efb4aa2964e9fab4f86f3ed/chopt-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "720e0fb81eed13d54dded10aaec8f8c6", "sha256": "c122b6227fd8c685eef2959275cd3f194e669c8954240d71bee3d0aeb49cf4f5" }, "downloads": -1, "filename": "chopt-0.0.2.tar.gz", "has_sig": false, "md5_digest": "720e0fb81eed13d54dded10aaec8f8c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2766, "upload_time": "2018-07-22T17:52:33", "url": "https://files.pythonhosted.org/packages/5b/09/d6f20ad5052da5b200fae6f67b8149f343899d6c90cfedc54fa726fe9504/chopt-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "4273ffadcd6e4215b20f967a96ee5982", "sha256": "3d7c504ede89059da606b9a61233e2d5e932d469314bb55948e0986e614bc4eb" }, "downloads": -1, "filename": "chopt-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "4273ffadcd6e4215b20f967a96ee5982", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3907, "upload_time": "2018-07-22T22:49:35", "url": "https://files.pythonhosted.org/packages/f2/5c/d301fa10bdfab6962bf69eab0f46646dca732dbeb32b1b6158ef01874a44/chopt-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9c0ab133adeaca4422253ffb9e803d42", "sha256": "6dbae84834b3448cffb09366b6bc6b583b62814da7ada83cf98b498870626106" }, "downloads": -1, "filename": "chopt-0.0.3.tar.gz", "has_sig": false, "md5_digest": "9c0ab133adeaca4422253ffb9e803d42", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3156, "upload_time": "2018-07-22T22:49:36", "url": "https://files.pythonhosted.org/packages/9e/1b/16019dda288a4caea264aafde0072c0799e4c07e2b65d15979e2ebf1fec3/chopt-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "464e1b6f75c7aa69f8b9396793f57302", "sha256": "998f04d20e15d6f76267e8bdb1a5393fab848ef28d5024124b044330bf0e09f9" }, "downloads": -1, "filename": "chopt-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "464e1b6f75c7aa69f8b9396793f57302", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4389, "upload_time": "2018-07-23T21:32:35", "url": "https://files.pythonhosted.org/packages/6d/05/51e4238a33e2570588f60d1bd0d1f6e9681cb2d4386dbe87c682aeeb43dc/chopt-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1ccdd182871f9c6a9942b5d914a2a521", "sha256": "8a32aa619b6121e625b6b73a8254fc97fa13b21e6f7bfacdaf37ede9d236b72e" }, "downloads": -1, "filename": "chopt-0.0.4.tar.gz", "has_sig": false, "md5_digest": "1ccdd182871f9c6a9942b5d914a2a521", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3655, "upload_time": "2018-07-23T21:32:37", "url": "https://files.pythonhosted.org/packages/54/a5/6829513c36699b6073933d71f13da0a7a4da69ea2587dbf9f55f33ceaec4/chopt-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "124b941e8b72a8a562ca55d671346235", "sha256": "b6a4311a2a213beb545e7d1a88fedfd6e21c18fb63d11956960e2e71d5b4ac37" }, "downloads": -1, "filename": "chopt-0.0.5-py3-none-any.whl", "has_sig": false, "md5_digest": "124b941e8b72a8a562ca55d671346235", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4398, "upload_time": "2018-07-24T13:41:07", "url": "https://files.pythonhosted.org/packages/3f/65/65581a7b3dfe85b8f5710fed560bb6a888d0054b539fe8a7da5eb3c689cd/chopt-0.0.5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "42d568cc3785194101bdc09d99daec51", "sha256": "44365fc623ed72cb5da2befd4288714d5cb44c57057e10509e1be5610a8f867b" }, "downloads": -1, "filename": "chopt-0.0.5.tar.gz", "has_sig": false, "md5_digest": "42d568cc3785194101bdc09d99daec51", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3646, "upload_time": "2018-07-24T13:41:08", "url": "https://files.pythonhosted.org/packages/a7/e1/d81a93be137bcddb92ff3878d5cb2543803cf4cb8ee95a367bc5a80c9aa0/chopt-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "40b6636692157a18b90519377a7d483e", "sha256": "29c0a7291a1b3e1e1f97a1673318bc482f302c2c6e883dac41ad0fde556810f5" }, "downloads": -1, "filename": "chopt-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "40b6636692157a18b90519377a7d483e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4943, "upload_time": "2018-07-26T20:35:32", "url": "https://files.pythonhosted.org/packages/0d/4c/33966dfe7e47ce59c7a2a083cd2d6715387b15a1d29b808e685652c436cb/chopt-0.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ef2ad7edc4964b77eb404308f0ec692b", "sha256": "f748809a12c15ea6294b7a36c6e52be38fa7dffb38b0338dd528136df5e761c9" }, "downloads": -1, "filename": "chopt-0.0.6.tar.gz", "has_sig": false, "md5_digest": "ef2ad7edc4964b77eb404308f0ec692b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4275, "upload_time": "2018-07-26T20:35:35", "url": "https://files.pythonhosted.org/packages/2d/45/40fdb750386d42e8a1c818923e09ba405f9dbbb9a780d3bbc33578e1efba/chopt-0.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "40b6636692157a18b90519377a7d483e", "sha256": "29c0a7291a1b3e1e1f97a1673318bc482f302c2c6e883dac41ad0fde556810f5" }, "downloads": -1, "filename": "chopt-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "40b6636692157a18b90519377a7d483e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4943, "upload_time": "2018-07-26T20:35:32", "url": "https://files.pythonhosted.org/packages/0d/4c/33966dfe7e47ce59c7a2a083cd2d6715387b15a1d29b808e685652c436cb/chopt-0.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ef2ad7edc4964b77eb404308f0ec692b", "sha256": "f748809a12c15ea6294b7a36c6e52be38fa7dffb38b0338dd528136df5e761c9" }, "downloads": -1, "filename": "chopt-0.0.6.tar.gz", "has_sig": false, "md5_digest": "ef2ad7edc4964b77eb404308f0ec692b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4275, "upload_time": "2018-07-26T20:35:35", "url": "https://files.pythonhosted.org/packages/2d/45/40fdb750386d42e8a1c818923e09ba405f9dbbb9a780d3bbc33578e1efba/chopt-0.0.6.tar.gz" } ] }