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.20260213.tar.gz (141.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.20260213-py3-none-win_amd64.whl (392.0 kB view details)

Uploaded Python 3Windows x86-64

mm_test_adapters-74.20260213-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.20260213-py3-none-macosx_11_0_arm64.whl (544.3 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

mm_test_adapters-74.20260213-py3-none-macosx_10_9_x86_64.whl (574.2 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: mm_test_adapters-74.20260213.tar.gz
  • Upload date:
  • Size: 141.1 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.20260213.tar.gz
Algorithm Hash digest
SHA256 e05fd4844cb03b8f7794c9d11084da055cf3bc973a9435fb9617b638e2c2ca44
MD5 a0758f639c933132509e59eb5dc6290d
BLAKE2b-256 be81e1bdc763bca734f0efbaf21b67db7e076cbfcb3a17d0b18f53c93105fa18

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260213-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 66889b5cdb5a114e930ccc5fd293656b41ad006f0a0cdb74dd039f1dcca11d53
MD5 3e1771021fce084cc07b4c3a76dd3845
BLAKE2b-256 876cc2e870a17a60b6f18628a2a5d4a2c9b2abd30826a9f671d1a216ef1a37a0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260213-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 110888c2445e0e41e434e787211693db5e01f48f55d3971cc6db6e47c838a447
MD5 01f63eadf3a290878bc5ecbb9d7bd866
BLAKE2b-256 fb388a7e738d2af2ae93236ac82af5b5f6f3aa11c42a619d1983012063e8e743

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260213-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b0f7064196ac58fd399f494024e63a0227cb92cd0623aaafdce3ff00d17dee6d
MD5 c26d1cd807399d5e44b5c639d9fbb059
BLAKE2b-256 41dbfdd2cab5f9aa9dd8e1a2e9a75589f946d3d024ee2dc6157e80ef34b43fcb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260213-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c6ef1608eaae2fc14ee8e09081eedd124e7edc36834689c0591433dbe25983f5
MD5 0115adbe21cf46c8ff1b74ea595c1bf1
BLAKE2b-256 886411eaee4005a63a9f27e7d473684ebb1b073d4140cac855b83a28e39567c3

See more details on using hashes here.

Provenance

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