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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3macOS 11.0+ ARM64

mm_test_adapters-74.20260219.post4-py3-none-macosx_10_9_x86_64.whl (561.8 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file mm_test_adapters-74.20260219.post4.tar.gz.

File metadata

File hashes

Hashes for mm_test_adapters-74.20260219.post4.tar.gz
Algorithm Hash digest
SHA256 6b8d43bebbbae70867d6e573825c663f13911a7cd69b8da11ea7cb092e1aed26
MD5 c72ed01281b02394a0740e58bc3e424a
BLAKE2b-256 735e0a1c1cf6a7363f9d5d1fb16f4112d6c43a8b804b564a170fb6d3d3b340e6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260219.post4-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b5327cf49232cc63882986a48ec222d15494b08798596c411183fdd76cc33fed
MD5 48217151b547e15f97787e774b6db894
BLAKE2b-256 a21f691fcbe9133c61a3b7aa3a869b3a58cf3f7016a3626bc5e7d8ae6ff0f5eb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260219.post4-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 14fa7e91a0e640e74d196bf51e71720b0c0a00e9d773f34046411fe5b4dddf7b
MD5 925ebf326b889c00e67560cdbd3808a4
BLAKE2b-256 87e68054929b7159e5c3390fcfb5625b2f904814544ade5331870445c395021f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260219.post4-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 27c98e56d553e26f104300a0deab1a0200dba8fc24d0e7dc7c23dbbcd6ddc771
MD5 be9c9c79bb47c3713d0368e5e2eec793
BLAKE2b-256 7861cbb1aff06ca355e607b89fb625c2874c7c6e82fce8be342fa00aee4dad6c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260219.post4-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7605b643a6e6a57e7d96d2906bc3d7437a95f899a8c6ec7b99653989a5cadffd
MD5 4508163ee357298ae2c91e247fd940ba
BLAKE2b-256 904b908501c99e1bec442beec1847f3d2f10e8d6eb1ee42e2a33952ff0c3119a

See more details on using hashes here.

Provenance

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