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.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| anytext-9.3.0.tar.gz | 1.0 MB | With provenance | Details for anytext-9.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| anytext-9.3.0-py3-none-any.whl | Python 3 | none | any | Details for anytext-9.3.0-py3-none-any.whl |
Total release size: 1.8 MB
Release files / anytext-9.3.0.tar.gz
| Download URL | anytext-9.3.0.tar.gz |
|---|---|
| Size | 1.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
521ecd78a951502d47b3a619bb6b4676676182295cd1e4b559b6874067251a3b
|
|
BLAKE2b-256 checksum How to use checksums |
14562d489a282f92d46ae2e23afd7e6cb31dd5e51eb7eb6154fa0b335faac6aa
|
| 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 17, 2026.
Transparency logRelease files / anytext-9.3.0-py3-none-any.whl
| Download URL | anytext-9.3.0-py3-none-any.whl |
|---|---|
| Size | 755.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
432ccb14bb62bda998fcda88d4ecad66ae6b34a30cb6f5b6860e6b1e782b7c33
|
|
BLAKE2b-256 checksum How to use checksums |
315671ce2f97deac070456858f24fd83a3f97d5314a11d5478ac25f8d802c4d1
|
| 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 17, 2026.
Transparency logSecurity for anytext 9.3.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.
Attestation for anytext-9.3.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 17, 2026.
Transparency logA 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.