{ "info": { "author": "Hans Meine", "author_email": "hans_meine@gmx.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 2" ], "description": "This module offers an easy way to define named constants in Python,\nsupporting some simple enum-like use case, as well as arbitrary value\ntypes like strings or floats. It is rather simple to use and does not\nhave a big footprint, but supports the following features:\n\n* Ease of use (a simple class for scoping, plain definitions inside)\n* Enumeration of defined constants\n* Values know their *name*, i.e. you don't have to guess which meaning\n the constant value 3 has (e.g. it's name() will be 'blue' and its\n __repr__ will format as 'Colors.blue')\n* Arbitrary value types (not just integers)\n* Constant-ness (no change after time of definition)", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hmeine/named_constants", "keywords": null, "license": "Apache 2.0", "maintainer": null, "maintainer_email": null, "name": "named_constants", "package_url": "https://pypi.org/project/named_constants/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/named_constants/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/hmeine/named_constants" }, "release_url": "https://pypi.org/project/named_constants/1.0/", "requires_dist": null, "requires_python": null, "summary": "This module offers an easy way to define named constants in Python, supporting some simple enum-like use case, as well as arbitrary value types like strings or floats.", "version": "1.0" }, "last_serial": 1315594, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "89510de8206d93c3474394d86f843dd3", "sha256": "0c5ff440351e2bef7b51271de237b6ac3011c563a93970f5dbe21a3eb6351f93" }, "downloads": -1, "filename": "named_constants-1.0.tar.gz", "has_sig": true, "md5_digest": "89510de8206d93c3474394d86f843dd3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3818, "upload_time": "2014-11-21T09:13:39", "url": "https://files.pythonhosted.org/packages/f4/6a/c1d59d246a378f01c6d157cdc3b1923d31bc7eb66fb33dc350dcac78ec31/named_constants-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "89510de8206d93c3474394d86f843dd3", "sha256": "0c5ff440351e2bef7b51271de237b6ac3011c563a93970f5dbe21a3eb6351f93" }, "downloads": -1, "filename": "named_constants-1.0.tar.gz", "has_sig": true, "md5_digest": "89510de8206d93c3474394d86f843dd3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3818, "upload_time": "2014-11-21T09:13:39", "url": "https://files.pythonhosted.org/packages/f4/6a/c1d59d246a378f01c6d157cdc3b1923d31bc7eb66fb33dc350dcac78ec31/named_constants-1.0.tar.gz" } ] }