Concurim
See how Python runs together. Concurim records what your threads and asyncio tasks actually do, then replays that one run as an animation.
A recording of threaded_pipeline.py
(event 41 of 120): two producers and two consumers share a queue of
capacity 3.
Status: 1.0. Threads, queues, locks, events, barriers, pools, and asyncio are included. What is and is not observed.
Setup
From a checkout, install the project, then open the page or record a run.
uvx concurim is the same home screen without cloning.
git clone https://github.com/ej-sanmartin/concurim.git
cd concurim
uv sync
git clone copies the repo, cd enters it, and uv sync installs this
project and its dependencies so the commands below run with uv run.
uv run concurim
Opens the page in your browser. Drop a .py file or a folder, read the
plan, then click Record execution. Drop a .concurim file, or open
an example, and nothing runs.
uv run concurim demo
Records the bundled pipeline (the picture above) and opens it.
uv run concurim record --open --auto sync my_app.py
Runs my_app.py and writes a trace. --auto sync records threads,
queues, locks, events, barriers, and pools. The default is thread start
and finish. --open opens the viewer when the run returns. Options on
record come before the script; everything after the script path is
passed to your program.
uv run concurim record --open --include-source -o run.concurim my_app.py arg1
Runs my_app.py with the argument arg1. --include-source embeds
source so the Code view can show it. -o writes the trace to
run.concurim (the default path is <script>.concurim). This example
records threads only.
uv run concurim view run.concurim
uv run concurim inspect run.concurim
uv run concurim compare one.concurim two.concurim
view opens a saved trace. inspect prints when the trace was
recorded, how long it ran, and how many events it holds. compare
opens two recordings side by side.
uv run concurim export run.concurim -o clip.mp4 --events 5:40
Renders events 5 through 40 as clip.mp4. It only reads the trace. It
needs a Chrome-family browser and ffmpeg (uv run --with imageio-ffmpeg,
or concurim[video] once the package is published).
uvx concurim record cannot import a project's packages. Install it
there with uv add --dev concurim and use uv run.
Guide
| Getting started | The page, the commands, a stuck run |
| Concepts | One schedule, observed versus inferred, what you can trust |
| Recording | Home screen, --auto, record(), Traced* |
| Reading a run | Animation, Code, Timeline, compare, export |
| Teaching | Which example to open |
| Cost | Overhead of recording |
| Limitations | Caveats |
| Trace format | The .concurim file |
| Security | Local only. Review a trace before sharing it |
| Contributing | Tests, style, publishing |
| Changelog | What 1.0.0 contains |
The viewer binds 127.0.0.1 and has no telemetry. Source and payload
previews are off unless you ask for them.
MIT licensed.
Metadata
Release files for concurim 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| concurim-1.0.0.tar.gz | 1.8 MB | With provenance | Details for concurim-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| concurim-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for concurim-1.0.0-py3-none-any.whl |
Total release size: 2.5 MB
Release files / concurim-1.0.0.tar.gz
| Download URL | concurim-1.0.0.tar.gz |
|---|---|
| Size | 1.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6cd82f6eb515b7fa795a2aec2c7115026141a4538ca2ee1b5b9c61316c21436b
|
|
BLAKE2b-256 checksum How to use checksums |
4aa39b56f36326a7d0769346b949aeb5df50ce6a49c505cee42117bee084df12
|
| 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 Oct 28, 2026.
Transparency logRelease files / concurim-1.0.0-py3-none-any.whl
| Download URL | concurim-1.0.0-py3-none-any.whl |
|---|---|
| Size | 705.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7ba5ce76a2844f4894ebc66f4ae5adf9f0f70f260c25cdd89c1344ca86a9fa4
|
|
BLAKE2b-256 checksum How to use checksums |
1ce3511b0a79a973293611d74fe48050068609ce45e252d74c6e1634b6b05931
|
| 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 Oct 28, 2026.
Transparency logSecurity for concurim 1.0.0
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
Both files in this release have been uploaded with provenance metadata.
Attestation for concurim-1.0.0.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 Oct 28, 2026.
Transparency logA 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.