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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

mm_test_adapters-74.20260219.post2-py3-none-win_amd64.whl (390.4 kB view details)

Uploaded Python 3Windows x86-64

mm_test_adapters-74.20260219.post2-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.20260219.post2-py3-none-macosx_11_0_arm64.whl (533.9 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

mm_test_adapters-74.20260219.post2-py3-none-macosx_10_9_x86_64.whl (562.0 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file mm_test_adapters-74.20260219.post2-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for mm_test_adapters-74.20260219.post2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7ba8ed45f98b549c07f32f6b97e4fd8ac9d71d777240a0f54a5a05ebdfa4d2ac
MD5 8df4af4b62dff87379f3ca940b8e2db1
BLAKE2b-256 424e745072ae34b3f58e9433acf9a2fb5bc0c0d3673329bb9faf7be1a9118ba2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260219.post2-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9c1379d1c96037be3c3e7df8f19323fc9f634227de1b2ce3e50c49e124064b84
MD5 4a63b57acc73564c1d03d8b768a7fc64
BLAKE2b-256 f737a247975c11613bf137f6388856f9d4baa16c0b04d4a32534b8d70880c4fe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260219.post2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a4b64fb0b1a00503c3fd44f4826ad86d6fb766cae0034d68e631ab6a0deb9a14
MD5 e0b9e157389fd2be371b149b4dc541c8
BLAKE2b-256 92cd2b601fb79787acedd22101efdda5a108da6fec495ee8ef830f6990e37280

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260219.post2-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 18c48d24fc7413c4cb9b97206b8120e09410b9644b6117734a58dd7468395773
MD5 ec94bc7c83967ac6a73e65a9a450a781
BLAKE2b-256 5054ae9ff6c7177dadaabefb9d460ff290e32fd8702dc74b06bf82860cdc977c

See more details on using hashes here.

Provenance

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