Python HTML

Open-source Python projects categorized as HTML

Top 23 Python HTML Projects

  1. 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.

    Project mention: Ask HN: Local RAG with private knowledge base | news.ycombinator.com | 2024-10-29
  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. pyscript

    PyScript is an open source platform for Python in the browser. Try PyScript: https://pyscript.com Examples: https://tinyurl.com/pyscript-examples Community: https://discord.gg/HxvBtukrg2

    Project mention: Comparing the Top 12 Best Python Web Frameworks for Developers | dev.to | 2024-09-23

    PyScript is an open-source framework that allows you run your Python code in the browser. With PyScript, developers can write Python scripts that directly interacts with the browser, just like JavaScript does.

  4. requests-html

    Pythonic HTML Parsing for Humansβ„’

  5. WeasyPrint

    The awesome document factory

    Project mention: Converting Plotly charts into images in parallel | dev.to | 2025-01-02

    To create our PDF reports, we use a combination of Weasyprint, Jinja, and Plotly charts. To render a report as a PDF, we first have to render all graphs as images.

  6. grip

    Preview GitHub README.md files locally before committing them.

    Project mention: Show HN: Offline Renderer for GitHub flavoured Markdown | news.ycombinator.com | 2024-04-02

    A popular implementation of the idea written in Python:

    https://github.com/joeyespo/grip

  7. pywebview

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

    Project mention: Rio-labs/rio: WebApps in pure Python. No JavaScript, HTML and CSS needed | news.ycombinator.com | 2024-09-17

    afaict it uses https://github.com/r0x0r/pywebview under the hood (so yes, cross-platform)

  8. toapi

    Every web site provides APIs.

  9. SaaSHub

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

    SaaSHub logo
  10. pandas-datareader

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

  11. best-of-web-python

    πŸ† A ranked list of awesome python libraries for web development. Updated weekly.

  12. pretix

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

  13. 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.

    Project mention: Dominate: A Python/JavaScript lib for generating HTML documents | news.ycombinator.com | 2024-12-13
  14. WTForms

    A flexible forms validation and rendering library for Python.

  15. flask-wtf

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

  16. mlscraper

    πŸ€– Scrape data from HTML websites automatically by just providing examples

  17. pypandoc

    Thin wrapper for "pandoc" (MIT)

    Project mention: Web Scraping in Python – The Complete Guide | news.ycombinator.com | 2024-02-20

    I recently used [0] Playwright for Python and [1] pypandoc to build a scraper that fetches a webpage and turns the content into sane markdown so that it can be passed into an AI coding chat [2].

    They are both very gentle dependencies to add to a project. Both packages contain built in or scriptable methods to install their underlying platform-specific binary dependencies. This means you don't need to ask end users to use some complex, platform-specific package manager to install playwright and pandoc.

    Playwright let's you scrape pages that rely on js. Pandoc is great at turning HTML into sensible markdown. Below is an excerpt of the openai pricing docs [3] that have been scraped to markdown [4] in this manner.

    [0] https://playwright.dev/python/docs/intro

    [1] https://github.com/JessicaTegner/pypandoc

    [2] https://github.com/paul-gauthier/aider

    [3] https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turb...

    [4] https://gist.githubusercontent.com/paul-gauthier/95a1434a28d...

      ## GPT-4 and GPT-4 Turbo

  18. portray

    Your Project with Great Documentation.

  19. djLint

    ✨ HTML Template Linter and Formatter. Django - Jinja - Nunjucks - Handlebars - GoLang

  20. MarkupSafe

    Safely add untrusted strings to HTML/XML markup.

  21. pytablewriter

    pytablewriter is a Python library to write a table in various formats: AsciiDoc / CSV / Elasticsearch / HTML / JavaScript / JSON / LaTeX / LDJSON / LTSV / Markdown / MediaWiki / NumPy / Excel / Pandas / Python / reStructuredText / SQLite / TOML / TSV.

  22. MatchTagAlways

    A Vim plugin that always highlights the enclosing html/xml tags

  23. fasthx

    FastAPI server-side rendering with built-in HTMX support.

    Project mention: Htmy – Async, pure-Python rendering engine | news.ycombinator.com | 2024-11-26

    I was imagining more like you have a Django view that does all the async data fetching and then you hand off the results to a 'dumb' page component that does only rendering

    I guess the point is to have components know how to fetch their own data, particularly when combining with HTMX and having backend return page fragments that correspond to components. But maybe this makes more sense in React than it does when translating the pattern back to server-side?

    e.g. same author has this https://github.com/volfpeter/fasthx?tab=readme-ov-file#htmy-... which is doing that, but there's still a 'view' endpoint. Why not put the data fetch code there and have 'dumb' components that don't need to be async?

  24. doorstop

    Requirements management using version control.

  25. granary

    πŸ’¬ The social web translator

    Project mention: Granary: The Social Web Translator | news.ycombinator.com | 2024-05-05
  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

  • Do any languages specify package requirements in import / include statements?

    7 projects | news.ycombinator.com | 23 Jan 2025
  • FastHTML and Heroku

    5 projects | dev.to | 13 Jan 2025
  • Converting Plotly charts into images in parallel

    2 projects | dev.to | 2 Jan 2025
  • Dominate: A Python/JavaScript lib for generating HTML documents

    2 projects | news.ycombinator.com | 13 Dec 2024
  • Using Pandoc and Typst to Produce PDFs

    1 project | news.ycombinator.com | 29 Nov 2024
  • Htmy – Async, pure-Python rendering engine

    4 projects | news.ycombinator.com | 26 Nov 2024
  • The ACF plugin on the WordPress directory has been taken over by WordPress.org

    3 projects | news.ycombinator.com | 12 Oct 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 7 Feb 2025
    SaaSHub helps you find the best software and product alternatives Learn more β†’

Index

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

# Project Stars
1 quivr 37,200
2 pyscript 18,173
3 requests-html 13,776
4 WeasyPrint 7,435
5 grip 6,583
6 pywebview 4,953
7 toapi 3,511
8 pandas-datareader 2,999
9 best-of-web-python 2,430
10 pretix 1,967
11 dominate 1,752
12 WTForms 1,525
13 flask-wtf 1,472
14 mlscraper 1,337
15 pypandoc 928
16 portray 862
17 djLint 739
18 MarkupSafe 639
19 pytablewriter 614
20 MatchTagAlways 541
21 fasthx 490
22 doorstop 488
23 granary 464

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

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