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.20260209.post1.tar.gz (141.4 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.20260209.post1-py3-none-win_amd64.whl (392.0 kB view details)

Uploaded Python 3Windows x86-64

mm_test_adapters-74.20260209.post1-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.20260209.post1-py3-none-macosx_11_0_arm64.whl (544.3 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

mm_test_adapters-74.20260209.post1-py3-none-macosx_10_9_x86_64.whl (574.3 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file mm_test_adapters-74.20260209.post1.tar.gz.

File metadata

File hashes

Hashes for mm_test_adapters-74.20260209.post1.tar.gz
Algorithm Hash digest
SHA256 76145dbf5264ba762d5707ed7be3877fd1f0c282387120265a645b64c9d3d6b2
MD5 0f047bd284b25acbb61e1f3c019f6564
BLAKE2b-256 15b53879afa61006d650de00ca33d552a833d32b3c4ed8231ced75c1938c4a66

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260209.post1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7cb3bac0a2f4a8862e05c4ba7b08a5b25dfd894bd1c39b338d3e659f91b9152b
MD5 d25cfe6f2892679297131f9ee28516be
BLAKE2b-256 eb62bf39792d1caeb1ea49b7493b4fb4ec918a253c95f384440042d407d44c67

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260209.post1-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 eca8f2c4b837d7cbab1e84fa8a675ed459625369ea3aa780aa23318bb94b18fa
MD5 542ea031cc0a09db41db137bc61a6ff9
BLAKE2b-256 82a8fb7838d6abe9f61f6be8d94dd0756ecaebed6e328cb367f5e88251ee5f05

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260209.post1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 260c9ae6bbad3065be17eaa4a42697e0f9b89466be32f9d9a61a5d0166874061
MD5 7e0278f098e1e3fb6b60fee8709f2965
BLAKE2b-256 edf8161eef03dfab86175c41fee94216d77d6da549774a48e9ee73ae34fd692b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260209.post1-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 87ed82769c7f2144794de28d972e86869cd65be9391fc0d602e9ce7c6e87c632
MD5 8cde2baaf2d4dfcef73f396a67e640ec
BLAKE2b-256 e5d060cc71086147aaf673284fea29d4c70f28d38b92a6e38f1edf1acebeefee

See more details on using hashes here.

Provenance

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