Statstables
A Python package for making nice LaTeX, HTML, and ASCII text tables.
This package is inspired by the stargazer Python package (and by extension the stargazer R package that inspired that). statstables can be used to render output from a number of natively supported models (those in the statsmodels and linearmodels packages), while giving users the ability to easily implement custom renderers for models not currently supported. It can also be used to create just about any other table you may need in a research project.
The goal of statstables is to allow you to think as much or as little as you'd like about about the tables you're creating. If you want to use all the defaults and get a presentable table, you can. If you want control over all the details, down to how individual cells are formatted, you can do that too. All of this is done without changing the underlying object containing the data, whether that's a Pandas DataFrame or fitted model.
Examples of how to use statstables can be found in the sample notebook. See main.tex and main.pdf to see what the tables look like rendered in LaTeX. you will need to include \usepackage{booktabs} in the preamble to your TeX file for it to compile.
Installation
To install the latest release, use
pip install statstables
Or you can clone this repo to use the latest changes.
Metadata
Release files for statstables 0.0.21
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 |
|---|---|---|---|---|
| statstables-0.0.21.tar.gz | 71.0 kB | With provenance | Details for statstables-0.0.21.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| statstables-0.0.21-py3-none-any.whl | Python 3 | none | any | Details for statstables-0.0.21-py3-none-any.whl |
Total release size: 132.3 kB
Release files / statstables-0.0.21.tar.gz
| Download URL | statstables-0.0.21.tar.gz |
|---|---|
| Size | 71.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4ed1eb56ecb2050bfaadc89f944269bcbc489a86498f9112d9a218f7399b515
|
|
BLAKE2b-256 checksum How to use checksums |
4d68bc9966654e93563f750a4df5ad9f962b2ebdebf9271941e517c25f20b722
|
| 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 21, 2026.
Transparency logRelease files / statstables-0.0.21-py3-none-any.whl
| Download URL | statstables-0.0.21-py3-none-any.whl |
|---|---|
| Size | 61.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ec1424b5d98b074fc7e43bed64bdccdd431fcda3a701bfde7e3703de92c7a99c
|
|
BLAKE2b-256 checksum How to use checksums |
55c26447915698d97030c5441071961c7161799ead23fb3695919cf5ee418e07
|
| 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 21, 2026.
Transparency logSecurity for statstables 0.0.21
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 statstables-0.0.21.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 21, 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.