Skip to main content

traits-capable windowing framework

Project description

https://travis-ci.org/enthought/pyface.svg?branch=master https://ci.appveyor.com/api/projects/status/68nfb049cdq9wqd1/branch/master?svg=true

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:

  • PyQt 4 and 5
  • PySide2
  • 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 PyQt5 dependencies:

$ pip install pyface[pyqt5]

To install with wxPython4 dependencies (experimental):

$ pip install pyface[wx]

To install with additional test dependencies:

$ pip install pyface[test]

Prerequisites

Pyface depends on:

  • a GUI toolkit: one of PySide2, PyQt4, PyQt5 or WxPython
  • Traits
  • Pygments for syntax highlighting in the Qt code editor widget.
  • some widgets may have additional optional dependencies.

Download files

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

Files for pyface, version 7.3.0
Filename, size File type Python version Upload date Hashes
Filename, size pyface-7.3.0.tar.gz (6.1 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page