TCP/IP client for communicating with PriarieView
Project description
PyPrLink
A TCP/IP client for communicating with PrairieView. Alternate for PrairieLink Application from Python. Python-PrairieLink (PyPrLink)
Installation
pip install pyprlink
Usage
As a Python Module
from pyprlink.tcp_client import ask_PV
# Send commands to PrairieView
ask_PV('-gmp', 'x') # Get motor position for X-stage
ask_PV('-pg', '3', '400') # Set PMT Gain on Channel 3 to 400
From Command Line
After installation, you can use the pypr command directly:
pypr -gmp x
pypr -pg 3 400
Development
Install development dependencies:
pip install -e ".[dev]"
Run tests:
pytest
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyprlink-0.1.3.tar.gz.
File metadata
- Download URL: pyprlink-0.1.3.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ddae1964820ab168db9aaef0ba57907a01c60cd93c280f3049dbf77bfed3a58
|
|
| MD5 |
4566a54e83cab55a41b4f8a5af2527f6
|
|
| BLAKE2b-256 |
8b901ade95e77e0d6d48805f376f6d8d3cdd2dfee89044ccb0c597f6da2dfad6
|
File details
Details for the file pyprlink-0.1.3-py3-none-any.whl.
File metadata
- Download URL: pyprlink-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
defaf35b338558e7b021d3dd2ba0ce02ca199aee88f51cacc4b33e960fe0a630
|
|
| MD5 |
c6efe8d562196272b7314eed38380d8e
|
|
| BLAKE2b-256 |
55a1c2ae5880b5754cbd9077d3d70541137bdc5f2e96e64aa02f27033056706d
|