Skip to main content

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

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for statstables 0.0.19
File Size Uploaded
statstables-0.0.19.tar.gz 71.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for statstables 0.0.19
File Interpreter ABI Platform
statstables-0.0.19-py3-none-any.whl Python 3 none any Details

Total release size: 132.3 kB

Release files / statstables-0.0.19.tar.gz

Download URL statstables-0.0.19.tar.gz
Size 71.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7eeb162fb735348cfbba8da1b668f61de2208fa08d8a4dd0451deb532c8942ea
BLAKE2b-256 checksum
How to use checksums
285effc00dcad0ddb6a121496874fc4e96e6ae37a30ce12a1e952c3eb03cd1f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Oct 4, 2026.

Transparency log

Release files / statstables-0.0.19-py3-none-any.whl

Download URL statstables-0.0.19-py3-none-any.whl
Size 61.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cae2addedb9c496ed541d2fa4881e838f39399d25edce6c7386e64b512da234a
BLAKE2b-256 checksum
How to use checksums
eec7e9dec2e4cb3d2f829e1c790b5166aabbbb37d1c8cc4eab24a270aecc6f80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Oct 4, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.19 This release

2 release files

0.0.18

2 release files

0.0.17

2 release files

0.0.16

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.11

2 release files

0.0.1

2 release files

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