{ "info": { "author": "@Robpol86", "author_email": "robpol86@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Environment :: MacOS X", "Environment :: Win32 (MS Windows)", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Operating System :: Unix", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries", "Topic :: Terminals" ], "description": "=========\ndocoptcfg\n=========\n\nLove using `docopt `_ over argparse or `Click `_? Wish it took care of\nenvironment variables and/or config files?\n\n``docoptcfg`` is a wrapper for ``docopt`` which handles reading configuration data from environment variables and/or an\nINI/INF configuration file. You can (1) enable only the environment variable part, (2) only the config file part, (3) or\nuse both at the same time:\n\n1. ``args = docoptcfg(__doc__, env_prefix='MYAPP_')``\n2. ``args = docoptcfg(__doc__, config_option='--config')``\n3. ``args = docoptcfg(__doc__, config_option='--config', env_prefix='MYAPP_')``\n\n\ud83d\udcd6 Full documentation: https://docoptcfg.readthedocs.org\n\n* Python 2.6, 2.7, PyPy, PyPy3, 3.3, 3.4, and 3.5 supported on Linux and OS X.\n* Python 2.7, 3.3, 3.4, and 3.5 supported on Windows (both 32 and 64 bit versions of Python).\n\n.. image:: https://img.shields.io/appveyor/ci/Robpol86/docoptcfg/master.svg?style=flat-square&label=AppVeyor%20CI\n :target: https://ci.appveyor.com/project/Robpol86/docoptcfg\n :alt: Build Status Windows\n\n.. image:: https://img.shields.io/travis/Robpol86/docoptcfg/master.svg?style=flat-square&label=Travis%20CI\n :target: https://travis-ci.org/Robpol86/docoptcfg\n :alt: Build Status\n\n.. image:: https://img.shields.io/coveralls/Robpol86/docoptcfg/master.svg?style=flat-square&label=Coveralls\n :target: https://coveralls.io/github/Robpol86/docoptcfg\n :alt: Coverage Status\n\n.. image:: https://img.shields.io/pypi/v/docoptcfg.svg?style=flat-square&label=Latest\n :target: https://pypi.python.org/pypi/docoptcfg\n :alt: Latest Version\n\nQuickstart\n==========\n\nInstall:\n\n.. code:: bash\n\n pip install docoptcfg\n\nChangelog\n=========\n\nThis project adheres to `Semantic Versioning `_.\n\n1.0.2 - 2016-06-28\n------------------\n\nFixed\n * Bug where docoptcfg failed to handle positional arguments with repeating args/opts.\n\n1.0.1 - 2016-01-25\n------------------\n\nFixed\n * setup.py was previously configured for packages, not modules.\n\n1.0.0 - 2016-01-25\n------------------\n\n* Initial release.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Robpol86/docoptcfg", "keywords": "docopt config configuration environment", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "docoptcfg", "package_url": "https://pypi.org/project/docoptcfg/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/docoptcfg/", "project_urls": { "Homepage": "https://github.com/Robpol86/docoptcfg" }, "release_url": "https://pypi.org/project/docoptcfg/1.0.2/", "requires_dist": null, "requires_python": "", "summary": "docopt wrapper adding config file and environment variable support.", "version": "1.0.2" }, "last_serial": 2192874, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "0b0551c5dc59d3563c687027f0b0d2b7", "sha256": "054eecc6a65274da4281323bd6edecfd49888bf60677693ddab6d47a732fb7a9" }, "downloads": -1, "filename": "docoptcfg-1.0.0.tar.gz", "has_sig": false, "md5_digest": "0b0551c5dc59d3563c687027f0b0d2b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2509, "upload_time": "2016-01-26T05:50:37", "url": "https://files.pythonhosted.org/packages/e7/0c/eada307c567105075923cf8aca0a9b48234401ee1548f0c1c0d072c0be5d/docoptcfg-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "8e2eb3b29ee31d7f9fad0f5603a97db5", "sha256": "ac01ecd4b5a22f58b759659c61c0aa40e4524565ac8c34f7144242ff236af5a4" }, "downloads": -1, "filename": "docoptcfg-1.0.1.tar.gz", "has_sig": false, "md5_digest": "8e2eb3b29ee31d7f9fad0f5603a97db5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5186, "upload_time": "2016-01-26T06:32:57", "url": "https://files.pythonhosted.org/packages/a6/08/668a70a3c06a3f47fb8de3d1c3c050e8f0eaca5cd6f266113152d9639cf2/docoptcfg-1.0.1.tar.gz" } ], "1.0.2": [ { "comment_text": "", "digests": { "md5": "461a4d636017f1c7ea8fa793d3802663", "sha256": "1a042401c12c1f5fda4e7960cada2e6dd48576f2ac96b66a6f99d151fefb0ce2" }, "downloads": -1, "filename": "docoptcfg-1.0.2.tar.gz", "has_sig": false, "md5_digest": "461a4d636017f1c7ea8fa793d3802663", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5303, "upload_time": "2016-06-29T04:31:38", "url": "https://files.pythonhosted.org/packages/c4/4e/1cebb227addfeb151855668d622c333afd15945cc6075a0b3a9140de83c0/docoptcfg-1.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "461a4d636017f1c7ea8fa793d3802663", "sha256": "1a042401c12c1f5fda4e7960cada2e6dd48576f2ac96b66a6f99d151fefb0ce2" }, "downloads": -1, "filename": "docoptcfg-1.0.2.tar.gz", "has_sig": false, "md5_digest": "461a4d636017f1c7ea8fa793d3802663", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5303, "upload_time": "2016-06-29T04:31:38", "url": "https://files.pythonhosted.org/packages/c4/4e/1cebb227addfeb151855668d622c333afd15945cc6075a0b3a9140de83c0/docoptcfg-1.0.2.tar.gz" } ] }