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.5.19.tar.gz (199.0 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.5.19-py3-none-any.whl (202.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tksheet-7.5.19.tar.gz
Algorithm Hash digest
SHA256 df5294b08910f51a1d6055c5ce257a37824262ffec7527ff1562a5479a1ce0dd
MD5 f8dbf3e63505b866b7f5d3d4102bb341
BLAKE2b-256 a98e18d5ef90b778318e0be20ea6f5165dda08002085b94cdbf98542cc4c82eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tksheet-7.5.19-py3-none-any.whl
  • Upload date:
  • Size: 202.6 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.5.19-py3-none-any.whl
Algorithm Hash digest
SHA256 a1a92b65b01f75b0e079a53e660da251ec47c8369e655ba54ae0bee7173a2e99
MD5 00998b54935a58348dd352ce60333410
BLAKE2b-256 51508ac1d4a9a8e12b1ad8a9b92a810cc12d2e59ef4411df2d82bd6c7dee2f7d

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