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-75.20260226.tar.gz (141.2 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-75.20260226-py3-none-win_amd64.whl (390.3 kB view details)

Uploaded Python 3Windows x86-64

mm_test_adapters-75.20260226-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-75.20260226-py3-none-macosx_11_0_arm64.whl (533.8 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

mm_test_adapters-75.20260226-py3-none-macosx_10_9_x86_64.whl (561.8 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: mm_test_adapters-75.20260226.tar.gz
  • Upload date:
  • Size: 141.2 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-75.20260226.tar.gz
Algorithm Hash digest
SHA256 2a22d01fa15608a6a1ead518e5db38020b039e7913d3a26a9b11a5449b5b94b7
MD5 1613ba2c90d643dfb5313d036f22ede2
BLAKE2b-256 3ae8b8cca7cf1effd35a920d2002ca9a6abd2e3e1356683fe963fb9f84abe605

See more details on using hashes here.

Provenance

The following attestation bundles were made for mm_test_adapters-75.20260226.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-75.20260226-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for mm_test_adapters-75.20260226-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7d3e46a2df956768133f8f5b4183a79b2d2e5961e8a7737ca61bc8962abe3990
MD5 af64d372e8603509e63e5be16de41a72
BLAKE2b-256 02836c3e6e60c7be3c748e46e62d6c4c55bf46669d09b8a150153b38d27a0432

See more details on using hashes here.

Provenance

The following attestation bundles were made for mm_test_adapters-75.20260226-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-75.20260226-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mm_test_adapters-75.20260226-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 237ac97e3126504da638a2a22945f690e5a13acdd52ed8047933a5593d8ae84c
MD5 3dd8f2731b47bddc02641e0d29ead6d3
BLAKE2b-256 22b0499aa9e5c76f714f95ca4ea9eb162c52a55322e6f15c02bfa3538b53a35d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mm_test_adapters-75.20260226-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-75.20260226-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mm_test_adapters-75.20260226-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d7317f5324f672a0a1facaef5d7037a720eaa3752902b6cb9ce51c6d3f372a2d
MD5 f6e9cf73485049a0e954be41fbcee46d
BLAKE2b-256 9bf8cadbcf54be22b65fe0d30b53b64d55c7f84fd0315ee3e1e201b4b5fe922b

See more details on using hashes here.

Provenance

The following attestation bundles were made for mm_test_adapters-75.20260226-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-75.20260226-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for mm_test_adapters-75.20260226-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 ffdfa92cce2a1c855caf1e06c110a82c66096a39e34797ef352b7b9f665452ad
MD5 94ad9e161788ede8ac877650d08a75f4
BLAKE2b-256 4418e039b6ba7e98f60331ebe9f3050a6e6bfccf8db4518d22e7f8b829eb676a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mm_test_adapters-75.20260226-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