🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

tksheet

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tksheet

Tkinter table / sheet and treeview widget

7.5.12
PyPI
Maintainers
1

tksheet table tksheet treeview

tksheet - python tkinter table + treeview widget

PyPI version shields.io python License: MIT

GitHub Release Date 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.

Keywords

tkinter

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts