{ "info": { "author": "coderazzi (LuisM Pena)", "author_email": "coderazzi@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Build Tools" ], "description": "**optmatch** - Library to allow an easy and effective parsing of command line options.\n\nFull documentation: http://coderazzi.net/python/optmatch\n\n**optmatch** is based on expressing the actions -with all options and related flags-\nthat are supported, instead of just listing all possible argument flags.\n\nFor example:\n\n class Example(**OptionMatcher**):\n\n **@optset**\n\n def handle_common_flag(self, **mail_option**):\n\n ...\n\n\n **@optmatcher**\n\n def handle_compression(self, filename, **compress_flag** =False):\n\n ...\n\n\n **@optmatcher(flags='verbose', options='mode')**\n\n def handle(self, filename, verbose=False, mode='simple', where=None):\n\n ...\n\n\nIn this example:\n\n\n1. It is defined a common flag (--mail)\n\n2. It is defined an action, supporting a --compress flag which is False by default, and requiring a filename parameter\n\n3. It is defined a second action, supporting a --verbose flag and a --mode option, requiring one or two file locations.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://coderazzi.net/python/optmatch", "keywords": "args,parsing,easy", "license": "", "maintainer": "", "maintainer_email": "", "name": "optmatch", "package_url": "https://pypi.org/project/optmatch/", "platform": "", "project_url": "https://pypi.org/project/optmatch/", "project_urls": { "Homepage": "http://coderazzi.net/python/optmatch" }, "release_url": "https://pypi.org/project/optmatch/0.9.2/", "requires_dist": null, "requires_python": "", "summary": "command line parsing library", "version": "0.9.2" }, "last_serial": 3977034, "releases": { "0.9.1": [ { "comment_text": "", "digests": { "md5": "4d11d534c63890b27ab25f7d599ab20e", "sha256": "e0b1d51f3d6bc5da719564f69f2a05e0a58c48f2cc1e4c3b4aab542cd436bc8b" }, "downloads": -1, "filename": "optmatch-0.9.1.tar.gz", "has_sig": false, "md5_digest": "4d11d534c63890b27ab25f7d599ab20e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15562, "upload_time": "2018-05-14T21:38:48", "url": "https://files.pythonhosted.org/packages/4b/5e/8c7dba0985c99879e1591a7cc65a527e1b41109932217eef26d33de02227/optmatch-0.9.1.tar.gz" } ], "0.9.2": [ { "comment_text": "", "digests": { "md5": "a94b4430360d501db71e447b4a6256ec", "sha256": "6b64f8b3b7125fdbdf732dba819ac44c7224a290a912214484c57914fa4c6bc0" }, "downloads": -1, "filename": "optmatch-0.9.2.tar.gz", "has_sig": false, "md5_digest": "a94b4430360d501db71e447b4a6256ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15380, "upload_time": "2018-06-19T12:01:30", "url": "https://files.pythonhosted.org/packages/b1/4b/dcdeafef5c57cea25466aec792a54cdc1d28ab14d3d20777a898229573df/optmatch-0.9.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a94b4430360d501db71e447b4a6256ec", "sha256": "6b64f8b3b7125fdbdf732dba819ac44c7224a290a912214484c57914fa4c6bc0" }, "downloads": -1, "filename": "optmatch-0.9.2.tar.gz", "has_sig": false, "md5_digest": "a94b4430360d501db71e447b4a6256ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15380, "upload_time": "2018-06-19T12:01:30", "url": "https://files.pythonhosted.org/packages/b1/4b/dcdeafef5c57cea25466aec792a54cdc1d28ab14d3d20777a898229573df/optmatch-0.9.2.tar.gz" } ] }