microsync — Python driver for microscope synchronization device
Python driver for microsync — a universal 32-bit Arduino Due-based triggering device. Control lasers, cameras, and timing with microsecond precision.
- Full documentation: stjude-smc.github.io/microsync
- Repository: github.com/stjude-smc/microsync
Install
Requires Python 3.7+ and pyserial (installed automatically):
pip install microsync
Quick start
Upload the microsync firmware to an Arduino Due, then:
from microsync import SyncDevice
sd = SyncDevice("COM4") # or "/dev/ttyUSB0" on Linux
sd.pos_pulse("D8", 1000, ts=1000) # 1 ms pulse on D8 after 1 ms delay
sd.go()
Features
- Microsecond-precision event scheduling (pulses, toggles, camera triggers)
- Laser shutter and interlock safety logic
- Acquisition modes: continuous, stroboscopic, ALEX
- Interactive event visualization (Bokeh)
- Context manager for jitter-free batch commands
Metadata
Release files for microsync 2.6.3
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 |
|---|---|---|---|---|
| microsync-2.6.3.tar.gz | 254.2 kB | With provenance | Details for microsync-2.6.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| microsync-2.6.3-py3-none-any.whl | Python 3 | none | any | Details for microsync-2.6.3-py3-none-any.whl |
Total release size: 278.9 kB
Release files / microsync-2.6.3.tar.gz
| Download URL | microsync-2.6.3.tar.gz |
|---|---|
| Size | 254.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20220d8441541fc6e16dbd94b0d0f7d070739239d6bd6ae3330363e05c3062ee
|
|
BLAKE2b-256 checksum How to use checksums |
27a5f91141d2535ebe25559d71501cb2c1adcc6534fe10cace88619628a3c6db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 6, 2026.
Transparency logRelease files / microsync-2.6.3-py3-none-any.whl
| Download URL | microsync-2.6.3-py3-none-any.whl |
|---|---|
| Size | 24.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd953136025a2f9b3fc7f6ec49726561e95c9da6b653694397ab5ea7f32b9acd
|
|
BLAKE2b-256 checksum How to use checksums |
fcb555ef7415c07b8cafbac18a44823796c2203508dc68362004e872f70ef222
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 6, 2026.
Transparency logSecurity for microsync 2.6.3
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for microsync-2.6.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 6, 2026.
Transparency logA 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.