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.20250917.tar.gz (134.8 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.20250917-py3-none-win_amd64.whl (396.0 kB view details)

Uploaded Python 3Windows x86-64

mm_test_adapters-74.20250917-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.20250917-py3-none-macosx_11_0_arm64.whl (555.5 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

mm_test_adapters-74.20250917-py3-none-macosx_10_9_x86_64.whl (576.3 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: mm_test_adapters-74.20250917.tar.gz
  • Upload date:
  • Size: 134.8 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.20250917.tar.gz
Algorithm Hash digest
SHA256 de7686cdcf040d2597381dc7638d64f6cfbb8c0159ccb6e775e45371c1dbe70c
MD5 b15afaeb5b3a374b768bf16d4020dd47
BLAKE2b-256 42316a1d73256f97c13fd2fa9d1ecbab2d52d4a1f6f64946d73da4a49d6a20f6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20250917-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 12cfa13742bc256750b26fb581977347a303adee3d43bb67c30d655b78aea2de
MD5 a85d932bd73844821d304a2de964f120
BLAKE2b-256 ee3404493a6e08bdff6387c1ee4e951a9b6fc8bef355cf38c38b0dc60b304c7a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20250917-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 76aaf9e74fc95fcc22995856cc9195dacbe8da135106746f4daab0917583ea73
MD5 b89dd3107357f87cd3c9496e55d94f3b
BLAKE2b-256 af3f00ea0a1f77c1d1056a33d2088e7a943a891a2ca1b7ddd630f69c5b1e0872

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20250917-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5a65f4ac5fb3499a0d8818b6f5771710b8b56d3d655b86b1c1019bae76b3f9eb
MD5 313a4ecb7e8f21a4f36c57908120c296
BLAKE2b-256 0c355b29cc39cde8363403a2f11d9b22634661a4a3a577932a50a72a1e8463d0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20250917-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 5ce71ba590c6f6ac1ebe593f2355a2d6d2b3cec47258cf425062d98ed41de24d
MD5 18a274eb6c6d2d18b9ba7f4e0e84b80c
BLAKE2b-256 7283f9131f239c5b5e9a2879f58b50233247f62cac4d4ec763dddb76fbed3bc3

See more details on using hashes here.

Provenance

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