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

Built distribution (wheel)

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

Total release size: 1.8 MB

Release files / anytext-9.4.0.tar.gz

Download URL anytext-9.4.0.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
2c0744ce0d11a87e8d586446609cd20e9ec7c37bcfa965d3d390add946dbdd93
BLAKE2b-256 checksum
How to use checksums
7f31376d7773a82748aa683ffea82cea9f9bc1e7ce612af1f71495e84a05f51a
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 22, 2026.

Transparency log

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

Download URL anytext-9.4.0-py3-none-any.whl
Size 754.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
279172e22f94f658262e32fd1cd6ee85324b4ea9a517896956465f03039286c2
BLAKE2b-256 checksum
How to use checksums
118be61e945964bf6c153e548e7d7cbca94e22af3635982e793409a962c4429a
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 22, 2026.

Transparency log

Security for anytext 9.4.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.4.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 22, 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