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.20260219.post3.tar.gz (141.3 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.20260219.post3-py3-none-win_amd64.whl (390.4 kB view details)

Uploaded Python 3Windows x86-64

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

Uploaded Python 3macOS 11.0+ ARM64

mm_test_adapters-74.20260219.post3-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.post3.tar.gz.

File metadata

File hashes

Hashes for mm_test_adapters-74.20260219.post3.tar.gz
Algorithm Hash digest
SHA256 658fab066d5897fcabbe64fe5a6e60514c4889477327146fa252fd76de1368b6
MD5 c1e744a102873a3c15bac3a348258a58
BLAKE2b-256 a10efbfbae3c15ed014dce4bc157d6de5fd4e2ea943224b82d7dfc92eaaaa071

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260219.post3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b53e257cb06837978eb8ed16c2a888178ab737364d5f4a387b46b6732a013c24
MD5 c812860448f07b5a8ebc932ab6d7fb6c
BLAKE2b-256 6592b9d0299a575182622e7112893c4daa573e5a39e7dd4d161d6e38c3b6bd54

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260219.post3-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 65f64084ec2c488a21e81f7d3162f78e5dae5ffb98c8b67a7efaba65077c1e21
MD5 65916e1b76a156a860308c5bef1a2d4d
BLAKE2b-256 30b017000dd1719e209899b497a3234b281d79170c70a3723a1fa1c0599d6add

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260219.post3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2c4b84a5b71ca17b45470472e42854c85a7396d680dcb953ca603b0d56cb777f
MD5 b8d526d30d744aa4245455aad4037f80
BLAKE2b-256 1de2619741baa7fa5ab7049353f30d9bc78ecf41f84f05becb66c50426ea6ba8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260219.post3-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 af2457eb6ee3922695793f09622af9616b3aef1d4d453307e09f8b932c2e88e9
MD5 5131b0357a3310f540ba542b43ee24e5
BLAKE2b-256 73676296234663a4fcd50fca4820ca18a02a16229ca779c5f9b26c2554b5c7f9

See more details on using hashes here.

Provenance

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