{ "info": { "author": "Carlos Abraham", "author_email": "abraham@19cah.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "
\n\n\n\tWhen it comes to build command-line apps, there is nothing like LUPE\n
\n\n\n\n\n\n# Install\n\n```\n$ pip install lupe\n```\n\n## Features\n\n- Parses arguments\n- Outputs version when `--version` or `-v`\n- Outputs description and supplied help text when `--help` or `-h`\n\n## Usage\n\n> There is not mango emoji yet supported. So instead, I used a pear, but it kinda looks the same \ud83d\ude12\n```\n$ ./foo.py dinner --mango\n```\n\n```py\n#!/usr/bin/python\n# -*- coding: UTF-8 -*-\n\nfrom lupe import *\nfrom foo import *\n\ncli = lupe(`\n\tUsage\n\t $ foo \n\n\tOptions\n\t --mango, -m Include a mango\n\n\tExamples\n\t $ foo dinner --mango\n\t \tdinner \ud83c\udf50\n`, {\n\tflags: {\n\t\tmango: {\n\t\t\ttype: 'boolean',\n\t\t\talias: 'm'\n\t\t}\n\t}\n});\n/*\n{\n\tinput: ['dinner'],\n\tflags: {mango: true},\n\t...\n}\n*/\n\nfoo(cli.input[0], cli.flags);\n```\n\n# Credit\n\nBased on [meow](https://github.com/sindresorhus/meow) from [@Sindresorhus](https://github.com/sindresorhus)\n\n# Team\n\n|[](https://19cah.com)|\n| :-: |\n| [Carlos Abraham](https://github.com/19cah) |\n\n\n# License\n\n[MIT](https://github.com/19cah/lupe/blob/master/LICENSE) License \u00a9 [Carlos Abraham](https://github.com/19cah)\n\n\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://lupe.19cah.com/", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "lupe", "package_url": "https://pypi.org/project/lupe/", "platform": "", "project_url": "https://pypi.org/project/lupe/", "project_urls": { "Homepage": "https://lupe.19cah.com/", "Lupe source": "https://github.com/19cah/lupe/" }, "release_url": "https://pypi.org/project/lupe/0.1.0a0/", "requires_dist": null, "requires_python": "", "summary": "LUPE: a better cli app helper", "version": "0.1.0a0" }, "last_serial": 4098671, "releases": { "0.1.0a0": [ { "comment_text": "", "digests": { "md5": "3f8790dbdf92ed910b1a74fc96d59a50", "sha256": "e47ed673b3e99949f4ea9d676ace34c1742095c14985cd63c4a0b97ebb760c1a" }, "downloads": -1, "filename": "lupe-0.1.0a0-py2-none-any.whl", "has_sig": false, "md5_digest": "3f8790dbdf92ed910b1a74fc96d59a50", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 2104, "upload_time": "2018-07-12T06:50:23", "url": "https://files.pythonhosted.org/packages/71/c5/e63792e0eb7157bf5443ac1917696bc6632fe98ba8100a78098c3f9b2fda/lupe-0.1.0a0-py2-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3f8790dbdf92ed910b1a74fc96d59a50", "sha256": "e47ed673b3e99949f4ea9d676ace34c1742095c14985cd63c4a0b97ebb760c1a" }, "downloads": -1, "filename": "lupe-0.1.0a0-py2-none-any.whl", "has_sig": false, "md5_digest": "3f8790dbdf92ed910b1a74fc96d59a50", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 2104, "upload_time": "2018-07-12T06:50:23", "url": "https://files.pythonhosted.org/packages/71/c5/e63792e0eb7157bf5443ac1917696bc6632fe98ba8100a78098c3f9b2fda/lupe-0.1.0a0-py2-none-any.whl" } ] }