Skip to main content

sheetframe

Interactive spreadsheet-style pandas tables for Jupyter notebooks and Google Colab. Select cells, rows, columns, or the whole table; resize rows and columns; copy a selection as plain text or an HTML table. Optional KPIs summarize the DataFrame.

Install

pip install sheetframe

The PyPI package and recommended Python import are both named sheetframe.

Use

import pandas as pd
from sheetframe import sheetframe

df = pd.DataFrame({"Name": ["Ada", "Lin"], "Score": [9.25, 8.5]})
sheetframe(df, decimal=2, showIndex=False, include_header=True, kpi=False)

sheetframe displays the table in a Jupyter or Colab output cell. It accepts a pandas DataFrame or Series. decimal=0 preserves the original numeric text. Set showIndex=True to show the index initially, include_header=False to omit column names from copied selections, and kpi=True to show the summary above the table.

The original from labframe import lab_table import still works.

Browser clipboard permissions and notebook security settings may affect copying and inline JavaScript behavior.

Publish to PyPI

The next release is 0.1.2. From this folder on Windows, create a virtual environment and build the distributions:

py -m venv .venv
.\.venv\Scripts\python -m pip install build twine
.\.venv\Scripts\python -m build
.\.venv\Scripts\python -m twine check dist\sheetframe-0.1.2*

Create a PyPI account and an API token. Then upload the files:

.\.venv\Scripts\python -m twine upload dist\sheetframe-0.1.2*

When prompted, use __token__ as the username and paste the full pypi-... token as the password. After PyPI finishes processing, verify with py -m pip install sheetframe==0.1.2 in a fresh environment. For later releases, increase the version in pyproject.toml and src/sheetframe/__init__.py before building again; PyPI does not permit replacing an uploaded version.

Metadata

Release files for sheetframe 0.1.2

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

Source distribution (sdist)

Source distribution for sheetframe 0.1.2
File Size Uploaded
sheetframe-0.1.2.tar.gz 11.8 kB Details

Built distribution (wheel)

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

Total release size: 21.7 kB

Release files / sheetframe-0.1.2.tar.gz

Download URL sheetframe-0.1.2.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
eb90643383a90730dded1329ab181ab9db10e48c27bc11c15a521e653225f924
BLAKE2b-256 checksum
How to use checksums
330fc2b07f72a5834d1ae615fa89b201dee1c65f97d38a8686e7cdc6c8436295
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release files / sheetframe-0.1.2-py3-none-any.whl

Download URL sheetframe-0.1.2-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c494bf4b012a42e364c0d7b1fcf8ee026502d7ae72f9a7f1af51380306ebb672
BLAKE2b-256 checksum
How to use checksums
a6e8a7d7aa6879c479b737c9953495078dc7a9a3bf6f7c2377f290c4b19cce1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.3

Release history Release notifications | RSS feed

0.1.3

2 release files

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

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