textile
Textile processing for python.
Decision gist · record as of 2026-08-14
Yes. textile is a stable, actively maintained library with no known vulnerabilities, low install friction, and a permissive license. It solves a specific, well-defined problem—converting Textile markup to HTML—with minimal dependencies. Install it if you need to accept or process Textile-formatted text in your application.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later; regex package is not installed on PyPy and may need manual uninstallation if upgrading from an older PyPy install.
- Low friction: pure Python wheel with only two runtime dependencies (nh3 and regex).
- Actively maintained with a recent release 96 days ago and ongoing repository activity.
License · maintenance · safety
permissive license (permissive) — BSD permissive license allows use in most projects without significant restrictions.
last release 2026-05-10 (96 days) · last repo commit 2026-07-22 · 74 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 607,988 downloads/mo, #5,784 on PyPI
Alternatives
Verify before relying
pip install textile
import textile
html = textile.textile('_This_ is a *test.*')
print(html)- Whether regex dependency causes measurable performance or compatibility issues on CPython (PyPy users should avoid it per docs).
- Whether optional Pillow dependency for image size checking is commonly needed or rarely used.
What it is and what it does
textile is a Python implementation of Textile, a lightweight markup language designed to be readable in plain text while converting cleanly to HTML. It processes text with simple syntax rules—underscores for emphasis, asterisks for strong, quoted text with colons for links, and dash-prefixed lines for lists—and outputs valid HTML. The package depends on nh3 for HTML sanitization and regex for pattern matching, making it suitable for any workflow that needs to accept user-friendly text input and produce safe HTML output.
The library is stable and actively maintained, with support for Python 3.8 through 3.14. It carries no known security vulnerabilities and installs with minimal friction. The optional Pillow dependency can be added if image size checking is needed, but the core functionality requires only the two base runtime dependencies.
Use it for
- Convert user-submitted blog posts or comments from Textile markup to HTML in a web application.
- Process documentation or README files written in Textile format into HTML for publishing.
- Build a content management system that accepts human-friendly text input and renders it as safe HTML.
- Transform plain-text notes with simple formatting into structured HTML for display or export.
- Sanitize and convert user-generated markup in forums or discussion boards.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
textile is a stable, actively maintained library with no known vulnerabilities, low install friction, and a permissive license. It solves a specific, well-defined problem—converting Textile markup to HTML—with minimal dependencies. Install it if you need to accept or process Textile-formatted text in your application.
Install
textile on PyPI
Before you install
Low friction: pure Python wheel with only two runtime dependencies (nh3 and regex). Actively maintained with a recent release 96 days ago and ongoing repository activity.
Requires Python 3.8 or later; regex package is not installed on PyPy and may need manual uninstallation if upgrading from an older PyPy install.
License in practice
BSD permissive license allows use in most projects without significant restrictions.
Quickstart
pip install textile
import textile
html = textile.textile('_This_ is a *test.*')
print(html)
Verify before relying
- Whether regex dependency causes measurable performance or compatibility issues on CPython (PyPy users should avoid it per docs).
- Whether optional Pillow dependency for image size checking is commonly needed or rarely used.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesnh3regex |
| Maintenance | Actively maintained 96 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 607,988 / month, #5,784 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules |
Evidence: textile-4.0.4-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “textile to html converter”
- textileConverts Textile markup (a human-friendly text format) into HTML,…
- html-to-markdownConverts real-world HTML—including malformed tags, broken entities,…
- xlsx2htmlConverts Excel spreadsheets (.xlsx files) to HTML tables while…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also html-sanitizer · mammoth · html5tagger · mistune · htpy · MarkupSafe · tinyhtml · nh3 · bleach · pyth3