Tkinter table / sheet widget
Project description
tksheet
A python tkinter table widget
Help | |
---|---|
Versions 6.x.x -> | Documentation Wiki |
Versions 7.x.x -> | Documentation Wiki |
Changelog | |
Questions | |
Issues | |
Suggestions |
This library is maintained with the help of others. If you would like to contribute please read this help section.
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 functionedit_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.
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
"""
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
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-7.0.6.tar.gz
(134.1 kB
view details)
Built Distribution
tksheet-7.0.6-py3-none-any.whl
(137.3 kB
view details)
File details
Details for the file tksheet-7.0.6.tar.gz
.
File metadata
- Download URL: tksheet-7.0.6.tar.gz
- Upload date:
- Size: 134.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfe22b9862f7a9ffe18085edf6a641adc231dea70a4f787698b376a40585ae84 |
|
MD5 | a1ccc09ca9ef0a3f2a683d7d79825878 |
|
BLAKE2b-256 | 4d9353b1e8c5b8070bd807e40a77c5a32ba8f5fa412cf8b8aa6a72721fc1a2e3 |
Provenance
File details
Details for the file tksheet-7.0.6-py3-none-any.whl
.
File metadata
- Download URL: tksheet-7.0.6-py3-none-any.whl
- Upload date:
- Size: 137.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c3d8faa9939d17a0e06f9a597768d026794404e13cdf8be2e2623c0b3cbcc8f |
|
MD5 | 009242268ec9320c5b0bb85b5102a7da |
|
BLAKE2b-256 | 4d070a91e465ef42bbb4ae29d93b8a4cdca5a28c2cc682bca3ad4e96a73ba3ba |