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.
Metadata
Release files for plesty-pyforpicam 0.5.0
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 |
|---|---|---|---|---|
| plesty_pyforpicam-0.5.0.tar.gz | 194.8 kB | Without provenance | Details for plesty_pyforpicam-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| plesty_pyforpicam-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for plesty_pyforpicam-0.5.0-py3-none-any.whl |
Total release size: 252.1 kB
Release files / plesty_pyforpicam-0.5.0.tar.gz
| Download URL | plesty_pyforpicam-0.5.0.tar.gz |
|---|---|
| Size | 194.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c7a7efcf4e7e7a7e74ba91d11436c311fad0d5b3fbac97d64532c60f4557c12
|
|
BLAKE2b-256 checksum How to use checksums |
9d0516247cba56027e25ab00b96790534292438fc70ac1759699a9715297c30b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / plesty_pyforpicam-0.5.0-py3-none-any.whl
| Download URL | plesty_pyforpicam-0.5.0-py3-none-any.whl |
|---|---|
| Size | 57.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1067de857e365a610df1f8f2c847ca0ac86901b2adcf9bd2c49c39fa279fe57f
|
|
BLAKE2b-256 checksum How to use checksums |
bac43a738c1b0714e17200e433e983fc7541dc6149f066f566fc69b016bfcbba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Security for plesty-pyforpicam 0.5.0
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.