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, and a checkout is always updated by hand. 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. GUI.md describes the architecture. docs/ holds design notes on the plugin system and individual algorithms. 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.7

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.7
File Size Uploaded Provenance Actions
smappy_smlm-0.7.7.tar.gz 4.6 MB With provenance Details for smappy_smlm-0.7.7.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for smappy-smlm 0.7.7
File Actions
smappy_smlm-0.7.7-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for smappy_smlm-0.7.7-cp314-cp314-win_amd64.whl
smappy_smlm-0.7.7-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.7-cp314-cp314-manylinux_2_34_x86_64.whl
smappy_smlm-0.7.7-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for smappy_smlm-0.7.7-cp314-cp314-macosx_11_0_arm64.whl
smappy_smlm-0.7.7-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.7-cp314-cp314-macosx_10_15_x86_64.whl
smappy_smlm-0.7.7-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for smappy_smlm-0.7.7-cp313-cp313-win_amd64.whl
smappy_smlm-0.7.7-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.7-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
smappy_smlm-0.7.7-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for smappy_smlm-0.7.7-cp313-cp313-macosx_11_0_arm64.whl
smappy_smlm-0.7.7-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.7-cp313-cp313-macosx_10_13_x86_64.whl
smappy_smlm-0.7.7-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for smappy_smlm-0.7.7-cp312-cp312-win_amd64.whl
smappy_smlm-0.7.7-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.7-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
smappy_smlm-0.7.7-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for smappy_smlm-0.7.7-cp312-cp312-macosx_11_0_arm64.whl
smappy_smlm-0.7.7-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.7-cp312-cp312-macosx_10_13_x86_64.whl

Total release size: 61.6 MB

Release files / smappy_smlm-0.7.7.tar.gz

Download URL smappy_smlm-0.7.7.tar.gz
Size 4.6 MB
Tags Source
SHA-256 checksum
How to use checksums
ff69e4a9091294b45ba7ad205997d5f3345ed036fb44dd8e271a71fa0cda9fcb
BLAKE2b-256 checksum
How to use checksums
b397c5ea6cdc14e48e8012ce39600f512507a17589ba54d729b4ff4d6d7127c4
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 Nov 24, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.7-cp314-cp314-win_amd64.whl
Size 4.9 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
2461d974dd6b9481810fcdf30259eb2319108b95e3531e7b94a9c5880c9fcab8
BLAKE2b-256 checksum
How to use checksums
99ef2eb274bc7c85e97837034e1902880c24279c483801359f7a7cb68c94e8fc
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 Nov 24, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.7-cp314-cp314-manylinux_2_34_x86_64.whl
Size 4.8 MB
Tags CPython 3.14 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
19cdf36ed9a7a97d021a381f45b913061d63fead6d131b61537cc37ab5fb9fef
BLAKE2b-256 checksum
How to use checksums
454a088ac03f4e75a308f8373e9d7f718cd29edba6640716fe559ce199401f17
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 Nov 24, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.7-cp314-cp314-macosx_11_0_arm64.whl
Size 4.6 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
85f8f55d09e7867f6b7b37eb85c56f1569398210db2af26490bb5da52cd8801e
BLAKE2b-256 checksum
How to use checksums
97911dce4f7383a1ad3a38ff2aa27cd893d060a615399419696fe4eeea11bd41
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 Nov 24, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.7-cp314-cp314-macosx_10_15_x86_64.whl
Size 4.7 MB
Tags CPython 3.14 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
d6c0ce0f87cf61152e7531ba9af11886a585c26d71218a3afe25873f0399473f
BLAKE2b-256 checksum
How to use checksums
c0226770e585a098795cc389d62f62fe14a3c7979a80f3e6dfabd5fa7e4b0c96
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 Nov 24, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.7-cp313-cp313-win_amd64.whl
Size 4.9 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
da4a75dab318e3ea7e5d3c39bf5f489cf7a8858ab5304a8b513f4c657623e840
BLAKE2b-256 checksum
How to use checksums
dcdd8f1c3b0851b4fceb91a93677ae8fb3bbbca3adcc0761e0a6a283d322e880
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 Nov 24, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.7-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 4.8 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9a10d3068a0ee1248f79d7f54b24cd061b27a6ac785f41d1ed66e9cdc36810ea
BLAKE2b-256 checksum
How to use checksums
0e32aa4797c2b2d508a168d90d6edf4e91a4f58416e44a8a93f1fe117d78f113
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 Nov 24, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.7-cp313-cp313-macosx_11_0_arm64.whl
Size 4.6 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f17a510f3aaa6e137e1df491e7387971a669136fad0d7266f098420b5787daf3
BLAKE2b-256 checksum
How to use checksums
19a7fce458a2e442ce7920fac1d67443d4e9ff0f3b919bf9c243d85b57f71c2a
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 Nov 24, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.7-cp313-cp313-macosx_10_13_x86_64.whl
Size 4.7 MB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
0775fdd3c5a04544fa4845e696820a04d2cf69aac0a07f98483ad091c9c3b355
BLAKE2b-256 checksum
How to use checksums
95827a827f1fe3315dedaf16195e86337fcd837ac7af5a628708d611d9252cae
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 Nov 24, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.7-cp312-cp312-win_amd64.whl
Size 4.9 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
9e912075232ee98f3be67106c42d9a3b90475bb8c89b1b6a2e620e82fdd673d1
BLAKE2b-256 checksum
How to use checksums
ef41c029c8bfbf93ac6629182ba3bda2c4826a2aeccb18e69dfb1a4e32441923
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 Nov 24, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.7-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 4.8 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
937aaf64fb773aea737eada5a57c58ccf678ae3afdbfda7a1524de7486424ede
BLAKE2b-256 checksum
How to use checksums
e3991c4088a791c009d8fb0601c46da5f0e0793ee16f06f9af26ec6986821b51
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 Nov 24, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.7-cp312-cp312-macosx_11_0_arm64.whl
Size 4.6 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
970251e8647061cafe43adb7975638107667d0fbe9fa20f7eb841569e4ab53a0
BLAKE2b-256 checksum
How to use checksums
ea68fed0ea9d0a17e0b534b4eba2dba677734859c2a1fd1a602c694fda1c3819
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 Nov 24, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.7-cp312-cp312-macosx_10_13_x86_64.whl
Size 4.7 MB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
558fab127a50a19eabc46d1217655c5b6677433d10c0e057303868ca676d849f
BLAKE2b-256 checksum
How to use checksums
51a2aa27510c469afde9a1e23178da57380efb6d23a417ec770351414abe6513
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 Nov 24, 2026.

Transparency log

Security for smappy-smlm 0.7.7

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.7.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 Nov 24, 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.7 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