psyreport
APA-7 reporting of results from psystats and psymetrics. Part of the ANOVA Methods family (psystats, psymetrics, psyreport).
Free and open (MIT). psyreport reads any psy result object and renders it as APA-7 text, a LaTeX table, or a Word (.docx) table — without importing the other packages (it dispatches on a shared result convention, so there is no circular dependency).
Install
pip install psyreport
What's inside
report(result) — an APA-7 formatted string. Follows APA number style (no
leading zero on bounded statistics, p < .001 thresholds, italic test
statistics spelled with their symbols).
to_latex(result, caption=, label=) — a LaTeX table environment for
table-bearing results; a commented APA sentence for inline-only results.
to_docx(result, path) — writes an APA-style Word document with the result's
table and note.
Example
from psymetrics import alpha
from psystats import table1, linreg
from psyreport import report, to_latex, to_docx
a = alpha(items)
print(report(a))
# -> "Cronbach's α = .87, 95% CI [.82, .91], based on 10 items (N = 240)."
print(report(linreg(df, "score", ["age", "condition"])))
# -> "age: b = 0.31, β = .28, p < .001." ...
to_docx(table1(df, group="condition"), "table1.docx") # Word table
print(to_latex(alpha(items), caption="Reliability", label="tab:alpha"))
Supported result kinds: alpha, riskratio, oddsratio, attributable_risk, ttest, anova, chisq, corr_matrix, freq, linreg, logreg, efa, cfa, describe, table1.
Metadata
Release files for psyreport 0.1.1
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 |
|---|---|---|---|---|
| psyreport-0.1.1.tar.gz | 6.8 kB | With provenance | Details for psyreport-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| psyreport-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for psyreport-0.1.1-py3-none-any.whl |
Total release size: 12.9 kB
Release files / psyreport-0.1.1.tar.gz
| Download URL | psyreport-0.1.1.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b840c38a24fdd11fb713f4474f1d4c0de4c9a6821d2577535b388d375406519f
|
|
BLAKE2b-256 checksum How to use checksums |
aa62eb2d9b6389095da3d10eecbbf607f729397bb9620ebf116241a1ec814a42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
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 Jul 25, 2026.
Transparency logRelease files / psyreport-0.1.1-py3-none-any.whl
| Download URL | psyreport-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
662f484cd8aff1a54bd9b53d75e582ed062a8f606e2e622b81776fbd0244255b
|
|
BLAKE2b-256 checksum How to use checksums |
40b4f72dac45d2ab1c85ab18e8da4d8b6c733c173a41500215b782f792bb3095
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
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 Jul 25, 2026.
Transparency logSecurity for psyreport 0.1.1
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 2 files in this release have been uploaded with provenance metadata.
Attestation for psyreport-0.1.1.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 Jul 25, 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.