Skip to main content

A package to write QT programs to control hardware

Project description

read-the-docs PyPI version pre-commit Code style: black

What is this repository for?

The goal is to provide reusable code for hardware control using python and Qt.

Documentation can be found at Read the Docs.

How do I get set up?

The easiest way is to pip install the software:

pip install hardware-control

Tests

Currently, we do not provide unit tests, since for the backends tests can really only be run with the hardware connected. Instead of tests, we provide example code that can be run after installing the package. All examples can be run using a --dummy mode which will enable a simulation mode that will make the software believe that all instruments are connected to the program (some instrument will also generate random data).

New controls and backends should therefore always implement a working example.

Contribution guidelines

Feel free to contribute new drivers for hardware or other changes.

We use black to format the code, so please format your code accordingly. The easiest way to achieve this is to install pre-commit and use the config file we provide:

pip install pre-commit
# cd into repo
pre-commit install

Who do I talk to?

If you have questions, please contact Arun at apersaud@lbl.gov.

Copyright and License

See the files COPYRIGHT and LICENSE in the top level directory

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

hardware-control-1.0.0.tar.gz (8.3 MB view hashes)

Uploaded Source

Built Distribution

hardware_control-1.0.0-py3-none-any.whl (268.5 kB 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