{ "info": { "author": "Dan Berglund", "author_email": "dan@berglund.io", "bugtrack_url": null, "classifiers": [], "description": "argy\n====\nArgy is a simple tool for creating CLI programs using python, it tries to remove all the fuzz that comes with the standard library.\n\nUsage\n=====\n\n.. code::\n \n import argy\n\n\n @argy\n def add_numbers(x, y, subtract=False):\n \"\"\"Adder of numbers\n Just adds two numbers, nothing really special about it\n\n :param x: The first number\n :type x: int\n :param y: The second number\n :type y: int\n :param subtract: Should we subtract instead?\n :type subtract: bool\n \"\"\"\n if not subtract:\n return x + y\n else:\n return x - y\n\nThis will create a CLI-program with the expected arguments, see also example.py\n\n.. code::\n\n $ python example.py -h\n usage: example.py [-h] [--subtract SUBTRACT] x y\n\n positional arguments:\n x The first number\n y The second number\n\n optional arguments:\n -h, --help show this help message and exit\n --subtract SUBTRACT Should we subtract instead?\n\nContributions\n=============\n\nContributions are welcome!\n", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/cheif/argy", "keywords": null, "license": null, "maintainer": null, "maintainer_email": null, "name": "argy", "package_url": "https://pypi.org/project/argy/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/argy/", "project_urls": { "Homepage": "https://github.com/cheif/argy" }, "release_url": "https://pypi.org/project/argy/0.0.2/", "requires_dist": null, "requires_python": null, "summary": "Simple tool for creating CLI applications", "version": "0.0.2" }, "last_serial": 1514004, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "919df1f614d467e442ff970443f79d22", "sha256": "8ede4c6028cfa76d264ad3a123d77c4fd480aac2fd95debb070ecc4bd3f30828" }, "downloads": -1, "filename": "argy-0.0.1.tar.gz", "has_sig": false, "md5_digest": "919df1f614d467e442ff970443f79d22", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1302, "upload_time": "2015-04-21T07:12:17", "url": "https://files.pythonhosted.org/packages/c3/a1/6d4a276ce83aee0b3f15f8aea01b2ffb815437a289923224e333dc65b38f/argy-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "5e825e92c2908c2a0e99f2dbb04d303a", "sha256": "146a0498d78412ee12f671ceb69f20d432bbc958d8699c615d2ea31ff82060e0" }, "downloads": -1, "filename": "argy-0.0.2.tar.gz", "has_sig": false, "md5_digest": "5e825e92c2908c2a0e99f2dbb04d303a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1774, "upload_time": "2015-04-21T07:19:08", "url": "https://files.pythonhosted.org/packages/b2/a7/e359664d5c6e0fee53037388bc77671bf522a8836253e71f2b6e12dddea3/argy-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5e825e92c2908c2a0e99f2dbb04d303a", "sha256": "146a0498d78412ee12f671ceb69f20d432bbc958d8699c615d2ea31ff82060e0" }, "downloads": -1, "filename": "argy-0.0.2.tar.gz", "has_sig": false, "md5_digest": "5e825e92c2908c2a0e99f2dbb04d303a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1774, "upload_time": "2015-04-21T07:19:08", "url": "https://files.pythonhosted.org/packages/b2/a7/e359664d5c6e0fee53037388bc77671bf522a8836253e71f2b6e12dddea3/argy-0.0.2.tar.gz" } ] }