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

Uploaded Python 3Windows x86-64

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

Uploaded Python 3macOS 11.0+ ARM64

mm_test_adapters-74.20260226-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.20260226.tar.gz.

File metadata

  • Download URL: mm_test_adapters-74.20260226.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.20260226.tar.gz
Algorithm Hash digest
SHA256 400caf793565598d8e04d9778e0b373f3f9cfbc0d93977437f1803b30e062c94
MD5 9d0b2e79317d3204a6b84f2d87a83a52
BLAKE2b-256 f06a6106e924c783fd9adf40d75028e898f31b67dc1cf3dd6fc985169af35c8b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260226-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 22ac21880929c2298c94d2f59a7fcba6ebd4ae30411249572478c61f5d5c4006
MD5 8c63297659d4425a46f3e745a2a96e19
BLAKE2b-256 af277cefc14688b3b3889bb80bcbd16c9b39ba94dda7bd7a3238c98f8f883318

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260226-py3-none-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 29d96a0ee53fbc35c5e4a46d30ef3a4f7864e070d25d275b00e3b55533fdca5b
MD5 aff4da0afcb19448ddd2089fbcacf26f
BLAKE2b-256 b807ebb27236106193cc60c441b6e78fa6a3f50644f44572fc73dec6da95bd1e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260226-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bf38a748caabdbd17835a2b71dd97fb1de90b3f491f428f2c4dd24229aaa3dc4
MD5 6b8c6aa99d0e02ec25a087de8ec85260
BLAKE2b-256 3d30a519fb4938914edeea1e51ff99a24e6a46bb8c4c7325734951ec18b2eb93

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mm_test_adapters-74.20260226-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 948a8b27225b2d5f56fa879b4117f852e01df9a5742a3ae21402a9898a4bc427
MD5 1dc47f9daaba08f6df75973efb56bc3f
BLAKE2b-256 4e07dd1e7503bd21a3853a22050ff1becb9d648f18a485fe292454e1b5bf67f2

See more details on using hashes here.

Provenance

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