Skip to main content

SMAPpy

SMAPpy is software for single-molecule localization microscopy (SMLM) in Python. It takes raw camera frames to localizations and super-resolution images, with a graphical interface, command-line tools and a Python API. It is a Python port of SMAP.

Install

pip install smappy-smlm

The GUI is included. Binary wheels are available for Python 3.12-3.14 on macOS, Linux and Windows, so nothing needs to be compiled. The package is called smappy-smlm on PyPI; in Python you import smappy.

I need more help. Never used a terminal or pip? Installing SMAPpy, step by step walks through it on a Mac or Windows computer, from opening the terminal to starting the GUI, and says what to ask an AI assistant that can do it for you.

With uv you can install the GUI as a standalone tool, or run it without installing:

uv tool install smappy-smlm
uvx --from smappy-smlm smappy-gui

To install from a checkout, which builds the C++ extensions (pip 21.3 or newer):

git clone https://github.com/ries-lab/SMAPpy.git
cd SMAPpy
python -m venv .venv
.venv/bin/python -m pip install -e .

Update

Close SMAPpy first: on Windows, pip cannot replace the program files of a running SMAPpy. Then, in the same environment you installed it into:

pip install --upgrade smappy-smlm

pip show smappy-smlm tells you which version you have; the newest is on PyPI. If you installed it as a uv tool, update from SMAPpy (below) or run the command its Copy command gives: uv tool upgrade smappy-smlm removes a PyTorch added afterwards and replaces a CUDA build with PyPI's. In a pixi project, pixi upgrade smappy-smlm. In a checkout, run git pull, then .venv/bin/python -m pip install -e . again, which rebuilds the C++ extensions (in a pixi environment, pixi reinstall smappy-smlm).

SMAPpy itself looks for a newer version once a day when it starts and, if there is one, says so at the bottom right of the control window. Help → Check for updates... asks at any time. Its Update and restart closes SMAPpy, installs the new version with pip (or uv, or pixi) and starts SMAPpy again; Copy command gives the command for your installation instead. A checkout is asked of git instead of PyPI -- new commits on its branch, or files changed since SMAPpy started -- and updated by a fast-forward-only git pull and an install again, so a checkout with local commits or changes in the way is left as it is and SMAPpy says why. The daily check is turned off in the General tab of Preferences....

Start

smappy-gui

or, to open a localization file directly:

smappy-gui FILE.hdf5

Files can also be dropped onto either window: a localization file opens as with File → Open; a short TIFF (50 frames or fewer) or a PNG is added as an image layer, as with File → Open image; and a longer stack (TIFF, an NDTiff folder, *.sim.yaml) becomes the file of the fitter on the Localize tab, ready to fit.

From a checkout, activate the venv first or run .venv/bin/smappy-gui.

From a terminal

smappy runs everything SMAPpy does from a terminal; smappy -h lists it, and smappy COMMAND -h says what a command takes:

smappy gui FILE.hdf5 --open RCC     # the windows, with a plugin open
smappy info FILE                    # what a file holds: files, camera, columns, ROIs
smappy convert FILE_sml.mat         # as smappy HDF5, beside it
smappy batch run JOB.batch.yaml     # a chain of plugins over many files

smappy-gui, smappy-fit and the other smappy-… commands still work.

Tutorials and documentation

Tutorials. ries-lab.github.io/SMAPpy has short guided tours on simulated data you can follow along with. Start with SMAPpy in three minutes. In the program, Help → Tutorials opens them in your browser.

Help pages. Every plugin and the main parts of the GUI have a help page. It explains the theoretical background and every control. Open it with the ? in a plugin's or a Render-tab section's title bar, with F1 in any panel or window, or from Help → Plugin documentation. The same pages are online at ries-lab.github.io/SMAPpy/help, and python -m smappy.docs -o DIR writes them as a static website.

Your own analysis. When no plugin measures what you need, make one: describe it to an AI assistant started in your plugin folder (Plugins → Show my plugin folder), or start from the example with Plugins → New plugin.... A file saved there appears under Plugins → User. The help page Your own plugins explains how.

An AI assistant. Your own assistant -- Claude Code, Codex or the Claude app -- is the help to ask when you know what you need but not how: tell it in plain words, and it explains how to do it in SMAPpy, suggests the plugin and its settings, or does it for you. Assistant → Start assistant starts it beside the picture, and what it would change waits for you to open or dismiss. The tutorial An AI assistant shows it, and the help page Assistant has the details.

