{ "info": { "author": "Tim Wegener", "author_email": "twegener@radlogic.com.au", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "This Python module provides a metclass-based approach to providing enumerated\r\ntypes in Python. Enumerated types are defined by define a subclass of the Enum\r\nclass, with the class attributes defined the enumerated values. Dictionary style\r\nmethods are also provided for things such as accessing and iterating over the\r\nenumeration values. Enumerated type classes can be further subclassed and/or\r\nmerged. Once enumerated type classes have been defined, they cannot easily be\r\nmodified.\r\n\r\nExample of use:\r\n\r\n>>> class Season(Enum):\r\n... summer = 'Summer'\r\n... autumn = 'Autumn'\r\n... winter = 'Winter'\r\n... spring = 'Spring'\r\n\r\n>>> this_season = Season.spring\r\n>>> Season.values()\r\n['Summer', 'Autumn', 'Winter', 'Spring']\r\n\r\n\r\nThis requires Python 2.2 or greater.", "description_content_type": null, "docs_url": null, "download_url": "http://www.radlogic.com/releases/enum_meta.py", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.radlogic.com.au/downloads.htm", "keywords": "enum, enumeration, enumerated, type, metaclass, class", "license": "", "maintainer": "", "maintainer_email": "", "name": "enum_meta", "package_url": "https://pypi.org/project/enum_meta/", "platform": "", "project_url": "https://pypi.org/project/enum_meta/", "project_urls": { "Download": "http://www.radlogic.com/releases/enum_meta.py", "Homepage": "http://www.radlogic.com.au/downloads.htm" }, "release_url": "https://pypi.org/project/enum_meta/0.3/", "requires_dist": null, "requires_python": null, "summary": "Provide enumerated type classes", "version": "0.3" }, "last_serial": 6618, "releases": { "0.3": [] }, "urls": [] }