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.20250827.tar.gz (131.9 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.20250827-cp39-none-win_amd64.whl (393.0 kB view details)

Uploaded CPython 3.9Windows x86-64

mm_test_adapters-74.20250827-cp39-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

mm_test_adapters-74.20250827-cp39-none-macosx_11_0_arm64.whl (549.4 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

mm_test_adapters-74.20250827-cp39-none-macosx_10_9_x86_64.whl (569.8 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for mm_test_adapters-74.20250827.tar.gz
Algorithm Hash digest
SHA256 a1c7707bc5bce794397ce8f539d173cd682e8cd3b3fdc8ab4f7c76a19e449013
MD5 6b6596b6cd1b85a717d3203c5b28ef8d
BLAKE2b-256 160fe18aab11d0caea13a280bb961248367737e6c017fed18245d919cf7fc569

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20250827-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 670c5d7815e3b34b57f20cd1302bdcbeed635c14450388733257a447a125c9c0
MD5 a99a741559766419e037fbdfc0588b76
BLAKE2b-256 a15359d85980b6d53e4904639085d5335c6ebd61eb9519ca7a4764a274e63094

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20250827-cp39-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1bf233241fb4fb5e4f7190df440d89022e713bf9c3a248de235dbec8d4ad1e44
MD5 ebb358ad54c77d5df0bb4d8eaea6605a
BLAKE2b-256 7cdff3be6054199c4f33b89cf78db04c453623b2aa4ffcfa3217c5da61b329ae

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20250827-cp39-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c8b64b672846abd0d21e33e99b4188fc810ee8c24e09455c0ea2a91638c56ae0
MD5 6ac80b433cfa9ebea0a54d414e4618f6
BLAKE2b-256 ded5c6dfd8c9335e743685e822ae5db02b18926ab07bb662c522aa2db3118867

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20250827-cp39-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1820347cb12c7af81e9d3421672f98005ba599a1c9e6c7430310c2cc95652351
MD5 d11b96c528180504717683e3d3a1cbb7
BLAKE2b-256 877ede2df3f5754494edf29c379aafd7f3d3767927e134b23722eab6827f404b

See more details on using hashes here.

Provenance

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