Skip to main content

Build Status: PyQt5 Build Status: PyQt6 Build Status: PySide6

PyDM: Python Display Manager

PyDM: Python Display Manager

PyDM is a Python-Qt based framework for building user interfaces for control systems. The goal is to provide a no-code, drag-and-drop system to make simple screens, as well as a straightforward Python framework to build complex applications.

« Explore PyDM docs and tutorials »

Report bug · Request feature · How to Contribute · Support


Python Qt Wrapper

PyDM project uses the qtpy as the abstraction layer for the Qt Python wrappers (PyQt5/PyQt4/PySide2/PySide6). All tests are performed with PyQt5.

Prerequisites

  • Python >= 3.10, <= 3.12
  • Qt 5.6 or higher
  • qtpy
  • PyQt5 >= 5.7 or PySide6 >= 6.9.2

Note: If you'd like to use Qt Designer (drag-and-drop tool to build interfaces) you'll need to make sure you have the PyQt5/PySide6 plugin for Designer installed. This usually happens automatically when you install PyQt5/PySide6 from source, but if you install it from a package manager, it may be left out.

Python package requirements are listed in the requirements.txt file, which can be used to install all requirements from pip: 'pip install -r requirements.txt'

Related Projects

PyDMConverter: A new tool for converting legacy control system displays (eg. EDM) into PyDM.

Related Projects: a list of some active projects built using PyDM.

Getting Started

For developers who wish to contribute to PyDM and modify the source code, please follow the "Getting Started!" instructions found here.

For users who want to just install and run PyDM, follow the "Installation" instructions found in the docs.

Running the Tests

In order to run the tests you will need to install some dependencies that are not part of the runtime dependencies of PyDM.

Assuming that you have cloned this repository do:

pip install -r dev-requirements.txt

python run_tests.py

If you want to see the coverage report do:

python run_tests.py --show-cov

Running the Examples

There are various examples of some of the features of the display manager. To launch a particular display run 'python scripts/pydm '.

There is a 'home' display in the examples directory with buttons to launch all the examples:

pydm examples/home.ui

Building the Documentation Locally

In order to build the documentation you will need to install some dependencies that are not part of the runtime dependencies of PyDM.

Assuming that you have cloned this repository do:

pip install -r docs-requirements.txt

cd docs
make html

This will generate the HTML documentation for PyDM at the <>/docs/build/html folder. Look for the index.html file and open it with your browser.

Online Documentation

Documentation is available at http://slaclab.github.io/pydm/. Documentation is somewhat sparse right now, unfortunately.

Widget Designer Plugins

PyDM widgets are written in Python, and are loaded into Qt Designer via the PyQt5/PySide6 Qt Designer Plugin.

For PyQt5, if you want to use the pydm widgets in Qt Designer, add the pydm directory (which holds register_pydm_designer_plugin.py) to your PYQTDESIGNERPATH environment variable. For PySide6, add the pydm directory to your PYSIDE_DESIGNER_PLUGINS environment variable instead. Eventually, this will happen automatically in some kind of setup script.

Easy Installing PyDM

Using the source code

git clone https://github.com/slaclab/pydm.git
cd pydm
pip install .[all]

Using Anaconda

When using Anaconda to install PyDM at a Linux Environment it will automatically define the PYQTDESIGNERPATH environment variable pointing to /etc/pydm which will have a file named designer_plugin.py which will make all the PyDM widgets available to the Qt Designer. For more information please see our installation guide.

Download files

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

Source Distribution

pydm-1.29.0.tar.gz (18.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pydm-1.29.0-py3-none-any.whl (783.3 kB view details)

Uploaded Python 3

File details

Details for the file pydm-1.29.0.tar.gz.

File metadata

  • Download URL: pydm-1.29.0.tar.gz
  • Upload date:
  • Size: 18.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for pydm-1.29.0.tar.gz
Algorithm Hash digest
SHA256 e705e0f1422e66e13ba0f2828c4be37881c98ef0d39acb8ee0b7a7932efd2654
MD5 e728e94d1b93cc081a006166e6d44950
BLAKE2b-256 b01c555472e7369d3a580d77bf6db6f08d5fea0aa7e8086c5403420d80a1c12a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydm-1.29.0.tar.gz:

Publisher: publish-to-pypi.yml on slaclab/pydm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pydm-1.29.0-py3-none-any.whl.

File metadata

  • Download URL: pydm-1.29.0-py3-none-any.whl
  • Upload date:
  • Size: 783.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for pydm-1.29.0-py3-none-any.whl
Algorithm Hash digest
SHA256 27d4f02cb069ea346019ac7374d6a298d4f9b71eaea2289b0c143802f4ac81ea
MD5 b35fe09202e52ef042c88656a8dff506
BLAKE2b-256 1bda619ee931dbc16f6503760b4774a8ac552ece29553dffcbcb00cc6917a82f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pydm-1.29.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on slaclab/pydm

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.29.0 This release

2 files

1.28.3

2 files

1.28.2

2 files

1.28.1

2 files

1.28.0

2 files

1.27.2

2 files

1.27.1

2 files

1.27.0

2 files

1.25.2

1 file

1.25.1

1 file

1.24.1

1 file

1.24.0

1 file

1.23.0

1 file

1.22.1

1 file

1.22.0

1 file

1.21.0

1 file

1.20.1

1 file

1.20.0

1 file

1.19.1

1 file

1.19.0

1 file

1.18.2

1 file

1.18.1

1 file

1.18.0

1 file

1.17.0

1 file

1.16.3

1 file

1.16.2

1 file

1.16.1

1 file

1.16.0

1 file

1.15.1

1 file

1.15.0

1 file

1.14.0

1 file

1.13.0

1 file

1.12.0

1 file

1.11.1

1 file

1.11.0

1 file

1.10.7

1 file

1.10.6

1 file

1.10.5

1 file

1.10.4

1 file

1.10.3

1 file

1.10.2

1 file

1.10.1

1 file

1.10.0

1 file

1.9.0

1 file

1.8.0

1 file

1.7.3

1 file

1.7.2

1 file

1.7.1

1 file

1.7.0

1 file

1.6.4

1 file

1.6.3

1 file

1.6.2

1 file

1.6.1

1 file

1.6.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page