$npx skillfedfor your agent

st-annotated-text

A simple component to display annotated text in Streamlit apps.

With conditionsPyPI HTMLReleased Jan 2025301.6K downloads / moApache 2Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — st_annotated_text-4.0.2-py3-none-any.whl
v4.0.2 · released 2025-01-23 · Python >=3.5 · 1 runtime deps: htbuilder

Yes, if you're building a Streamlit app that needs to display annotated or labeled text. Low install friction, no security issues, and permissive license make it straightforward. Dormant maintenance is not a blocker for a stable, single-purpose component; verify color customization and rendering work with your Streamlit version.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Designed for use within Streamlit applications; requires Streamlit to be installed separately.
  • Low friction: pure Python wheel with a single runtime dependency (htbuilder).
  • Dormant maintenance status—last commit January 2025—but stable and suitable for a single-purpose component.

License · maintenance · safety

Apache 2 (permissive) — Apache 2 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.

last release 2025-01-23 (568 days) · last repo commit 2025-01-23 · 567 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 301,592 downloads/mo, #7,834 on PyPI

Verify before relying

pip install st-annotated-text

from st_annotated_text import annotated_text

annotated_text(
    "This ",
    ("is", "verb"),
    " some ",
    ("annotated", "adj"),
    ("text", "noun")
)
  • Whether background and foreground color customization works reliably across Streamlit versions
  • Performance characteristics with large annotated text blocks or many annotations
  • Integration requirements and compatibility with current Streamlit releases
Same gist for agents: .md · .json

What it is and what it does

st-annotated-text is a Streamlit component that renders text with inline annotations—labels, highlights, or custom styling applied to specific words or phrases. It wraps htbuilder to generate HTML markup and integrates into Streamlit apps via the annotated_text() function.

You pass the function a mix of plain strings and tuples; each tuple contains text to annotate plus a label, and optionally CSS color strings for background and foreground. The component renders the result as styled HTML in your UI. It's designed for scenarios where you need to highlight and label portions of text inline without building custom HTML yourself.

Use it for

  • Display named entity recognition results with entity type labels on extracted text
  • Highlight parts of speech or grammatical annotations in linguistic analysis tools
  • Show sentiment or topic labels on text passages in data exploration dashboards
  • Visualize text classification predictions with category labels

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you're building a Streamlit app that needs to display annotated or labeled text.

Low install friction, no security issues, and permissive license make it straightforward. Dormant maintenance is not a blocker for a stable, single-purpose component; verify color customization and rendering work with your Streamlit version.

Install

st-annotated-text on PyPI

Before you install

Low friction: pure Python wheel with a single runtime dependency (htbuilder). Dormant maintenance status—last commit January 2025—but stable and suitable for a single-purpose component.

Designed for use within Streamlit applications; requires Streamlit to be installed separately.

License in practice

Apache 2 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install st-annotated-text

from st_annotated_text import annotated_text

annotated_text(
    "This ",
    ("is", "verb"),
    " some ",
    ("annotated", "adj"),
    ("text", "noun")
)

Verify before relying

  • Whether background and foreground color customization works reliably across Streamlit versions
  • Performance characteristics with large annotated text blocks or many annotations
  • Integration requirements and compatibility with current Streamlit releases

Package facts

LicenseApache 2 permissive
Python supportSupports the current Python release >=3.5
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
htbuilder
MaintenanceDormant 568 days since the last release
Last repo commit
First released
Downloads301,592 / month, #7,834 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: st_annotated_text-4.0.2-py3-none-any.whl

Tags

Capabilities
streamlit text annotationlabeled text displayannotated text componenttext highlighting with labelsinline text markup
Topics
streamlit-componentnlp-visualization

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 › “streamlit text annotation”

Give your agent the search over MCP, or paste the wish link into any chat.

More HTML packages

MarkupSafe Worth it
PyPI · Dynamic Content · released Sep 2025

MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.

BSD-3-Clausecompiled wheel · 3.9+aging
797.1Mdownloads / mo
Jinja2 Worth it
PyPI · Dynamic Content · released Mar 2025

Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.

BSD-3-Clausepure Python · 3.7+aging
718.6Mdownloads / mo
beautifulsoup4 Worth it
PyPI · Python Modules · released Jun 2026

Beautiful Soup parses HTML and XML documents into a navigable tree, providing Pythonic methods to search, iterate, and modify the parsed content.

Install it if you need to parse or extract data from markup documents.

MITpure Python · 3.7.0+
432.1Mdownloads / mo
lxml Worth it
PyPI · Python Modules · released May 2026

lxml provides Python bindings to libxml2 and libxslt, enabling parsing, validation, and transformation of XML and HTML documents through an ElementTree-compatible API with support for XPath, XSLT, and schema validation.

Install it if you need robust XML/HTML parsing, validation, or transformation; avoid it only if you must stay pure-Python and can accept slower performance.

permissive licensecompiled wheel · 3.8+
416.8Mdownloads / mo
docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
Markdown Worth it
PyPI · Python Modules · released Jul 2026

Converts Markdown text to HTML using a Python implementation of John Gruber's Markdown specification, with support for extensions.

Install it if you need to parse Markdown in Python.

BSD-3-Clausepure Python · 3.10+
121.7Mdownloads / mo

See also streamlit-ace · streamlit-pdf-viewer · streamlit-pdf · streamlit-code-editor · streamlit-feedback · st-theme · streamlit-embedcode · streamlit-quill · streamlit-avatar · annotated-doc