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.1

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.1
File Size Uploaded Provenance Actions
anytext-9.2.1.tar.gz 1.0 MB With provenance Details for anytext-9.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 1.8 MB

Release files / anytext-9.2.1.tar.gz

Download URL anytext-9.2.1.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
82bdd0814f6f56cc13e87e3f611d7b36bffe32b1a9c63226d483e12f57a976f9
BLAKE2b-256 checksum
How to use checksums
aa604765d8da4fd05f712b44ffea7308bd9aedebd5ad69951b923098ba5926b5
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 16, 2026.

Transparency log

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

Download URL anytext-9.2.1-py3-none-any.whl
Size 754.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84c448ebb55656b82f1a044098eb841efbc96fd071ecf01fcd2c65b2a11ec82d
BLAKE2b-256 checksum
How to use checksums
25a6cf02d519659a580ccaba7c7e7363fe34d3c2b0201bb7090d4d65eec5c3e6
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 16, 2026.

Transparency log

Security for anytext 9.2.1

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.1.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 16, 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