Skip to main content

Anytext

Anytext is a fork of Textual, a Python framework for building terminal user interfaces.

Try the official demo in your browser.

Installation

pip install anytext

To install this checkout for development:

pip install -e .

Usage

from anytext.app import App, ComposeResult
from anytext.widgets import Header, Footer, Static


class HelloApp(App):
    def compose(self) -> ComposeResult:
        yield Header()
        yield Static("Hello from Anytext!")
        yield Footer()


if __name__ == "__main__":
    HelloApp().run()

Run the bundled demo with python -m anytext.

Configuration uses ANYTEXT_* environment variables, including ANYTEXT_THEME, ANYTEXT_ANIMATIONS, and ANYTEXT_FPS. The default themes are anytext-dark and anytext-light. Set feature flags with ANYTEXT (for example, ANYTEXT=debug).

Upstream tools such as textual-dev, textual-serve, and pytest-textual-snapshot are external packages and may require adaptation for this fork. External package names and links keep their original names.

Textual-compatible imports

Applications can let existing Textual-dependent libraries use Anytext without changing their imports:

from anytext import alias_textual

alias_textual()  # Before importing Textual-dependent libraries.

import your_textual_library

Imports such as textual.app and textual.widgets then share Anytext's modules and classes. Legacy framework CSS selectors, DOM lookups, and default theme names are also supported. See the compatibility guide for startup order, pytest plugins, and dependency metadata limitations.

WebAssembly and thread-free hosts

On Pyodide/WASM, Anytext automatically uses a thread-free runtime and a host-driven terminal driver. Set ANYTEXT_THREADS=0 before importing Anytext to exercise this mode on desktop Python. See the WASM guide for terminal callbacks, async workers, limitations, and the Pyodide smoke test.

License and attribution

Anytext retains the original MIT license and original copyright notices. See LICENSE.

Metadata

Release files for anytext 9.2.0

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

Source distribution (sdist)

Source distribution for anytext 9.2.0
File Size Uploaded Provenance Actions
anytext-9.2.0.tar.gz 1.0 MB With provenance Details for anytext-9.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for anytext 9.2.0
File Interpreter ABI Platform Actions
anytext-9.2.0-py3-none-any.whl Python 3 none any Details for anytext-9.2.0-py3-none-any.whl

Total release size: 1.8 MB

Release files / anytext-9.2.0.tar.gz

Download URL anytext-9.2.0.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
41ae3a92059f2e619f96db10fd85717b4420423cec7e0d1589370532fd069619
BLAKE2b-256 checksum
How to use checksums
745de4b7d64d4d0621346167d04d6a8f6b907ffc07aa5b18db24e28c9ca37c0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Release files / anytext-9.2.0-py3-none-any.whl

Download URL anytext-9.2.0-py3-none-any.whl
Size 754.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
380032ad2f802799bc41da92225cbc36f75db7f93841ff266849ff850f8fc555
BLAKE2b-256 checksum
How to use checksums
8b4d7760d216d14fa7af6d82c96372487613bb43c23811c9ec022c379f147fa1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Security for anytext 9.2.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for anytext-9.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

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