view3
Paged, theme-aware tables in notebook output. It is the shared viewer of tidy3, tidy3a and stats3, released on its own so each can show tables without depending on the others. It needs only polars.
import polars as pl
import view3
penguins = pl.read_csv(
"https://raw.githubusercontent.com/allisonhorst/palmerpenguins/main/inst/extdata/penguins.csv",
null_values="NA",
)
view3.view(penguins); # ten rows a page, every row up to n=1000
view3.view(penguins, page_size=25); # bigger pages
view3.view(penguins, pages=False, height=300); # one box that scrolls
view3.view(penguins, digits=4); # four significant digits
Column names and types sit in the header, missing values show as null,
floats print as polars' text preview prints them (or to digits=
significant digits, or digits="full"), and long values are cut with the
full value on hover. Wide tables show as many columns as fit, with
arrows to the rest. The table follows the notebook's light or dark theme in
VS Code, JupyterLab and SolveIt.
view() returns what it was given, so it can sit in the middle of a pipe.
As a cell's last line the notebook also prints that value; end the line with
; to hide it.
Your own objects
An object with a __view3__ method shows without view3 importing its
package:
def __view3__(self, n):
return first_n_rows_as_polars, total_rows_or_None, "caption or None"
More
docs/design.md records the design and what each package adds.
Metadata
Release files for view3 0.2.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 |
|---|---|---|---|---|
| view3-0.2.0.tar.gz | 15.2 kB | With provenance | Details for view3-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| view3-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for view3-0.2.0-py3-none-any.whl |
Total release size: 25.9 kB
Release files / view3-0.2.0.tar.gz
| Download URL | view3-0.2.0.tar.gz |
|---|---|
| Size | 15.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7b8788ef53606a8c8ab18a300a957e0044d27c72b12f505c8f1caf261e468def
|
|
BLAKE2b-256 checksum How to use checksums |
8cc63d09c1530b9ac01b475280aa72bd130328f98fe6d4525b9555a615d00857
|
| 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 Nov 3, 2026.
Transparency logRelease files / view3-0.2.0-py3-none-any.whl
| Download URL | view3-0.2.0-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
21e3d586c296ed413bedbfcdb0bf1ba3238e06c99dffaf964185a2fbf5191d1b
|
|
BLAKE2b-256 checksum How to use checksums |
66fe6e760068b2843e4255ed8deb77b8898319b8e2cf06cbe3846a9c4fbb5ff7
|
| 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 Nov 3, 2026.
Transparency logSecurity for view3 0.2.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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for view3-0.2.0.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 Nov 3, 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.