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.8

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

Built distributions (wheels)

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

Total release size: 63.9 MB

Release files / smappy_smlm-0.7.8.tar.gz

Download URL smappy_smlm-0.7.8.tar.gz
Size 4.8 MB
Tags Source
SHA-256 checksum
How to use checksums
4dbdbf3b01115d43756e5011ab5ba243349f09b9499963e3a3d53290a2bb073a
BLAKE2b-256 checksum
How to use checksums
342de90259459502b25f5ef055e0153eb06bea8a890516f7c810321c0097b681
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 27, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.8-cp314-cp314-win_amd64.whl
Size 5.1 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
a2ae5d1990fd8967ccee5820a155d40fb13a5710a2f0d5ddd39776c0857b661e
BLAKE2b-256 checksum
How to use checksums
c523f4a35a422dba9f1d8b967c31c63939206d8bbca94b1117641a92690e7e54
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 27, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.8-cp314-cp314-manylinux_2_34_x86_64.whl
Size 5.0 MB
Tags CPython 3.14 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
4ba20f0ed9c4f096309d9ec9b9560f49ed6ddc6b6dafff3b70beccc7c6e9ad2c
BLAKE2b-256 checksum
How to use checksums
a589a94d0379ae848e8a3af9fce02436753f9d7d91aafb3fe5d9c44e36a5e16e
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 27, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.8-cp314-cp314-macosx_11_0_arm64.whl
Size 4.8 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
73fc1b74ef6c05b4f0da7d05e08f80aef331c1df244a9891780fb87bbe0395ba
BLAKE2b-256 checksum
How to use checksums
74c7b0a1e4412da926a7218da1b3f32f1bc744aed49e090ba4bbcb65b8416afb
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 27, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.8-cp314-cp314-macosx_10_15_x86_64.whl
Size 4.8 MB
Tags CPython 3.14 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
1ece765cc777fcdf279f53787b350ee9946a0d316f2931664d6b080a88262173
BLAKE2b-256 checksum
How to use checksums
1d1db91a757aa888b977f0720d2263663dadca8a4a9165d2ecc1b5f7b28f2167
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 27, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.8-cp313-cp313-win_amd64.whl
Size 5.0 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
84be347bcb1d7fbd48c279f7b27dbc93e558aafa01741c29e01cf35b223c1305
BLAKE2b-256 checksum
How to use checksums
fb916e29a8685a06440874744e49801e1886ba0f60ba7c1bbf08af6884046b4d
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 27, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.8-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 5.0 MB
Tags CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
259e81ce2231591263a602a0f95e245582c17aafeab45d2fe2da66b9ad9eb32e
BLAKE2b-256 checksum
How to use checksums
3d449d6d45004314b1a23bcdeb79efb30457fbcf670e6f5594f30843188838fa
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 27, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.8-cp313-cp313-macosx_11_0_arm64.whl
Size 4.8 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
34d6a868786fa921cfce43cf4b701fb5f34c66f37a37f3212c3832d8a863f2b8
BLAKE2b-256 checksum
How to use checksums
a6b246e594482bbd9ee0c70d343ba18ee046d14c71bff8c75ab4d1cf91e6e324
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 27, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.8-cp313-cp313-macosx_10_13_x86_64.whl
Size 4.8 MB
Tags CPython 3.13 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
932a9bf27d065a6367526926134e402e85048bebe94b7d915c36efe2a75ca19e
BLAKE2b-256 checksum
How to use checksums
5a85bb563dbcaaa421a1b37e42fb847d6b1f60440b88eff97344661dc43bb5cf
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 27, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.8-cp312-cp312-win_amd64.whl
Size 5.0 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
6bddbc31d31fd3653515ed5ce27174e55f43da401f22c9dbd0aff0c211b225a5
BLAKE2b-256 checksum
How to use checksums
88a6a387ea85330bf06cf4a2e4c92ae94119d90e9dd865f75d9171eb28d2f9ee
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 27, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.8-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 5.0 MB
Tags CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
5fe8729b7525f420cf72cc15522a55ab1096606336946d92d1b3a639e4a8b6bb
BLAKE2b-256 checksum
How to use checksums
c469c144ffc0ba52d7052d5bb591e90200c245618144e8241517523bc487152b
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 27, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.8-cp312-cp312-macosx_11_0_arm64.whl
Size 4.8 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ad9dbdbd5a6316de4e1fa433c4bbe0e272c8e10e590cc34f0b56932f2f65dc85
BLAKE2b-256 checksum
How to use checksums
e88d3a0670a19a936f7d18fe983acadc3404b7b279d3ef115db57939a1652bdf
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 27, 2026.

Transparency log

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

Download URL smappy_smlm-0.7.8-cp312-cp312-macosx_10_13_x86_64.whl
Size 4.8 MB
Tags CPython 3.12 macOS 10.13+ x86-64
SHA-256 checksum
How to use checksums
75ad5da4bc816e2c25c06eb4ef565ea2594ccd021c06e38ccc5201da0ac76985
BLAKE2b-256 checksum
How to use checksums
dbe2d38ccdf26ad2e24d408c7c5e7f0249a70c0b22be5c9cd41f821ee88505aa
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 27, 2026.

Transparency log

Security for smappy-smlm 0.7.8

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.8.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 27, 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.8 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