Skip to main content

typ-tables

CI PyPI Python versions License: MIT

Inspired by great-tables, a way to turn DataFrames into Typst tables.

To install, run uv add typ-tables

Tables that look like

rendered table

Created using the following Python script:

import polars as pl
from typ_tables import TypTable

df = pl.DataFrame(
    {
        "string": ["a", "b", "c"],
        "int": [10, 10000, 1000000],
        "float": [0.000001, 0.1368753, 163985.8374],
    }
)

table = TypTable(df)
result: str = table.to_typst()

To include the table in your Typst report you can write the resulting Typst string to a file and include it.

#include "table.typ"

Documentation

For more, check out the documentation. The great_tables documentation is also useful as many of the examples work in typ-tables.

Metadata

Release files for typ-tables 0.4.0

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

Source distribution (sdist)

Source distribution for typ-tables 0.4.0
File Size Uploaded Provenance Actions
typ_tables-0.4.0.tar.gz 83.2 kB Without provenance Details for typ_tables-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for typ-tables 0.4.0
File Interpreter ABI Platform Actions
typ_tables-0.4.0-py3-none-any.whl Python 3 none any Details for typ_tables-0.4.0-py3-none-any.whl

Total release size: 133.2 kB

Release files / typ_tables-0.4.0.tar.gz

Download URL typ_tables-0.4.0.tar.gz
Size 83.2 kB
Tags Source
SHA-256 checksum
How to use checksums
eb8ca681fb209508a797165ef7c084006d7804bc01ebf8024b8fe11da89c61f1
BLAKE2b-256 checksum
How to use checksums
4eda4117ac955b8bf4b368c616450db2abbde9a10abbb45fa5461fb23f239df3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / typ_tables-0.4.0-py3-none-any.whl

Download URL typ_tables-0.4.0-py3-none-any.whl
Size 49.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2927e7adde82b4cf51d08ce6a149875c36782e0b06e7e46f6e92d83290507335
BLAKE2b-256 checksum
How to use checksums
70885358fe4fd7c13c8cc0d466403376e73bd6ad980e0bd5e0e0c4c91e67853a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for typ-tables 0.4.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.

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