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.20260224.tar.gz (141.0 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.20260224-py3-none-win_amd64.whl (390.3 kB view details)

Uploaded Python 3Windows x86-64

mm_test_adapters-74.20260224-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.20260224-py3-none-macosx_11_0_arm64.whl (533.8 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

mm_test_adapters-74.20260224-py3-none-macosx_10_9_x86_64.whl (561.7 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: mm_test_adapters-74.20260224.tar.gz
  • Upload date:
  • Size: 141.0 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.20260224.tar.gz
Algorithm Hash digest
SHA256 1a2664ae71a79a664daef1c8f0bc3ae0d16857d860d843c99325860bdd899483
MD5 40664b4af426ac36a9daecf85e01dcbe
BLAKE2b-256 dc678ad426a0beb447f321c27c61e26e10397c39edab1e63efb9c9a401f33417

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260224-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 4106d60e3369d28e92e3d1e4f741b7443484cab61a6116fce134f3afe0af55ce
MD5 d92758816523b78dfff8b706868188fc
BLAKE2b-256 472115cf31443183e3bd54d7c8071f580b909285b260fbd7a4edefa92ba40045

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260224-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a1f438c8bdf70a78ae776e59736ef9a3889fee61e76b72e4b3975d1e1bc175c0
MD5 65a1291e3274a14d33190751596dc0e1
BLAKE2b-256 5b796ca8c0c54bbf7e611aff40731e5c92bd996423aceaa650b0b49c2ca9ac94

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260224-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 74baacfa978c04df4720664b4b4826b9fa67534717550d260e7fede4f3f300aa
MD5 654c55097848efb2a8a166630cf8f648
BLAKE2b-256 6158ea33d6419da7addddfce2bbee265de0d5b3e017e5bf01ceb9ec469641949

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260224-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 18e2d6b778d6447e4cac20998784058606696832b232c6e45a2ff192a740e8d6
MD5 94238b065fd32c3caeb5e88546d248b4
BLAKE2b-256 a119f7230e809df96a471229cdf4a3f652cddf9005ae5cb68360ee50b0b2f999

See more details on using hashes here.

Provenance

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