Python HTML

Open-source Python projects categorized as HTML

Top 23 Python HTML Projects

  1. docling

    Get your documents ready for gen AI

    Project mention: Open WebUI: Admin Configuration Options in a Nutshell | dev.to | 2026-09-30

    Extraction Engine: Choose from third-party OCR providers like Datalab, Mistral OCR, or PaddleOCR, or configure self-hosted instances of Tika, Docling, and MinerU. Instance-specific details, at least a URL and access token, need to be provided too.

  2. AppSignal

    AppSignal knows why the f*#k it crashed. Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.

    AppSignal logo
  3. quivr

    Opiniated RAG for integrating GenAI in your apps 🧠 Focus on your product rather than the RAG. Easy integration in existing products with customisation! Any LLM: GPT4, Groq, Llama. Any Vectorstore: PGVector, Faiss. Any Files. Anyway you want.

  4. pyscript

    An open source platform for Python in the browser. https://pyscript.net Docs: https://docs.pyscript.net/ Try it: https://pyscript.com/ Community: https://discord.gg/HxvBtukrg2

    Project mention: PyScript | dev.to | 2026-09-08
  5. requests-html

    Pythonic HTML Parsing for Humans™

  6. WeasyPrint

    The awesome document factory

    Project mention: wkhtmltopdf is archived with an open CVE — a field guide to moving off it | dev.to | 2026-08-26

    If your documents are print-oriented (invoices, contracts, statements), your templates don't run JavaScript, and you're on Python — WeasyPrint is the closest thing to a spiritual successor: a real @page-first CSS engine, no browser process at all, excellent page-break control, actively maintained.

  7. grip

    Preview GitHub README.md files locally before committing them.

  8. pywebview

    Build GUI for your Python program with JavaScript, HTML, and CSS

    Project mention: Looking for a Remote Job in Python/Django/Flask | news.ycombinator.com | 2025-12-17

    3. https://github.com/r0x0r/pywebview/pull/958 [Pywebview - A lightweight library for building desktop apps with html|css|js ]

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. toapi

    Every web site provides APIs.

  11. pandas-datareader

    Extract data from a wide range of Internet sources into a pandas DataFrame.

  12. best-of-web-python

    🏆 A ranked list of awesome python libraries for web development. Updated weekly.

  13. pretix

    Ticket shop application for conferences, festivals, concerts, tech events, shows, exhibitions, workshops, barcamps, etc.

    Project mention: Revel (letsrevel.io) alternatives - pretix and Hi.Events | libhunt.com/r/revel-backend | 2026-10-01
  14. dominate

    Dominate is a Python library for creating and manipulating HTML documents using an elegant DOM API. It allows you to write HTML pages in pure Python very concisely, which eliminate the need to learn another template language, and to take advantage of the more powerful features of Python.

  15. selectolax

    Python binding to Modest and Lexbor engines. Fast HTML5 parser with CSS selectors for Python.

    Project mention: Selectolax: a faster BeautifulSoup alternative for Python scraping at scale | dev.to | 2026-05-19

    Selectolax is a Python binding for the Lexbor HTML parser. Lexbor is a C library built from scratch for speed. It implements the HTML5 spec and supports CSS selectors.

  16. WTForms

    A flexible forms validation and rendering library for Python.

  17. flask-wtf

    Simple integration of Flask and WTForms, including CSRF, file upload and Recaptcha integration.

  18. mlscraper

    🤖 Scrape data from HTML websites automatically by just providing examples

  19. plutoprint

    A Python Library for Generating PDFs and Images from HTML, powered by PlutoBook

  20. pypandoc

    Thin wrapper for "pandoc" (MIT)

  21. djLint

    HTML template formatter and linter for Django, Jinja, Twig, Nunjucks, Handlebars, Liquid, Go templates, Mustache, Tera, Askama and Angular. Formats markup and template syntax together, and lints for accessibility, correctness and style. CLI, pre-commit hook and VS Code extension.

  22. portray

    Your Project with Great Documentation.

  23. 100LinesOfCode

    🚀 100+ mini-projects demonstrating the power of concise code. Perfect for learning, portfolio building, and first-time open source contributors. Under 100 lines each!

  24. fasthx

    Declarative Python server-side rendering utility for FastAPI with built-in HTMX support.

    Project mention: Django: What's new in 6.0 – Adam Johnson | news.ycombinator.com | 2025-12-09
  25. MarkupSafe

    Safely add untrusted strings to HTML/XML markup.

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python HTML discussion

Log in or Post with

Python HTML related posts

  • PyScript

    2 projects | dev.to | 8 Sep 2026
  • Show HN: Myjs An accidental pure-Python JavaScript interpreter

    2 projects | news.ycombinator.com | 5 Sep 2026
  • Render an HTML Table to PNG in Python (5 Ways, 2026)

    3 projects | dev.to | 8 Jun 2026
  • Weasyprint: Web-Based Document Design

    1 project | news.ycombinator.com | 18 Mar 2026
  • Show HN: DoScript – DSL for file automation with natural language syntax

    1 project | news.ycombinator.com | 16 Feb 2026
  • Show HN: DoScript – Automation language with English-like syntax

    1 project | news.ycombinator.com | 15 Feb 2026
  • Show HN: Wxpath – Declarative web crawling in XPath

    4 projects | news.ycombinator.com | 14 Jan 2026
  • A note from our sponsor - AppSignal
    www.appsignal.com | 5 Oct 2026
    Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise. Learn more →

Index

What are some of the best open-source HTML projects in Python? This list will help you:

# Project Stars
1 docling 68,256
2 quivr 39,578
3 pyscript 18,687
4 requests-html 13,829
5 WeasyPrint 9,653
6 grip 6,836
7 pywebview 6,082
8 toapi 3,555
9 pandas-datareader 3,270
10 best-of-web-python 2,763
11 pretix 2,528
12 dominate 1,830
13 selectolax 1,686
14 WTForms 1,582
15 flask-wtf 1,511
16 mlscraper 1,385
17 plutoprint 1,164
18 pypandoc 1,152
19 djLint 949
20 portray 861
21 100LinesOfCode 848
22 fasthx 732
23 MarkupSafe 697

Sponsored
AppSignal knows why the f*#k it crashed.
Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.
www.appsignal.com

Did you know that Python is
the 1st most popular programming language
based on number of references?