Skip to main content

traits-capable windowing framework

Project description

The Pyface project contains a toolkit-independent GUI abstraction layer, which is used to support the “visualization” features of the Traits package. Thus, you can write code in terms of the Traits API (views, items, editors, etc.), and let Pyface and your selected toolkit and back-end take care of the details of displaying them.

The following GUI backends are supported:

  • PySide2 (stable) and PySide6 (experimental)

  • PyQt5 (stable) and PyQt6 (in development)

  • wxPython 4 (experimental)


GUI backends are marked as optional dependencies of Pyface. Some features or infrastructures may also require additional dependencies.

To install with PySide2 dependencies:

$ pip install pyface[pyside2]

To install with PySide6 dependencies (experimental):

$ pip install pyface[pyside6]

To install with PyQt5 dependencies:

$ pip install pyface[pyqt5]

To install with wxPython4 dependencies (experimental):

$ pip install pyface[wx]

pillow is an optional dependency for the PILImage class:

$ pip install pyface[pillow]

To install with additional test dependencies:

$ pip install pyface[test]



Pyface depends on:

  • Traits

  • a GUI toolkit as described above

  • Pygments for syntax highlighting in the Qt code editor widget.

  • some widgets may have additional optional dependencies such as NumPy or Pillow.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyface-7.4.4.tar.gz (7.8 MB view hashes)

Uploaded source

Built Distribution

pyface-7.4.4-py3-none-any.whl (1.3 MB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page