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)

Installation

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]

Documentation

Prerequisites

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.

Project details


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.2.tar.gz (7.8 MB view hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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