textual-dev is a Python library that provides command-line utilities and a development console to aid in building and debugging Textual TUI applications. It is released alongside the main Textual framework, which typically has a rapid release cadence, often weekly or bi-weekly for minor versions. The current version is 1.8.0.
pip install textual-devNo compatibility data collected yet for this library.
To use textual-dev, first save the provided Python code as `my_app.py`. Then, open *two separate terminal windows*. In the first terminal, start the Textual development console. In the second, run your application in development mode, enabling it to connect to the console. This setup allows you to see logs, debug information, and perform live editing tasks. Terminal 1: ```bash pip install textual textual-dev textual console ``` Terminal 2: ```bash python my_app.py --dev # or, if textual is installed in path: # textual run --dev my_app.py ```
`pip install textual textual-dev`
Refer to the Textual documentation and changelog for compatibility notes before upgrading major/minor versions of either `textual` or `textual-dev`.
Replace `print()` calls with `self.log("Your message")` or `self.app.log("Your message")` within your Textual application classes. Configure Textual's logging for more control.Upgrade to `textual-dev` 1.8.0 or later for Python 3.14 compatibility: `pip install --upgrade textual-dev`.
pip install textual-dev
import textual_dev
Ensure your Textual application calls `app.enable_devtools()` and is running. If necessary, specify the correct host/port: `textual console --host <APP_IP> --port <APP_PORT>`.
Upgrade both packages to their latest compatible versions: `pip install --upgrade textual textual-dev`.