Skip to main content

No project description provided

Project description

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-*

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mm_test_adapters-74.20260206.tar.gz (141.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mm_test_adapters-74.20260206-py3-none-win_amd64.whl (396.1 kB view details)

Uploaded Python 3Windows x86-64

mm_test_adapters-74.20260206-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.1 MB view details)

Uploaded Python 3manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

mm_test_adapters-74.20260206-py3-none-macosx_11_0_arm64.whl (548.5 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

mm_test_adapters-74.20260206-py3-none-macosx_10_9_x86_64.whl (578.1 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file mm_test_adapters-74.20260206.tar.gz.

File metadata

  • Download URL: mm_test_adapters-74.20260206.tar.gz
  • Upload date:
  • Size: 141.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mm_test_adapters-74.20260206.tar.gz
Algorithm Hash digest
SHA256 93c288f5defe4429f9a2cb6aab4433ef6a8c892948b444f21eaebd82a1d6c29f
MD5 abff40620d68916fecf29973c8844af2
BLAKE2b-256 1f721bb64e35ddaca46121d0f06897fed30fc68cd087c9b6962c9cee75b606ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for mm_test_adapters-74.20260206.tar.gz:

Publisher: ci.yml on micro-manager/mm-test-adapters

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mm_test_adapters-74.20260206-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for mm_test_adapters-74.20260206-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 345bcd9cfdecb303ef4f7221f5301309cdf097ac02b8ca558477fcf75afd588c
MD5 38afbf42b3fb5bcc160cc6d3d6d403ad
BLAKE2b-256 7fe0b290f5215096d2596d7bfb5d3a01dfb8e222612c88bb33ec38f0bab0f654

See more details on using hashes here.

Provenance

The following attestation bundles were made for mm_test_adapters-74.20260206-py3-none-win_amd64.whl:

Publisher: ci.yml on micro-manager/mm-test-adapters

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mm_test_adapters-74.20260206-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mm_test_adapters-74.20260206-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 be9d76a3884d4d84163d7bd540a18ec851d244a04b324420a8e4ebe5bc656edd
MD5 65a4a367692261aa1885c991b40ddbae
BLAKE2b-256 8b07e7be3ec1a32fd180951ab764f78dd626d9f74d7f426dae11cb7c3639c26f

See more details on using hashes here.

Provenance

The following attestation bundles were made for mm_test_adapters-74.20260206-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: ci.yml on micro-manager/mm-test-adapters

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mm_test_adapters-74.20260206-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mm_test_adapters-74.20260206-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e2c4b72dbc762aba1f2285c58166173cbc27e98c43f5c84d94695b764b842f95
MD5 470acd3b580c6f142aeb74ba4ecd67f0
BLAKE2b-256 0e98d0462372553bb89c68dcb4eaed76138601ee020ada2d136ceafe1cfa5d04

See more details on using hashes here.

Provenance

The following attestation bundles were made for mm_test_adapters-74.20260206-py3-none-macosx_11_0_arm64.whl:

Publisher: ci.yml on micro-manager/mm-test-adapters

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mm_test_adapters-74.20260206-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for mm_test_adapters-74.20260206-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7ac802eff60cf5b9fc10047b21e52ea880ffd5ae4b64035c26da876795b745b9
MD5 4e1ddd9fa7787e07afd0db623cb20615
BLAKE2b-256 a2c53cbaee67f612cec161cf54fd4484b37b2590d131f3a2f886c9c1b3237a58

See more details on using hashes here.

Provenance

The following attestation bundles were made for mm_test_adapters-74.20260206-py3-none-macosx_10_9_x86_64.whl:

Publisher: ci.yml on micro-manager/mm-test-adapters

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page