# 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](https://github.com/Ircama/text_console).
Raw data
{
"_id": null,
"home_page": "https://github.com/Ircama/text_console",
"name": "text-console",
"maintainer": null,
"docs_url": null,
"requires_python": ">3.6",
"maintainer_email": null,
"keywords": "shell console tkinter",
"author": "Ircama",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/c1/81/2fdd049ca37881e11f6ff805467ffcb806f0eb4555bf34025cab95d9368e/text_console-1.0.14.tar.gz",
"platform": null,
"description": "# text_console\n\nA 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.\n\nIt includes options for overriding specific variables through subclassing, by extending the `TextConsole` class.\n\nThe package is installable via pip.\n\n## Features\n\n- Tkinter-based package\n- Customizable history file.\n- Context menu with options for Cut, Copy, Paste, and Clear.\n- Extendable for additional functionality.\n\nThe package provides flexibility to customize:\n\n- `history_file`: Change the location of the history file\n- `console_locals`: Add custom variables and functions to the console's namespace\n- `context_menu_items`: Modify the right-click context menu\n- `show_about_message`: Customize the about dialog content\n- `show_help_content`: Customize the help window content\n- `create_menu`: Override to completely customize the menu bar\n\nEach of these can be customized by subclassing TextConsole and overriding the appropriate attributes or methods.\n\n\nFull information and usage details at the [text_console GitHub repository](https://github.com/Ircama/text_console).\n",
"bugtrack_url": null,
"license": "EUPL-1.2",
"summary": "('A customizable Tkinter-based text console widget, in which a user types in commands to be sent to the Python interpreter.',)",
"version": "1.0.14",
"project_urls": {
"Homepage": "https://github.com/Ircama/text_console"
},
"split_keywords": [
"shell",
"console",
"tkinter"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "244e0bdfd4181477440ef7adf0d935757a619006b54b57532aca69155d000c9c",
"md5": "f70e851587a158248e05ccf0b1810b6f",
"sha256": "18c27e8a6d81702ce90c5a312d6f4ed96d0d744b1bb0da528cb0d52bffb221e0"
},
"downloads": -1,
"filename": "text_console-1.0.14-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f70e851587a158248e05ccf0b1810b6f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">3.6",
"size": 13650,
"upload_time": "2024-11-19T07:22:01",
"upload_time_iso_8601": "2024-11-19T07:22:01.285481Z",
"url": "https://files.pythonhosted.org/packages/24/4e/0bdfd4181477440ef7adf0d935757a619006b54b57532aca69155d000c9c/text_console-1.0.14-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c1812fdd049ca37881e11f6ff805467ffcb806f0eb4555bf34025cab95d9368e",
"md5": "8fcdb3d1786f7630d9e36e155e3381d2",
"sha256": "8ba63cc6cd56ce23e2ea7a281528fca66fc621f49ac919b60a94f37a2e22080f"
},
"downloads": -1,
"filename": "text_console-1.0.14.tar.gz",
"has_sig": false,
"md5_digest": "8fcdb3d1786f7630d9e36e155e3381d2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">3.6",
"size": 14434,
"upload_time": "2024-11-19T07:22:02",
"upload_time_iso_8601": "2024-11-19T07:22:02.734172Z",
"url": "https://files.pythonhosted.org/packages/c1/81/2fdd049ca37881e11f6ff805467ffcb806f0eb4555bf34025cab95d9368e/text_console-1.0.14.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-19 07:22:02",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Ircama",
"github_project": "text_console",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "text-console"
}