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.20250829.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.20250829-py3-none-win_amd64.whl (396.0 kB view details)

Uploaded Python 3Windows x86-64

mm_test_adapters-74.20250829-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.20250829-py3-none-macosx_11_0_arm64.whl (556.1 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

mm_test_adapters-74.20250829-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.20250829.tar.gz.

File metadata

  • Download URL: mm_test_adapters-74.20250829.tar.gz
  • Upload date:
  • Size: 134.7 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.20250829.tar.gz
Algorithm Hash digest
SHA256 c4d8a3431f042d1f3edc7acc81c6cb82852a4f2a46962b441a303b8198231d5e
MD5 d15e72b0af5bdeed0d7fe2f3006714a2
BLAKE2b-256 55adb4f99318d5ca29c477dbc53e28e5565f21c30b32d4efb8ed287b942c440c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20250829-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 048828e9f1155d34d4479bee552f6f133ee36822bdb1ee787ba525d94a2d5cbb
MD5 baaa8df05c08a4727f35ec172b2831cb
BLAKE2b-256 88e7a81d4864ce446357bfe295d683ad42a76272d5ac1f33355c6b702438dcab

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20250829-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a0bd6b31ff2495237a757e2550963e15885bd9ea07d11e1209ce9e45b2fec2b6
MD5 286934294e422e2b35226c868f7a0062
BLAKE2b-256 34907cde26af3d9480e5267043126ed37970bf42cb33eaf0d9ddfa25e97b1459

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20250829-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 207c772731e1cca9fb097d9e8c51f62957b7de4b5e2856171d2ca3f03881fdbe
MD5 26c750b2ff0aa3a4017b22f0e3dc06cd
BLAKE2b-256 c7d0216a5caf1064987f22e011ebce1e52d8f94283134de8391edc4f488bb6a8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20250829-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 cd1f1ce8605eb667473f6b060fa6aeb8ae6748e556275008674c8e9fae926c6f
MD5 6b639ca3986db17c74ed7348e14a370a
BLAKE2b-256 f58ec10b2e949ebac3f81e3b7778ad1fef6bb65df3ea5e2d7266a1abf6d6e1d2

See more details on using hashes here.

Provenance

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