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.20250825.tar.gz (130.1 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.20250825-cp39-none-win_amd64.whl (391.8 kB view details)

Uploaded CPython 3.9Windows x86-64

mm_test_adapters-74.20250825-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.20250825-cp39-none-macosx_11_0_arm64.whl (542.5 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

mm_test_adapters-74.20250825-cp39-none-macosx_10_9_x86_64.whl (561.0 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: mm_test_adapters-74.20250825.tar.gz
  • Upload date:
  • Size: 130.1 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.20250825.tar.gz
Algorithm Hash digest
SHA256 5f8f1af9f5a3d108129d45f5109665495d21c5637b8fa928b22357001b1c8fa0
MD5 3b1298e06a6eacd24b925b3ef51e0757
BLAKE2b-256 19916c55bf394131b1d7ee6b15be2cbbdef80b9083240c9907b4b496024e54ad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20250825-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 6ec037b932f453aee2335085a0ccddd393b64f7d23a9a14976852c1fe4e8c1b5
MD5 20ceaaca618e22ee0a76d7734f67d98e
BLAKE2b-256 d2e9b7a91dd5649b4a17c12cfc41ccd25cb612475701e9e12da3a8e7eb54a697

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20250825-cp39-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f0c21242fcc2b98afdcbb932c003d9c02dbcb726e67bcbc28d6e03c288bc22aa
MD5 614735b4b469c83920c1ffc4558546fc
BLAKE2b-256 7544f9f54ff508c7844d83e4b9f13651ed9a1a410e9e7a8685129c1aa3fdb55c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20250825-cp39-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 aac9c52cca693ead29f9321457f91e63b540569a5490f03e308d23040d01427a
MD5 6d31592d3f332441476b7b3d326d3270
BLAKE2b-256 a221c97b89eb443bef105a1a71d602d6cb0a3d903414982aebfda29e00dc602f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20250825-cp39-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c01ce320c1cb67f53c7589e96062cdcf8ed9a34af3c6426914d007ec0c224bbf
MD5 f1b528e2deb6922e810dc094bb1d4dd1
BLAKE2b-256 ea98b675acb4dabd9e939ce95af1f2f183929ebfed1c3ada142e632b44607c22

See more details on using hashes here.

Provenance

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