Standalone apps for macOS, Windows and Linux. Unpack the archive and start the app; Python is not needed.
macOS 15 Sequoia or newer on Apple silicon (M1 or later).
There is no build for Intel Macs: install it with Python there.
Download for macOS mag-opt-detective-macos.zipWindows 10 or 11, 64-bit (x86-64).
The zip holds a folder with mag-opt-detective.exe and the files it needs.
64-bit (x86-64) with glibc 2.39 or newer: Ubuntu 24.04, Debian 13, Fedora 40 or newer.
The archive holds a folder with the mag-opt-detective program.
Every published release, with its notes and files: all releases on GitHub. What is new in each release: release notes.
The apps are not code-signed, so macOS and Windows ask once whether you trust them.
If macOS still refuses, or says the app “is damaged”, remove the quarantine flag that the browser put on it, in Terminal:
xattr -dr com.apple.quarantine "/Applications/Magneto-Optical Detective.app"
mag-opt-detective folder together: the program needs the files next to it.mag-opt-detective.exe in that folder.tar -xzf mag-opt-detective-linux.tar.gz
./mag-opt-detective/mag-opt-detective
If it does not start and the terminal mentions the Qt platform plugin “xcb”, install the XCB cursor library (on Ubuntu and Debian: sudo apt install libxcb-cursor0).
--smoke-test: it processes a small synthetic measurement, saves a figure in every format and exits with 0. On macOS the program is inside the app:
"/Applications/Magneto-Optical Detective.app/Contents/MacOS/mag-opt-detective" --smoke-testOnce a day, a few seconds after it starts, the app asks GitHub whether a newer version has been released. If there is one, a bar above the plot says so, with Download, Release notes and Skip this version (a version after the skipped one shows again); it stays until you close it or use one of its buttons. The app never installs anything itself: download the new version and replace the app as above; the settings are kept outside the app. Run from source, update with git pull and uv sync.
The check is one anonymous request to GitHub's releases API: no account, no cookies and nothing about you or your data, only the app's version; GitHub sees your IP address, as for any web page. Without a connection the app says nothing. Help › Check for updates… checks at once and says what came out, and Help › Check for updates at startup switches the daily check off. Until version 1.0.0 the app also offers pre-releases (test versions, marked as such on GitHub); from 1.0.0 on it offers regular releases only.
With Python 3.12 or newer, install the app from PyPI as an app of its own, with uv or pipx. This works on Windows, on Linux and on macOS 15 or newer, also on Intel Macs:
uv tool install mag-opt-detective
mag-opt-detective
With pipx: pipx install mag-opt-detective. uv tool upgrade mag-opt-detective (or pipx upgrade mag-opt-detective) updates it.
This works wherever the install with Python does (on a Mac, macOS 15 or newer) and gives you the newest development state. You need git and uv; uv downloads a matching Python (3.12 or newer) if you do not have one.
git clone https://github.com/wyzula-jan/mag-opt-detective.git
cd mag-opt-detective
uv sync
uv run mag-opt-detective
uv run python -m mag_opt_detective starts it too. To update later, run git pull and uv sync in the same folder.
The standalone apps are built with PyInstaller. In a source checkout, without the development tools:
uv sync --locked --no-default-groups --group bundle
uv run --no-sync pyinstaller packaging/mag-opt-detective.spec --noconfirm
The result is in dist/. Run uv sync afterwards to get the development tools back; CONTRIBUTING.md has the details.