For developers. docs/GUI.md describes the architecture. docs/ holds design notes on the plugin system and individual algorithms. docs/NOTES.md records design decisions and measurements.

License

SMAPpy is released under the BSD 3-Clause license; see LICENSE and THIRD_PARTY_NOTICES.md.

Metadata

Release files for smappy-smlm 0.7.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for smappy-smlm 0.7.12
File Size Uploaded Provenance Actions
smappy_smlm-0.7.12.tar.gz 5.2 MB With provenance Details for smappy_smlm-0.7.12.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for smappy-smlm 0.7.12
File Actions
smappy_smlm-0.7.12-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for smappy_smlm-0.7.12-cp314-cp314-win_amd64.whl
smappy_smlm-0.7.12-cp314-cp314-manylinux_2_34_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.34+ x86-64 Details for smappy_smlm-0.7.12-cp314-cp314-manylinux_2_34_x86_64.whl
smappy_smlm-0.7.12-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for smappy_smlm-0.7.12-cp314-cp314-macosx_11_0_arm64.whl
smappy_smlm-0.7.12-cp314-cp314-macosx_10_15_x86_64.whl CPython 3.14 CPython 3.14 macOS 10.15+ x86-64 Details for smappy_smlm-0.7.12-cp314-cp314-macosx_10_15_x86_64.whl
smappy_smlm-0.7.12-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for smappy_smlm-0.7.12-cp313-cp313-win_amd64.whl
smappy_smlm-0.7.12-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for smappy_smlm-0.7.12-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
smappy_smlm-0.7.12-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for smappy_smlm-0.7.12-cp313-cp313-macosx_11_0_arm64.whl
smappy_smlm-0.7.12-cp313-cp313-macosx_10_13_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.13+ x86-64 Details for smappy_smlm-0.7.12-cp313-cp313-macosx_10_13_x86_64.whl
smappy_smlm-0.7.12-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for smappy_smlm-0.7.12-cp312-cp312-win_amd64.whl
smappy_smlm-0.7.12-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for smappy_smlm-0.7.12-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
smappy_smlm-0.7.12-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for smappy_smlm-0.7.12-cp312-cp312-macosx_11_0_arm64.whl
smappy_smlm-0.7.12-cp312-cp312-macosx_10_13_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.13+ x86-64 Details for smappy_smlm-0.7.12-cp312-cp312-macosx_10_13_x86_64.whl

Total release size: 68.5 MB

Release files / smappy_smlm-0.7.12.tar.gz

Download URL smappy_smlm-0.7.12.tar.gz
Size 5.2 MB
Tags Source
SHA-256 checksum
How to use checksums
508585b19387e12e4c3516c1e54e57e6d17b57b3addad60fd9c66a668179f5dd
BLAKE2b-256 checksum
How to use checksums
8182aac54f1a81b25e2e4d8b4521c763aa8ad28eb02701bc3ec9e7457bd88b1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / smappy_smlm-0.7.12-cp314-cp314-win_amd64.whl

Download URL smappy_smlm-0.7.12-cp314-cp314-win_amd64.whl
Size 5.4 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
3b3f7d05b2164acb0b5853744d608b562cfdc94a8887cf76d68a18b7fe861f71
BLAKE2b-256 checksum
How to use checksums
a7641bbe84a659937990887e98d6e7059308e43d70a7923b0ed0e8f321ddc819
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / smappy_smlm-0.7.12-cp314-cp314-manylinux_2_34_x86_64.whl

Download URL smappy_smlm-0.7.12-cp314-cp314-manylinux_2_34_x86_64.whl
Size 5.4 MB
Tags CPython 3.14 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
880702ffc4e7852ec6d1e22d0ba7773ff6c5e77b04a4c2ef9981add5074545ff
BLAKE2b-256 checksum
How to use checksums
577d31bc802084f1fb90c36c236e34bea3b0d608c6371fad296266a687107805
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / smappy_smlm-0.7.12-cp314-cp314-macosx_11_0_arm64.whl

Download URL smappy_smlm-0.7.12-cp314-cp314-macosx_11_0_arm64.whl
Size 5.1 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ef7e87f893b524065beffef3e3076820b4d34dbdc175493473a7773cc5494256
BLAKE2b-256 checksum
How to use checksums
312c09d740e8c7b0a39f30590c826b701372cd64749950ad428df25d78b8a4b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / smappy_smlm-0.7.12-cp314-cp314-macosx_10_15_x86_64.whl

