Plesty PyForPICam
Python ctypes bindings for the Princeton Instruments PICam library.
This is a low-level support module for
plesty-picamccd:
it wraps the C functions exposed by the PICam SDK (Picam.dll) as plain
synchronous Python functions. It is not a Plesty device on its own — it provides
the raw call surface that a device driver builds on.
Async use is not baked in here. Callers that need await wrap the consuming
device with plesty.lib.device.async_wrapper.AsyncWrapperSafe, which offloads
the blocking ctypes calls to a worker thread.
Installation
uv add "plesty-pyforpicam @ git+https://gitlab.com/plesty/hub/devices/princeton_instruments/pyforpicam.git"
Usage
import plesty.pyforpicam as pyforpicam
from plesty.pyforpicam.PiFunctions import Picam_InitializeLibrary
Each Picam_* function takes the loaded PICam handle as its first argument and
returns True on success, raising the matching PicamError subclass otherwise.
License
Licensed under the GNU General Public License, version 3 or later
(GPL-3.0-or-later); see LICENSE. Note that PiFunctions.py derives from
PythonForPicam by Joe Lowney, distributed under the GNU General Public License
(see COPYING), and has been modified by the Plesty team.
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 plesty_pyforpicam-0.5.0.tar.gz.
File metadata
- Download URL: plesty_pyforpicam-0.5.0.tar.gz
- Upload date:
- Size: 194.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c7a7efcf4e7e7a7e74ba91d11436c311fad0d5b3fbac97d64532c60f4557c12
|
|
| MD5 |
3d0b053b44f0fbd267675ec2de27a46b
|
|
| BLAKE2b-256 |
9d0516247cba56027e25ab00b96790534292438fc70ac1759699a9715297c30b
|
File details
Details for the file plesty_pyforpicam-0.5.0-py3-none-any.whl.
File metadata
- Download URL: plesty_pyforpicam-0.5.0-py3-none-any.whl
- Upload date:
- Size: 57.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1067de857e365a610df1f8f2c847ca0ac86901b2adcf9bd2c49c39fa279fe57f
|
|
| MD5 |
965c317b40942298411c7eb13fe529f5
|
|
| BLAKE2b-256 |
bac43a738c1b0714e17200e433e983fc7541dc6149f066f566fc69b016bfcbba
|