Skip to main content

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.
  • Full multi-line commands support.
  • 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.

Metadata

Release files for text-console 2.0.0.post17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for text-console 2.0.0.post17
File Size Uploaded Provenance Actions
text_console-2.0.0.post17.tar.gz 17.8 kB Without provenance Details for text_console-2.0.0.post17.tar.gz

Release files / text_console-2.0.0.post17.tar.gz

Download URL text_console-2.0.0.post17.tar.gz
Size 17.8 kB
Tags Source
SHA-256 checksum
How to use checksums
88c5762d6b0fb87e1913d9b893cd7d13b8bbcfbf064b50bd92475ba9f4169a6a
BLAKE2b-256 checksum
How to use checksums
d3ecfbf6e40a05306cfa5a33f532069935d537b86a9a8460fda6615cff359a94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.4

Security for text-console 2.0.0.post17

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page