Download URL smappy_smlm-0.7.12-cp314-cp314-macosx_10_15_x86_64.whl
Size 5.2 MB
Tags CPython 3.14 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
c3b1eff53edfc0b946f6810604a7913fd2f76c3978b49696f478793a2b79c454
BLAKE2b-256 checksum
How to use checksums
cddf1d53548b947bcecbc333cc9bdb5c49bb906189b27948f821fb06dd80012b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / smappy_smlm-0.7.12-cp313-cp313-win_amd64.whl

Download URL smappy_smlm-0.7.12-cp313-cp313-win_amd64.whl
Size 5.4 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
40387468385019f2dc8e97717be5a3a2abb75d4542218cde157f429de7826507
BLAKE2b-256 checksum
How to use checksums
34cb8cc968937a69758facb8197dcc465665b54dd1c209e9723d03a98ef96dc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / smappy_smlm-0.7.12-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL smappy_smlm-0.7.12-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 5.4 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
4593daa4c6734627a807131ef52c5116a12029ea4e80ec0e997050689dc643bb
BLAKE2b-256 checksum
How to use checksums
74a40830f8d1f1c7a96f92540a48589edd38be431fa248a8f00fbc6bbebb71b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / smappy_smlm-0.7.12-cp313-cp313-macosx_11_0_arm64.whl

Download URL smappy_smlm-0.7.12-cp313-cp313-macosx_11_0_arm64.whl
Size 5.1 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b2d7cbb94316927b0c2da630c47893a858a3f2b306310fc0786758e28c52edaa
BLAKE2b-256 checksum
How to use checksums
746a99e7b97bb4ef3c6e11ac20bb7e57d1ea2227254ec62d2d974d555838125d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / smappy_smlm-0.7.12-cp313-cp313-macosx_10_13_x86_64.whl

Download URL smappy_smlm-0.7.12-cp313-cp313-macosx_10_13_x86_64.whl
Size 5.2 MB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
a765b7a68e63c36c97286560f652d4f78f9b73ae0d11579b08860c4ede45a469
BLAKE2b-256 checksum
How to use checksums
559ae10d35994840827949afded30b187217949cf7f286abe89a0b6a32415856
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / smappy_smlm-0.7.12-cp312-cp312-win_amd64.whl

Download URL smappy_smlm-0.7.12-cp312-cp312-win_amd64.whl
Size 5.4 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
0014cd60e2c44237740be8fe0cf414578536b554d1b1f9dfce4f5f22aaeb7016
BLAKE2b-256 checksum
How to use checksums
8676435ac64c0d590a48e01ebea8aa2bbbf915e439e308736f7ee8efbdcadfa2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / smappy_smlm-0.7.12-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL smappy_smlm-0.7.12-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 5.4 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
803b9739ff62e298368b4fa502329c56f073f7d9e368df2f6316db34b7525790
BLAKE2b-256 checksum
How to use checksums
d5528627add029c6506a70ba9dccd573ae5c4192f6c6e1c2b04ce755627a2b6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / smappy_smlm-0.7.12-cp312-cp312-macosx_11_0_arm64.whl

Download URL smappy_smlm-0.7.12-cp312-cp312-macosx_11_0_arm64.whl
Size 5.1 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9fd3cbaf319cb1a412abbe4781872de4b2ed6e1d7abfb3d3a1b75bae0118ca4e
BLAKE2b-256 checksum
How to use checksums
e6bc35c768f2e521a114e3447915b9ff18a44fd5f7da6370a4315b00ff0eeb9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / smappy_smlm-0.7.12-cp312-cp312-macosx_10_13_x86_64.whl

Download URL smappy_smlm-0.7.12-cp312-cp312-macosx_10_13_x86_64.whl
Size 5.2 MB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
25e3f0525c81a906151db57ead00f7d11aa6a551d5c997f94fcbc0d5f901a14d
BLAKE2b-256 checksum
How to use checksums
fd1a21886db628b4dfc544a781b3da549eff4b1f04ecd37459f48754ebcf3063
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Security for smappy-smlm 0.7.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 13 files in this release have been uploaded with provenance metadata.

Select from 13 files

Attestation for smappy_smlm-0.7.12.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.7.12 This release

13 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page