staplot
Statistical analysis and publication-quality plots for biologists: a free, open-source alternative to GraphPad Prism, with a desktop app and a small Python API.
Features
- Data tables Prism-style (one column per group) or long format; CSV and Excel import (semicolon / decimal-comma CSVs included).
- Tests: t-tests (Welch, paired), Mann-Whitney, Wilcoxon, one- and two-way ANOVA, repeated measures, Kruskal-Wallis, post-hoc tests (Tukey, Dunn, ...), chi-square, correlation, linear and nonlinear regression (curve fitting), normality tests, outliers, ROC, survival, power analysis.
- Plots: bar, box, violin, scatter, grouped bar, before/after, histogram, QQ, residuals, Bland-Altman, heatmap, volcano, ROC and survival curves, with significance brackets added automatically.
- A test wizard that picks the right test for your data and explains why.
Install
pip install staplot # add [excel] for .xlsx import
Python 3.10 or newer.
Use
Desktop app:
staplot
From Python (no GUI needed, safe to run headless):
from staplot import api
table = api.table_from_csv("counts.csv") # one column per group
stats = api.auto_test(table) # picks the test, returns p-values
fig, record = api.plot(table, kind="box") # matplotlib Figure with brackets
fig.savefig("counts.pdf")
auto_test checks normality per group (Shapiro-Wilk) and chooses Welch's t-test or
Mann-Whitney for two groups, and one-way ANOVA + Tukey or Kruskal-Wallis + Dunn for
more.
staplot draws the plot panels of PyFigures.
Tests
pip install pytest pytest-qt
python -m pytest tests
License
BSD 2-Clause, see LICENSE.
Metadata
Release files for staplot 0.1.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 |
|---|---|---|---|---|
| staplot-0.1.0.tar.gz | 101.6 kB | Without provenance | Details for staplot-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| staplot-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for staplot-0.1.0-py3-none-any.whl |
Total release size: 226.9 kB
Release files / staplot-0.1.0.tar.gz
| Download URL | staplot-0.1.0.tar.gz |
|---|---|
| Size | 101.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a98dd5cca38598006e79580f942394bf1717a90d7328c6c28c67f130f41966c
|
|
BLAKE2b-256 checksum How to use checksums |
d7d18f1675a6a42e1f91173f18c65fc6275f612472436f32b3e2590a8706251f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Release files / staplot-0.1.0-py3-none-any.whl
| Download URL | staplot-0.1.0-py3-none-any.whl |
|---|---|
| Size | 125.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a68bf94669dad4046c2789eb02fb909173c153e6a59aed871b22912bb827c0d4
|
|
BLAKE2b-256 checksum How to use checksums |
f79d65cf5542fd06da5cf646dee82736134da8e14e989e1050566079fcca976f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Security for staplot 0.1.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.