{ "info": { "author": "David C. Morrill, et. al.", "author_email": "info@enthought.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Operating System :: MacOS", "Operating System :: Microsoft :: Windows", "Operating System :: OS Independent", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: C", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Scientific/Engineering", "Topic :: Software Development", "Topic :: Software Development :: Libraries" ], "description": "==============================================\ntraits: explicitly typed attributes for Python\n==============================================\n\nhttp://docs.enthought.com/traits\n\n.. image:: https://api.travis-ci.org/enthought/traits.png?branch=master\n :target: https://travis-ci.org/enthought/traits\n :alt: Build status\n\n.. image:: https://coveralls.io/repos/enthought/traits/badge.png\n :target: https://coveralls.io/r/enthought/traits\n :alt: Coverage status\n\nThe Traits project is at the center of all Enthought Tool Suite development\nand has changed the mental model used at Enthought for programming in the\nalready extremely efficient Python programming language. We encourage everyone\nto join us in enjoying the productivity gains from using such a powerful\napproach.\n\nThe Traits project allows Python programmers to use a special kind of type\ndefinition called a *trait*, which gives object attributes some additional\ncharacteristics:\n\n- **Initialization**: A trait has a *default value*, which is\n automatically set as the initial value of an attribute before its\n first use in a program.\n- **Validation**: The type of a trait attribute is *explicitly declared*. The\n type is evident in the code, and only values that meet a\n programmer-specified set of criteria (i.e., the trait definition) can\n be assigned to that attribute.\n- **Delegation**: The value of a trait attribute can be contained either\n in the defining object or in another object *delegated* to by the\n trait.\n- **Notification**: Setting the value of a trait attribute can *notify*\n other parts of the program that the value has changed.\n- **Visualization**: User interfaces that allow a user to *interactively\n modify* the value of a trait attribute can be automatically\n constructed using the trait's definition. (This feature requires that\n a supported GUI toolkit be installed. If this feature is not used, the\n Traits project does not otherwise require GUI support.)\n\nA class can freely mix trait-based attributes with normal Python attributes,\nor can opt to allow the use of only a fixed or open set of trait attributes\nwithin the class. Trait attributes defined by a class are automatically\ninherited by any subclass derived from the class.\n\nDependencies\n------------\n\nTraits runs on both Python 2 and Python 3. It requires Python 2.7\nor Python >= 3.4.\n\nTraits has the following optional dependencies:\n\n* `NumPy `_ to support the trait types\n for arrays.\n* `Traitsui `_ to support Gui\n Views.\n\nTo build the full documentation one needs:\n\n* sphinx > 1.2.3\n* mock (for Python 2 only; optional if traitsui is not available)\n* `enthought-sphinx-theme\n `_\n (a version of the documentation can be built without this, but\n some formatting may be incorrect)", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/enthought/traits", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://docs.enthought.com/traits", "keywords": "", "license": "BSD", "maintainer": "ETS Developers", "maintainer_email": "enthought-dev@enthought.com", "name": "traits", "package_url": "https://pypi.org/project/traits/", "platform": "Windows", "project_url": "https://pypi.org/project/traits/", "project_urls": { "Download": "https://github.com/enthought/traits", "Homepage": "http://docs.enthought.com/traits" }, "release_url": "https://pypi.org/project/traits/5.1.2/", "requires_dist": null, "requires_python": "", "summary": "explicitly typed attributes for Python", "version": "5.1.2" }, "last_serial": 5499471, "releases": { "4.0.0": [], "4.1.0": [], "4.2.0": [], "4.3.0": [], "4.4.0": [ { "comment_text": "", "digests": { "md5": "ced61ab7dac2ca41420fbd20edd7e502", "sha256": "737e710e9cbcd087d5b5dee9928447b5592049900757b55a2802ee2e4336c49c" }, "downloads": -1, "filename": "traits-4.4.0.tar.gz", "has_sig": false, "md5_digest": "ced61ab7dac2ca41420fbd20edd7e502", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 226316, "upload_time": "2013-12-13T19:40:37", "url": "https://files.pythonhosted.org/packages/7b/5f/76da6c50930b1f334bf0121eb99ffec9b2640622a508019f37f90e5d648c/traits-4.4.0.tar.gz" } ], "4.5.0": [ { "comment_text": "", "digests": { "md5": "3ad558eebaedc63c29c80183c0371d2f", "sha256": "5293a8786030b0b243e059f52004355b6939d7c0f1be2eb5a605b63cca484c84" }, "downloads": -1, "filename": "traits-4.5.0.tar.gz", "has_sig": false, "md5_digest": "3ad558eebaedc63c29c80183c0371d2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4853612, "upload_time": "2014-05-07T11:25:35", "url": "https://files.pythonhosted.org/packages/54/3a/f6c11839ff8dda7ead173962107c0c8151e13a788cfd8f72000cda59b550/traits-4.5.0.tar.gz" } ], "4.6.0": [ { "comment_text": "", "digests": { "md5": "49964def21c38e8e67b59e1a2ab4e79b", "sha256": "c71c3165526e5375f74358968fd70a258a65d6c8768210ee4e4f88347a4ab853" }, "downloads": -1, "filename": "traits-4.6.0.tar.bz2", "has_sig": false, "md5_digest": "49964def21c38e8e67b59e1a2ab4e79b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 354258, "upload_time": "2016-11-02T10:25:53", "url": "https://files.pythonhosted.org/packages/56/47/03f50e82e1ff1e8a602c5f2cf12f08675f79a7169629fe4ce521e59d265f/traits-4.6.0.tar.bz2" }, { "comment_text": "", "digests": { "md5": "7af6d2f9dfa9f5c0b7a6ac8d3c9fca17", "sha256": "5d82345e0a34b88e394964eea1be47419530027aef7f0b20ad315b6ec6c68370" }, "downloads": -1, "filename": "traits-4.6.0.tar.gz", "has_sig": false, "md5_digest": "7af6d2f9dfa9f5c0b7a6ac8d3c9fca17", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 434937, "upload_time": "2016-11-02T10:25:43", "url": "https://files.pythonhosted.org/packages/a6/69/96560692c9329f7290ae46e828a328538cd139b75a176fdca2c53361f431/traits-4.6.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "4671b50c634c29e96ec6a82d7aeb7082", "sha256": "0e56495f42f377facacc5e9daa6647b5b285c301331486094a993c1e891b1f19" }, "downloads": -1, "filename": "traits-4.6.0.zip", "has_sig": false, "md5_digest": "4671b50c634c29e96ec6a82d7aeb7082", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 546255, "upload_time": "2016-11-02T10:25:49", "url": "https://files.pythonhosted.org/packages/47/9f/2ab54c0a83ada18d4084b1bc53a7201cd3eefbfdf36d9bb242e644ff4f80/traits-4.6.0.zip" } ], "5.0.0": [ { "comment_text": "", "digests": { "md5": "7e6a47d72fb5e0ce5fa4d1dd7fbff2f2", "sha256": "8369117036fbbe00dbd40e1a01c8775b52bdbfa11db5788168e7c8c56663bac0" }, "downloads": -1, "filename": "traits-5.0.0.tar.gz", "has_sig": false, "md5_digest": "7e6a47d72fb5e0ce5fa4d1dd7fbff2f2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 437001, "upload_time": "2019-01-30T13:47:10", "url": "https://files.pythonhosted.org/packages/b7/20/9258e52af7e03265f838eb693386f0295b337e7d32974ffa150f5edc255b/traits-5.0.0.tar.gz" } ], "5.1.0": [ { "comment_text": "", "digests": { "md5": "410dd27a74074f7e82c2c5157a9096b6", "sha256": "af91b481d24cc6f47791f48c3b50c5190f460b7727d30656a780dff894ee63f6" }, "downloads": -1, "filename": "traits-5.1.0.tar.gz", "has_sig": false, "md5_digest": "410dd27a74074f7e82c2c5157a9096b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 436687, "upload_time": "2019-04-15T14:42:59", "url": "https://files.pythonhosted.org/packages/65/fd/3aad5c3452f73b178619b8a1aad2e86bc9a0d6861d9e5659f8799203a1d7/traits-5.1.0.tar.gz" } ], "5.1.1": [ { "comment_text": "", "digests": { "md5": "3eb904d1b49f64da30106b3897e98a8d", "sha256": "c4489dffb3272f94549a01fccbe447675c0186d2b8d59e8c7013c328e7c39553" }, "downloads": -1, "filename": "traits-5.1.1.tar.gz", "has_sig": false, "md5_digest": "3eb904d1b49f64da30106b3897e98a8d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 436742, "upload_time": "2019-04-18T09:31:02", "url": "https://files.pythonhosted.org/packages/81/80/2b5bb0036bbd05b971546b0d3a942b97896122681d4c657edb12d299d891/traits-5.1.1.tar.gz" } ], "5.1.2": [ { "comment_text": "", "digests": { "md5": "a895bb2e451e400fd665bcfcd491be1e", "sha256": "7a78594f84dd81486cd876fdfe3648583836377cb9fb02973f307dc06fc52728" }, "downloads": -1, "filename": "traits-5.1.2.tar.gz", "has_sig": false, "md5_digest": "a895bb2e451e400fd665bcfcd491be1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 437698, "upload_time": "2019-07-08T08:10:15", "url": "https://files.pythonhosted.org/packages/95/d5/aa0e6622e9183008cb9a3e91b147685035991a6faf7e03450029786b6526/traits-5.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a895bb2e451e400fd665bcfcd491be1e", "sha256": "7a78594f84dd81486cd876fdfe3648583836377cb9fb02973f307dc06fc52728" }, "downloads": -1, "filename": "traits-5.1.2.tar.gz", "has_sig": false, "md5_digest": "a895bb2e451e400fd665bcfcd491be1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 437698, "upload_time": "2019-07-08T08:10:15", "url": "https://files.pythonhosted.org/packages/95/d5/aa0e6622e9183008cb9a3e91b147685035991a6faf7e03450029786b6526/traits-5.1.2.tar.gz" } ] }