[![Build Status](https://github.com/slaclab/pydm/actions/workflows/run-tests.yml/badge.svg?branch=master)](https://github.com/slaclab/pydm/actions/workflows/run-tests.yml)
![PyDM: Python Display Manager](pydm_banner_full.png)
<p>
<img src="pydm_launcher/icons/pydm_128.png" width="128" height="128" align="right"/>
<h1>PyDM: Python Display Manager</h1>
</p>
<p align="left">
PyDM is a PyQt-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.
<br>
<br>
</p>
<p align="center">
<strong>« Explore PyDM <a href="https://slaclab.github.io/pydm/">docs</a> and <a href="https://slaclab.github.io/pydm/tutorials/index.html">tutorials</a> »</strong>
<br>
<br>
<a href="https://github.com/slaclab/pydm/issues/new?template=bug-report.md">Report bug</a>
·
<a href="https://github.com/slaclab/pydm/issues/new?template=feature-request.md&labels=request">Request feature</a>
·
<a href="https://github.com/slaclab/pydm/blob/master/.github/CONTRIBUTING.md">How to Contribute</a>
·
<a href="https://github.com/slaclab/pydm/blob/master/.github/SUPPORT.md">Support</a>
</p>
<br>
# Python Qt Wrapper
PyDM project uses the [qtpy](https://github.com/spyder-ide/qtpy)
as the abstraction layer for the Qt Python wrappers (PyQt5/PyQt4/PySide2/PySide).
**All tests are performed with PyQt5**.
# Prerequisites
* Python 3.7+
* Qt 5.6 or higher
* qtpy
* PyQt5 >= 5.7 or any other Qt Python wrapper.
> **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 PyQt plugin for Designer installed. This usually
> happens automatically when you install PyQt 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'
# 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:
```bash
pip install -r dev-requirements.txt
python run_tests.py
```
If you want to see the coverage report do:
```bash
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 <filename>'.
There is a 'home' display in the examples directory with buttons to launch all
the examples:
```python
python scripts/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:
```bash
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 PyQt
Designer Plugin.
If you want to use the pydm widgets in Qt Designer, add the pydm directory
(which holds designer_plugin.py) to your PYQTDESIGNERPATH environment variable.
Eventually, this will happen automatically in some kind of setup script.
# Easy Installing PyDM
## Using the source code
```sh
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 <a href="https://slaclab.github.io/pydm/installation.html">installation guide</a>.
Raw data
{
"_id": null,
"home_page": "https://github.com/slaclab/pydm",
"name": "pydm",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "SLAC National Accelerator Laboratory",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/2a/2a/ecae87101208da1eeec8c752c11899cdb1f8bd502ee82bef76a54641e113/pydm-1.25.1.tar.gz",
"platform": null,
"description": "[![Build Status](https://github.com/slaclab/pydm/actions/workflows/run-tests.yml/badge.svg?branch=master)](https://github.com/slaclab/pydm/actions/workflows/run-tests.yml)\n\n![PyDM: Python Display Manager](pydm_banner_full.png)\n\n<p>\n <img src=\"pydm_launcher/icons/pydm_128.png\" width=\"128\" height=\"128\" align=\"right\"/>\n <h1>PyDM: Python Display Manager</h1>\n</p>\n\n<p align=\"left\">\n PyDM is a PyQt-based framework for building user interfaces for control systems.\n The goal is to provide a no-code, drag-and-drop system to make simple screens,\n as well as a straightforward Python framework to build complex applications.\n <br>\n <br>\n</p>\n<p align=\"center\">\n <strong>\u00ab Explore PyDM <a href=\"https://slaclab.github.io/pydm/\">docs</a> and <a href=\"https://slaclab.github.io/pydm/tutorials/index.html\">tutorials</a> \u00bb</strong>\n <br>\n <br>\n <a href=\"https://github.com/slaclab/pydm/issues/new?template=bug-report.md\">Report bug</a>\n \u00b7\n <a href=\"https://github.com/slaclab/pydm/issues/new?template=feature-request.md&labels=request\">Request feature</a>\n \u00b7\n <a href=\"https://github.com/slaclab/pydm/blob/master/.github/CONTRIBUTING.md\">How to Contribute</a>\n \u00b7\n <a href=\"https://github.com/slaclab/pydm/blob/master/.github/SUPPORT.md\">Support</a>\n</p>\n\n<br>\n\n# Python Qt Wrapper\nPyDM project uses the [qtpy](https://github.com/spyder-ide/qtpy)\nas the abstraction layer for the Qt Python wrappers (PyQt5/PyQt4/PySide2/PySide).\n**All tests are performed with PyQt5**.\n\n# Prerequisites\n* Python 3.7+\n* Qt 5.6 or higher\n* qtpy\n* PyQt5 >= 5.7 or any other Qt Python wrapper.\n> **Note:**\n> If you'd like to use Qt Designer (drag-and-drop tool to build interfaces) you'll\n> need to make sure you have the PyQt plugin for Designer installed. This usually\n> happens automatically when you install PyQt from source, but if you install it\n> from a package manager, it may be left out.\n\nPython package requirements are listed in the requirements.txt file, which can\nbe used to install all requirements from pip: 'pip install -r requirements.txt'\n\n# Running the Tests\nIn order to run the tests you will need to install some dependencies that are\nnot part of the runtime dependencies of PyDM.\n\nAssuming that you have cloned this repository do:\n\n```bash\npip install -r dev-requirements.txt\n\npython run_tests.py\n```\n\nIf you want to see the coverage report do:\n```bash\npython run_tests.py --show-cov\n```\n\n# Running the Examples\nThere are various examples of some of the features of the display manager.\nTo launch a particular display run 'python scripts/pydm <filename>'.\n\nThere is a 'home' display in the examples directory with buttons to launch all\nthe examples:\n```python\npython scripts/pydm examples/home.ui\n```\n\n# Building the Documentation Locally\nIn order to build the documentation you will need to install some dependencies\nthat are not part of the runtime dependencies of PyDM.\n\nAssuming that you have cloned this repository do:\n\n```bash\npip install -r docs-requirements.txt\n\ncd docs\nmake html\n```\n\nThis will generate the HTML documentation for PyDM at the `<>/docs/build/html`\nfolder. Look for the `index.html` file and open it with your browser.\n\n# Online Documentation\n\nDocumentation is available at http://slaclab.github.io/pydm/. Documentation is\nsomewhat sparse right now, unfortunately.\n\n# Widget Designer Plugins\npydm widgets are written in Python, and are loaded into Qt Designer via the PyQt\nDesigner Plugin.\nIf you want to use the pydm widgets in Qt Designer, add the pydm directory\n(which holds designer_plugin.py) to your PYQTDESIGNERPATH environment variable.\nEventually, this will happen automatically in some kind of setup script.\n\n# Easy Installing PyDM\n## Using the source code\n```sh\ngit clone https://github.com/slaclab/pydm.git\ncd pydm\npip install .[all]\n```\n\n## Using Anaconda\n\nWhen using Anaconda to install PyDM at a Linux Environment it will automatically\ndefine the PYQTDESIGNERPATH environment variable pointing to /etc/pydm which\nwill have a file named designer_plugin.py which will make all the PyDM widgets\navailable to the Qt Designer. For more information please see\nour <a href=\"https://slaclab.github.io/pydm/installation.html\">installation guide</a>.\n",
"bugtrack_url": null,
"license": "BSD",
"summary": "Python Display Manager",
"version": "1.25.1",
"project_urls": {
"Homepage": "https://github.com/slaclab/pydm"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2a2aecae87101208da1eeec8c752c11899cdb1f8bd502ee82bef76a54641e113",
"md5": "75d98660770ff194a370d7c03f39be1d",
"sha256": "1eedd760ac347488eaa6ac4d95941bbaa7b92c468836e5e9d19d6350a08c4808"
},
"downloads": -1,
"filename": "pydm-1.25.1.tar.gz",
"has_sig": false,
"md5_digest": "75d98660770ff194a370d7c03f39be1d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 640245,
"upload_time": "2024-10-08T22:11:37",
"upload_time_iso_8601": "2024-10-08T22:11:37.526237Z",
"url": "https://files.pythonhosted.org/packages/2a/2a/ecae87101208da1eeec8c752c11899cdb1f8bd502ee82bef76a54641e113/pydm-1.25.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-08 22:11:37",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "slaclab",
"github_project": "pydm",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"requirements": [
{
"name": "entrypoints",
"specs": []
},
{
"name": "numpy",
"specs": [
[
">=",
"1.11.0"
]
]
},
{
"name": "pyepics",
"specs": [
[
">=",
"3.2.7"
]
]
},
{
"name": "pyqtgraph",
"specs": [
[
">=",
"0.12.0"
]
]
},
{
"name": "qtpy",
"specs": []
},
{
"name": "scipy",
"specs": [
[
">=",
"0.12.0"
]
]
},
{
"name": "six",
"specs": []
}
],
"lcname": "pydm"
}