Skip to main content

Tkinter table / sheet widget

Project description

tksheet PyPI version shields.io python License: MIT GitHub Release Date Downloads

Python tkinter table widget

#To install using pip
pip install tksheet

#To update using pip
pip install tksheet --upgrade

Help

Notice:

Changes coming soon for versions >= 7.0.0:

  • ALL extra_bindings() event objects will be changed, see here for more information. If you use the extra_bindings() function and plan to upgrade to version 7 when it's released you will need to change code that deals with the event object.
  • Only Python versions >= 3.8 are supported.
  • tksheet file names will be changed.

Changes for versions >= 5.5.0:

  • If you use extra_bindings() with "edit_cell"/"end_edit_cell" you must provide a return value in your bound function to set the cell value to. To disable this behavior in these versions use option edit_cell_validation = False in your Sheet() initialisation arguments or use set_options(edit_cell_validation = False). See here for more information on this issue and if you need to very directly set the cell data.

Features

  • Display and modify tabular data
  • Stores its display data as a Python list of lists, sublists being rows
  • Runs smoothly even with millions of rows/columns
  • Edit cells directly
  • Cell values can potentially be any class, the default is any class with a __str__ method
  • Drag and drop columns and rows
  • Multiple line header and index cells
  • Expand row heights and column widths
  • Change fonts and font size (not for individual cells)
  • Change any colors in the sheet
  • Create an unlimited number of high performance dropdown and check boxes
  • Hide rows and/or columns
  • Left "w", Center "center" or Right "e" text alignment for any cell/row/column

light blue theme

tksheet light blue theme

black theme

tksheet black theme

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-6.3.1.tar.gz (115.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: tksheet-6.3.1.tar.gz
  • Upload date:
  • Size: 115.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for tksheet-6.3.1.tar.gz
Algorithm Hash digest
SHA256 dc6b33386687a821f999471f9a82da36fe95a260eae55649afea7a689ede82ec
MD5 b8f5e5ef3ff98cc217779fd6d2a4c6df
BLAKE2b-256 b60878786d777649c024e189ace5a5752e2109fb728c9e90dd3ba297181e3eb2

See more details on using hashes here.

Provenance

Supported by

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