Skip to main content

('A customizable Tkinter-based text console widget, in which a user types in commands to be sent to the Python interpreter.',)

Project description

text_console

A customizable Tkinter-based text console widget with support for command history and interactive execution, in which a user types in commands to be sent to the Python interpreter.

It includes options for overriding specific variables through subclassing, by extending the TextConsole class.

The package is installable via pip.

Features

  • Tkinter-based package
  • Customizable history file.
  • Context menu with options for Cut, Copy, Paste, and Clear.
  • Extendable for additional functionality.

The package provides flexibility to customize:

  • history_file: Change the location of the history file
  • console_locals: Add custom variables and functions to the console's namespace
  • context_menu_items: Modify the right-click context menu
  • show_about_message: Customize the about dialog content
  • show_help_content: Customize the help window content
  • create_menu: Override to completely customize the menu bar

Each of these can be customized by subclassing TextConsole and overriding the appropriate attributes or methods.

Full information and usage details at the text_console GitHub repository.

Project details


Download files

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

Source Distribution

text_console-1.0.13.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

text_console-1.0.13-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file text_console-1.0.13.tar.gz.

File metadata

  • Download URL: text_console-1.0.13.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for text_console-1.0.13.tar.gz
Algorithm Hash digest
SHA256 b108558cdf646fcf18a62d8219ca5add5d779b33c98f28ce346d1bfc328868c7
MD5 bb1d04c4d4e90c4a97f4e799aa21e2dc
BLAKE2b-256 0a8fc761826403741e512380d6fad79dbfb67c10aae507197a1d1d712c340282

See more details on using hashes here.

File details

Details for the file text_console-1.0.13-py3-none-any.whl.

File metadata

File hashes

Hashes for text_console-1.0.13-py3-none-any.whl
Algorithm Hash digest
SHA256 b8d17322b9bf1e439b8374c40c7054226e7227ed0f170f04c2e6048046014856
MD5 bbcba106d0c129c59207aa9776ccd708
BLAKE2b-256 39fd41dd4e43b15743026807cd7bd087c33a8c27e550014a4b255490de3a43bd

See more details on using hashes here.

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