Skip to main content

mm-test-adapters

This builds device adapters commonly used for testing and development of mmCoreAndDevices (micro-manager).

  • DemoCamera
  • Utilities
  • SequenceTester
  • NotificationTester

It makes these builds available in two places:

  1. Via GitHub releases: https://github.com/micro-manager/mm-test-adapters/releases

    These releases include just the shared libraries for these adapters.

  2. Via a PyPI package:

    pip install mm-test-adapters
    

    This package includes the shared libraries, and a single public method, mm_test_adapters.device_adapter_path, which returns a path to the device adapters folder.

Using PyPI Package

import pymmcore  # or pymmcore_plus
from mm_test_adapters import device_adapter_path

core = pymmcore.CMMCore()
core.setDeviceAdapterSearchPaths([device_adapter_path()])

Build Adapters

To build these locally, you should first have system boost installed:

# macos
brew install boost
# ubuntu
sudo apt-get install libboost-all-dev
# windows
choco install boost-msvc-14.2
uv sync --no-editable
# or
uv run fetch.py --build

Build Python Package

To build an sdist and wheel, run:

uv build

You may optionally set the env var MM_SHA to build a specific commit of mmCoreAndDevices.

Cleanup

If you want to remove all external sources and build files:

make clean

note, the makefile also works on Windows if you have git for windows.

Using Releases on CI

To use these on CI see https://github.com/pymmcore-plus/setup-mm-test-adapters

- name: Install MM test adapters
  uses: pymmcore-plus/setup-mm-test-adapters@main
  with:
    # all inputs are optional
    # version should look like:
    #   literal string 'latest'
    #   DIV -> version: 74
    #   DIV.YYYYMMDD -> version: 74.202508
    version: latest
    destination: ./mm-test-adapters

Using Releases Locally

Download the release you would like to use, then place it wherever Micro-Manager is looking for device adapters.

To have them found by pymmcore-plus, place them in the default pymmcore-plus install location, named Micro-Manager-YYYYMMDD

  • Windows: $LOCALAPPDATA/pymmcore-plus/pymmcore-plus/mm/Micro-Manager-YYYYMMDD
  • macOS: $HOME/Library/Application Support/pymmcore-plus/mm/Micro-Manager-YYYYMMDD
  • Linux: $HOME/.local/share/pymmcore-plus/mm/Micro-Manager-YYYYMMDD

[!TIP] On macOS, you will need to give permissions to allow the shared libraries to run:

xattr -r -d com.apple.quarantine ~/Library/Application\ Support/pymmcore-plus/mm/Micro-Manager-*

Metadata

Release files for mm-test-adapters 74.20251014

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mm-test-adapters 74.20251014
File Size Uploaded
mm_test_adapters-74.20251014.tar.gz 134.7 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for mm-test-adapters 74.20251014
File
mm_test_adapters-74.20251014-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
mm_test_adapters-74.20251014-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details
mm_test_adapters-74.20251014-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
mm_test_adapters-74.20251014-py3-none-macosx_10_9_x86_64.whl Python 3 none macOS 10.9+ x86-64 Details

Total release size: 2.7 MB

Release files / mm_test_adapters-74.20251014.tar.gz

Download URL mm_test_adapters-74.20251014.tar.gz
Size 134.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0f83ce60d5998fbf6c70c2ad958acd4c75e27a92aa9f47e5ab4ccb705252a903
BLAKE2b-256 checksum
How to use checksums
e3cecfbd579247da9e850011210cb056feefbf7c45d14a506dfbbc15073f0b93
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 Oct 14, 2025.

Transparency log

Release files / mm_test_adapters-74.20251014-py3-none-win_amd64.whl

Download URL mm_test_adapters-74.20251014-py3-none-win_amd64.whl
Size 391.9 kB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
76d709896cae782863b0c5241fa07892406ed409a33aa2ba6cae21ae509ca661
BLAKE2b-256 checksum
How to use checksums
c0b3fd86a9070d2814aba67a66a7455e1b8f2795335bd006babae84763c84cde
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 Oct 14, 2025.

Transparency log

Release files / mm_test_adapters-74.20251014-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL mm_test_adapters-74.20251014-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 1.0 MB
Tags Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
98c56e15116286ec782502783f19174c909cd1391d4df726a0fe8981be71f021
BLAKE2b-256 checksum
How to use checksums
e6bd14a4b5d8f068b2f5787aaceb43d32154ea0d64e9c1fd7cfcc641657eeb48
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 Oct 14, 2025.

Transparency log

Release files / mm_test_adapters-74.20251014-py3-none-macosx_11_0_arm64.whl

Download URL mm_test_adapters-74.20251014-py3-none-macosx_11_0_arm64.whl
Size 549.0 kB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c89a04c6159c56c1ebf2cdcf567af3c4b21345d9880b81e1d740e8b8cf0908f2
BLAKE2b-256 checksum
How to use checksums
3507ee9be23b0819c400e093440ab9778e63ed1227d842d2a7c39d8f1704eeaf
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 Oct 14, 2025.

Transparency log

Release files / mm_test_adapters-74.20251014-py3-none-macosx_10_9_x86_64.whl

Download URL mm_test_adapters-74.20251014-py3-none-macosx_10_9_x86_64.whl
Size 569.5 kB
Tags Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
d47e6a8ec71c72327c88cd1c73b03cb577740fee6b1978b7bbcdbd592ff08bcb
BLAKE2b-256 checksum
How to use checksums
196fdc4337a65376530696c6fe966f6a2a68861db56b32e1ebbdaada3f75f736
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 Oct 14, 2025.

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