Skip to main content

Tkinter table / sheet and treeview widget

Project description

tksheet table tksheet treeview

tksheet - python tkinter table + treeview widget

PyPI version Python Versions License: MIT

GitHub Release Date Downloads Downloads

With apologies, development of this library has ceased except for bug fixes or behavioral issues. Pull requests for other changes are unlikely to be merged.

Help
Versions 6.x.x → Documentation
Versions 7.x.x → Documentation
Changelog
Issues
Contributions and Thanks

Features

Note that due to the limitations of the Tkinter Canvas right-to-left (RTL) languages are not supported.

"""
Versions 7+ have succinct and easy to read syntax:
"""
# set data
sheet["A1"].data = "edited cell A1"

# get data
column_b = sheet["B"].data

# add 2 empty columns and add the change to undo stack
sheet.insert_columns(columns=2, idx=4, undo=True)

# delete columns 0 and 3 and add the change to undo stack
sheet.delete_columns(columns=[0, 3], undo=True)

light blue theme

tksheet light blue theme

dark theme

tksheet dark theme

treeview mode

tksheet treeview

Changes for versions 7+:

  • ALL extra_bindings() event objects have changed, information here.
  • The bound function for extra_bindings() with "edit_cell"/"end_edit_cell" no longer requires a return value and no longer sets the cell to the return value. Use this instead.
  • edit_cell_validation has been removed and replaced with the function edit_validation(), information here.
  • Only Python versions >= 3.8 are supported.
  • tksheet file names have been changed.
  • Many other smaller changes, see the changelog for more information.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tksheet-7.6.0.tar.gz (199.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tksheet-7.6.0-py3-none-any.whl (202.7 kB view details)

Uploaded Python 3

File details

Details for the file tksheet-7.6.0.tar.gz.

File metadata

  • Download URL: tksheet-7.6.0.tar.gz
  • Upload date:
  • Size: 199.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for tksheet-7.6.0.tar.gz
Algorithm Hash digest
SHA256 42d0618b10184294a85489a474ae747097483dd9a47b4385ba12b1afa8648e1a
MD5 e11378d44a23bec8b199d5df65bce1e8
BLAKE2b-256 a1284e83480a2c1d41d25fbae2b613847ead6d9499a2d7eec0000bf17aed2f30

See more details on using hashes here.

File details

Details for the file tksheet-7.6.0-py3-none-any.whl.

File metadata

  • Download URL: tksheet-7.6.0-py3-none-any.whl
  • Upload date:
  • Size: 202.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for tksheet-7.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c586d7d04f93bace45f97888b12ea97cbb48dea4f1c3b7931e89491fdf18f9bb
MD5 9aed7bbfb3af50cf765853b4a4865be6
BLAKE2b-256 51a2406016281147857d919c95a9efb6926b8ada683d2fc4de8c1fabc9d5aefa

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page