Skip to main content

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.

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)

Source distribution for microsync 2.6.3
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)

Table of built distributions (wheels) for microsync 2.6.3
File Interpreter ABI Platform Actions
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 log

Release 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 log

Security 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.

Select from 2 files

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 log

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.

Release history Release notifications | RSS feed

This release

2.6.3 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page