$npx skillfedfor your agent

sgmllib3k

Py3k port of sgmllib.

SkipPyPI HTMLReleased Aug 201010.1M downloads / moBSD LicenseSource build

Decision gist · record as of 2026-08-14

sdist only — sgmllib3k-1.0.0.tar.gz · builds from source
v1.0.0 · released 2010-08-24

No. This package is abandoned (no updates since 2010-08-24, no maintenance commitment) and the maintainer explicitly recommends finding an alternative. Install only if you are maintaining legacy code with a hard dependency on sgmllib3k and cannot refactor to a maintained alternative.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • No Python version constraint specified; compatibility with modern Python 3 versions is unverified.
  • High install friction: the package is abandoned (last release 2010-08-24, no activity for 5834 days) with no runtime dependencies.
  • The maintainer explicitly states they do not intend to maintain it and recommend finding an alternative module.

License · maintenance · safety

BSD License (permissive) — BSD License (permissive) imposes no significant restrictions on use or redistribution.

last release 2010-08-24 (5834 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 10,088,849 downloads/mo, #1,482 on PyPI

Verify before relying

pip install sgmllib3k

from sgmllib3k import SGMLParser

class MyParser(SGMLParser):
    def handle_data(self, data):
        print(data)

parser = MyParser()
parser.feed('<html><body>Hello</body></html>')
  • Whether sgmllib3k actually works on modern Python 3 versions or only those contemporary with 2010
  • Whether the 2to3 conversion was complete and handles Python 3 string/bytes distinctions correctly
  • What specific parsing tasks drive the 10088849 monthly downloads given the abandoned status
Same gist for agents: .md · .json

What it is and what it does

sgmllib3k is a minimal port of Python's old sgmllib module to Python 3, created by running 2to3 on the original code. It provides an event-driven SGML/HTML parser that works by subclassing and overriding handler methods for different document elements. The module was dropped from the stdlib because more robust alternatives exist, and the maintainer explicitly disclaims any intention to maintain this port.

The package has not been updated since its initial release on 2010-08-24 and is classified as abandoned. While it shows substantial download volume, this likely reflects transitive dependencies or legacy codebases still relying on it rather than active new adoption. The maintainer recommends finding another module for new projects.

Use it for

  • Porting old Python 2 code that depended on sgmllib to Python 3 with minimal changes
  • Parsing legacy SGML documents in Python 3 when the original module is unavailable
  • Maintaining existing projects with hard dependencies on sgmllib3k that cannot be refactored

Worth the install?

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

Skip

No.

This package is abandoned (no updates since 2010-08-24, no maintenance commitment) and the maintainer explicitly recommends finding an alternative. Install only if you are maintaining legacy code with a hard dependency on sgmllib3k and cannot refactor to a maintained alternative.

Install

sgmllib3k on PyPI

Before you install

High install friction: the package is abandoned (last release 2010-08-24, no activity for 5834 days) with no runtime dependencies. The maintainer explicitly states they do not intend to maintain it and recommend finding an alternative module.

No Python version constraint specified; compatibility with modern Python 3 versions is unverified.

License in practice

BSD License (permissive) imposes no significant restrictions on use or redistribution.

Quickstart

pip install sgmllib3k

from sgmllib3k import SGMLParser

class MyParser(SGMLParser):
    def handle_data(self, data):
        print(data)

parser = MyParser()
parser.feed('<html><body>Hello</body></html>')

Verify before relying

  • Whether sgmllib3k actually works on modern Python 3 versions or only those contemporary with 2010
  • Whether the 2to3 conversion was complete and handles Python 3 string/bytes distinctions correctly
  • What specific parsing tasks drive the 10088849 monthly downloads given the abandoned status

Package facts

LicenseBSD License permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAbandoned 5,834 days since the last release
First released
Downloads10,088,849 / month, #1,482 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 3

Evidence: sgmllib3k-1.0.0.tar.gz

Tags

Capabilities
sgml parser python 3html sgml parsingevent-driven html parsersgmllib3k replacementlegacy sgml parsing
Topics
deprecatedlegacy-compat

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 › “sgml parser python 3”

  • sgmllib3kA Python 3 port of the deprecated stdlib sgmllib module for parsing…
  • feedparser-sgmllibProvides the sgmllib SGML parser from Python 2.7 for use with…
  • ofxtoolsParses, generates, and converts Open Financial Exchange (OFX) data in…

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 feedparser-sgmllib · DocumentTemplate · audioop-lts · BeautifulSoup · standard-sunau · standard-imghdr · stdlibs · mjml · standard-chunk