polyscience
Python driver for Polyscience Advanced Digital Controller Circulating Baths.
Note: We've moved away from using these baths, opting instead for Huber. On top of the communication issues, these units were remarkably unreliable.
This was created to support older circulating baths (before touch screen models). These older devices have ethernet ports, but only support serial communication over UDP. This code attempts to handle the awkwardness of serial-over-UDP communication, providing a simple API to read and control the unit.
Installation
pip install polyscience
Usage
Command Line
Read the bath from any networked computer with:
polyscience [ip-address]
This provides methods to set temperature, pump speed, control, and others. See polyscience --help for more.
Python
For complex interaction, use this as part of a Python script.
from polyscience import CirculatingBath
bath = CirculatingBath('192.168.1.100')
print(bath.get_setpoint())
A common usage is to create an interactive web site. This driver blocks (my earlier async implementations were prone to overwhelming the bath), so put the bath i/o in its own thread.
Metadata
Release files for polyscience 0.1.16
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| polyscience-0.1.16.tar.gz | 4.5 kB | Without provenance | Details for polyscience-0.1.16.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| polyscience-0.1.16-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for polyscience-0.1.16-py2.py3-none-any.whl |
Total release size: 16.8 kB
Release files / polyscience-0.1.16.tar.gz
| Download URL | polyscience-0.1.16.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d1937f5784118b0fb7ec9dc63c54f6f99e08a713b51a00948c24c37fe0db146
|
|
BLAKE2b-256 checksum How to use checksums |
ec274787a95e958d7e4e0d5954abe7bf5b878aa0b062a33f78ade89dbeb6af6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.1
|
Release files / polyscience-0.1.16-py2.py3-none-any.whl
| Download URL | polyscience-0.1.16-py2.py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
4257c3ffc1de8e1ba1d7c4a54362e9e481cc82a0435e67b5720fee8891c20a7a
|
|
BLAKE2b-256 checksum How to use checksums |
2bbaee190a5a105c7df5887f9be62666f06c056c361a8db47e1dbfcebaa2991f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.1
|
Security for polyscience 0.1.16
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.