{"id":18613911,"url":"https://github.com/enthought/traitsui","last_synced_at":"2025-04-08T09:09:22.198Z","repository":{"id":37470792,"uuid":"1632980","full_name":"enthought/traitsui","owner":"enthought","description":"TraitsUI: Traits-capable windowing framework","archived":false,"fork":false,"pushed_at":"2024-05-20T14:16:40.000Z","size":54776,"stargazers_count":300,"open_issues_count":462,"forks_count":97,"subscribers_count":71,"default_branch":"main","last_synced_at":"2025-04-01T07:52:30.316Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://docs.enthought.com/traitsui","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/enthought.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.txt","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-04-18T22:32:33.000Z","updated_at":"2025-01-06T09:17:21.000Z","dependencies_parsed_at":"2023-02-17T04:16:15.090Z","dependency_job_id":"5d8f3f5b-de97-4e43-9159-5852d13b7dc3","html_url":"https://github.com/enthought/traitsui","commit_stats":{"total_commits":4308,"total_committers":144,"mean_commits":"29.916666666666668","dds":0.8180129990714948,"last_synced_commit":"b58062b451b45c97363346c3d2a9252dd5d059f8"},"previous_names":[],"tags_count":35,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enthought%2Ftraitsui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enthought%2Ftraitsui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enthought%2Ftraitsui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enthought%2Ftraitsui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enthought","download_url":"https://codeload.github.com/enthought/traitsui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247809964,"owners_count":20999816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T03:24:19.770Z","updated_at":"2025-04-08T09:09:22.174Z","avatar_url":"https://github.com/enthought.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"============================================\nTraitsUI: Traits-capable windowing framework\n============================================\n\nThe TraitsUI project provides a toolkit-independent GUI abstraction layer,\nwhich is used to support the \"visualization\" features of the\n`Traits \u003chttp://github.com/enthought/traits\u003e`__ package.\nYou can write a model using the Traits API and specify a GUI using the TraitsUI\nAPI (views, items, editors, etc.), and let TraitsUI and your selected toolkit\nback-end (Qt or Wx) take care of the details of displaying them.\n\nExample\n-------\n\nGiven a Traits model like the following::\n\n    from traits.api import HasTraits, Str, Range, Enum\n\n    class Person(HasTraits):\n        name = Str('Jane Doe')\n        age = Range(low=0)\n        gender = Enum('female', 'male')\n\n    person = Person(age=30)\n\nAnd using TraitsUI to specify and display a GUI view::\n\n    from traitsui.api import Item, RangeEditor, View\n\n    person_view = View(\n        Item('name'),\n        Item('gender'),\n        Item('age', editor=RangeEditor(mode='spinner', low=0, high=150)),\n        buttons=['OK', 'Cancel'],\n        resizable=True,\n    )\n\n    person.configure_traits(view=person_view)\n\nIt creates a GUI which looks like this:\n\n.. image:: https://raw.github.com/enthought/traitsui/main/README_example.png\n\nImportant Links\n---------------\n\n- Website and Documentation: `\u003chttp://docs.enthought.com/traitsui\u003e`__\n\n  * User Manual `\u003chttp://docs.enthought.com/traitsui/traitsui_user_manual\u003e`__\n  * Tutorial `\u003chttp://docs.enthought.com/traitsui/tutorials\u003e`__\n  * API Documentation `\u003chttp://docs.enthought.com/traitsui/api\u003e`__\n\n- Source code repository: `\u003chttps://github.com/enthought/traitsui\u003e`__\n\n  * Issue tracker: `\u003chttps://github.com/enthought/traitsui/issues\u003e`__\n\n- Download releases: `\u003chttps://pypi.python.org/pypi/traitsui\u003e`__\n\n- Mailing list: `\u003chttps://groups.google.com/forum/#!forum/ets-users\u003e`__\n\nInstallation\n------------\n\nIf you want to run traitsui, you must also install:\n\n- Traits `\u003chttps://github.com/enthought/traits\u003e`__\n- Pyface `\u003chttps://github.com/enthought/pyface\u003e`__\n\nYou will also need one of the following backends:\n\n- wxPython\n- PySide2\n- PyQt5\n\nBackends have additional dependencies and there are optional dependencies on\nNumPy and Pandas for some editors.\n\nTraitsUI along with all dependencies can be installed in a straightforward way\nusing the `Enthought Deployment Manager \u003chttp://docs.enthought.com/edm/\u003e`__,\n``pip`` or other package managers.\n\n.. end_of_long_description\n\nRunning the Test Suite\n----------------------\n\nTo run the test suite, you will need to install Git and\n`EDM \u003chttp://docs.enthought.com/edm/\u003e`__ as well as have a Python environment\nwhich has install `Click \u003chttp://click.pocoo.org/\u003e`__ available. You can then\nfollow the instructions in ``etstool.py``.  In particular::\n\n    \u003e python etstool.py test_all\n\nwill run tests in all supported environments automatically.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenthought%2Ftraitsui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenthought%2Ftraitsui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenthought%2Ftraitsui/lists"}