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.20251003.tar.gz (134.7 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.20251003-py3-none-win_amd64.whl (391.4 kB view details)

Uploaded Python 3Windows x86-64

mm_test_adapters-74.20251003-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.0 MB view details)

Uploaded Python 3manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

mm_test_adapters-74.20251003-py3-none-macosx_11_0_arm64.whl (549.0 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

mm_test_adapters-74.20251003-py3-none-macosx_10_9_x86_64.whl (568.9 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: mm_test_adapters-74.20251003.tar.gz
  • Upload date:
  • Size: 134.7 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.20251003.tar.gz
Algorithm Hash digest
SHA256 de16fbd21e75b991189f47462e5eed793d3c5dfda1c710e8a88ecd11cd3c7819
MD5 6697f0e43f84b6433d2da2d7fa2631c7
BLAKE2b-256 f2424da1cff2e21e1a347f1f7c9338080dc2bfb836361472a0c2c9d40b2476c8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20251003-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 28c1908c2e27b4b633117c71fa7e63e61e65efcd1916cb64f7f9f1b54b6772f0
MD5 208ef6b56845599b03879608f6f3d1a4
BLAKE2b-256 8fcaedc53b3da60ef26f456d0064be944680f2543e0f558270052682e3dc31e2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20251003-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 16db9b0b0fdacc16c78e63b9f5d6fb5519765a6610c1ac201da712ca01a9010f
MD5 e96c66030201deb0684d79d67277e6b6
BLAKE2b-256 a8c94dfd7018be765d81e585639d156185d5fcdb342b190a4887e6b36d6bc009

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20251003-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f1aee23ff451ab351befa72ce8a343f009a69d4dc2ed5d71f202050418ec5ce3
MD5 e814a9bf740eb2d049a1c7af658c38a9
BLAKE2b-256 1a33103241c2f2144f154701476cf700f5dfb91bbc82ea101d8e09ad13818125

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20251003-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d00115a06e871b881b1212b2a1e4ce3d83d038c2ef03645b432c47c4081ad0aa
MD5 1092e443d33b5cfce8f4a394d1914fed
BLAKE2b-256 6de2d657dea15a5ab19ca97101f6abacf605b000aea613a8ef0bd0930a58eeb6

See more details on using hashes here.

Provenance

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