Python CSS

Open-source Python projects categorized as CSS

Top 23 Python CSS Projects

  • WeasyPrint

    The awesome document factory

    Project mention: QuestPDF: Modern .NET library for PDF document generation | news.ycombinator.com | 2023-01-18

    The Paged Media spec on counters and counter-resets paints implementations into a corner. They can't both comply with the spec and implement page count resets on page breaks. This has been a known issue with the spec since 2013[1][2] and been a thorn in implementations since.[3]

    1: https://www.w3.org/Style/CSS/Tracker/issues/334

    2: https://github.com/w3c/csswg-drafts/issues/4760

    3: https://github.com/Kozea/WeasyPrint/issues/93#issuecomment-4...

  • pyquery

    A jquery-like library for python

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • django-tailwind

    Django + Tailwind CSS = 💚

    Project mention: What's the best way to build UI with Django Templates? | reddit.com/r/django | 2023-01-17

    I'm currently using Django + TailwindCSS to build small apps, sometimes relying on JS or even with some other Django app to handle dynamic behavior on the front-end (e.g. django-formset for improving forms). I've been achieving very interesting results with this stack so far.

  • parsel

    Parsel lets you extract data from XML/HTML documents using XPath or CSS selectors

    Project mention: 13 ways to scrape any public data from any website | dev.to | 2022-10-07

    variable.css(".X5PpBb::text").get() # returns a text value variable.css(".gs_a").xpath("normalize-space()").get() # https://github.com/scrapy/parsel/issues/192#issuecomment-1042301716 variable.css(".gSGphe img::attr(srcset)").get() # returns a attribute value variable.css(".I9Jtec::text").getall() # returns a list of strings values variable.xpath('th/text()').get() # returns text value using xpath

  • needle

    Automated tests for your CSS. (by python-needle)

    Project mention: Show HN: Instantly create a GitHub repository to take screenshots of a web page | news.ycombinator.com | 2022-03-14

    You could absolutely get this working with GitHub Actions with a bit of creativity.

    I've been playing around with my own image-diff tool for this kind of thing, but it's not yet in a decent state: https://github.com/simonw/image-diff - there are other, better options out there such as https://github.com/mapbox/pixelmatch

    Needle is an older system that did this using Selenium - updating that to work with Playwright (or Playwight via shot-scraper) would be an interesting project: https://github.com/python-needle/needle

  • m.css

    A no-nonsense, no-JavaScript CSS framework, site and documentation theme for content-oriented websites

    Project mention: Limiting Doxygen content width | reddit.com/r/cpp_questions | 2022-10-20

    Aside from custom CSS stylesheets, there are also plenty of post-processing tools that can take (usually) the xml output of doxygen and output something more stylized. Same examples include Mosra's m.css, or using Sphinx.

  • Django_blog

    A blog application made with Django and bootstrap (by TheAbhijeet)

    Project mention: url redirection in templates | reddit.com/r/django | 2022-02-26

    i am editing a django blog script from this repo. i want to make a redirect for contact element in a template named base.html to a specific post it's slug contact-me.

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • banking-system

    A Banking System Concept Created Using Django Python Web Framework and Tailwind CSS

  • flask-calendar

    Simple Python & Flask web-calendar

  • soupsieve

    A modern CSS selector implementation for BeautifulSoup

  • md2pdf

    Markdown to PDF conversion tool

    Project mention: Anything self hosted like paperless.io? | reddit.com/r/selfhosted | 2022-11-27

    Document read from codimd-api https://github.com/hackmdio/hackmd-cli/blob/master/README.md - Matching config.yaml + styles read from git - Fetching data from CRM https://docs.espocrm.com/development/api/#client-implementations - Parsing markdown as jinja template - Generate pdf from markdown https://github.com/jmaupetit/md2pdf - Add signature fields https://github.com/MatthiasValvekens/pyHanko - store pdf file (maybe seafile?) (or nextcloud)

  • webcolors

    A library for working with HTML/CSS color formats in Python.

    Project mention: How to write tests in Python using doctest | reddit.com/r/Python | 2022-12-07

    Here's a popular package of mine which does this. The tests of the package's code are in tests/ and use the Python unittest module with pytest as the test runner. The package's documentation also includes examples which are tested, via doctest, in a separate CI task.

  • sierra

    A Python library to write HTML and CSS in pure Python in a simple yet elegant manner using the DOM API. Take advantage of all of Python's powerful functionalities with Sierra (by BrainStormYourWayIn)

  • flask_minify

    A Flask extension to minify request's response for html, js, css and less.

    Project mention: Minify Flask HTML on Google App Engine Standard? | reddit.com/r/googlecloud | 2023-01-14

    I followed the instructions here to apply Flask-Minify on a simple 'Hello World' program on my dev server (I ran it using dev_appserver.py which means it tries to mimic GAE prod). It worked and viewing source showed a minified HTML.

  • MLH-Quizzet

    This is a smart Quiz Generator that generates a dynamic quiz from any uploaded text/PDF document using NLP. This can be used for self-analysis, question paper generation, and evaluation, thus reducing human effort.

  • InternetGuzeldir

    Source code of https://internetguzeldir.com. Static site generator that takes a Google spreadsheet and builds dmoz like website from it. Written with Python3.

  • parsel-cli

    cli for evaluating css and xpath selectors

    Project mention: Web Scraping With Python (An Ultimate Guide) | reddit.com/r/Python | 2022-09-15

    I like it so much that I even wrote a REPL for it parsel-cli :) (it's a bit of a Frankenstein though as I'm working on a 2.0 release)

  • formie

    Open source form application made with Flask + pure HTML/CSS/JS.

    Project mention: Show HN: Formie – an open source (WIP) form website made with pure HTML/JS/CSS | reddit.com/r/hypeurls | 2022-07-22
  • QuykHtml

    A python library that allows you to quickly and easily generate HTML templates and even create full-on websites.

  • Stilus

    A Stylus css compiler in Python.

  • antsibull-docs

    Tooling for building Ansible documentation

    Project mention: The Bullhorn #84 (Ansible Newsletter) | reddit.com/r/ansible | 2022-12-12

    antsibull-core 2.0.0a1 has been released. This major release drops support for Python 3.6, 3.7, and 3.8 and deprecates some compatability code (full changelog). It also includes a new feature needed by antsibull-build. antsibull-core houses shared code used by antsibull-build and antsibull-docs. If you use either of these tools, please help us test this new release. It can be installed with pip install -U antsibull-core==2.0.0a1. Note that you'll need the latest version of antsibull and antsibull-docs to use antsibull-core 2.0.0a1.

  • alice-game

    An open source vanilla javascript text based web game for us new devs to collaborate on and learn together.

    Project mention: Learn GitHub Workflows and Open Source the Fun Way: The Alice in Wonderland Project | dev.to | 2022-11-05

    The Alice in Wonderland Project is a html/css/vanilla javascript text-based game with an Alice in Wonderland theme. As this is a repo geared towards new developers learning GitHub workflows, most issues and PRs are small. Some are as simple as 'create a h2 heading on line x'. Some are low code or no code issues like adding text to a markdown file. There's also some longer ones, like the current create a JSON file of contributor objects from the project discussion.

  • statum

    🗺️ statum, a Twitch streamer-related website. Written in Python + Flask, with MongoDB. Current features include Twitch OAuth integration, personalized dashboard, unique streamer insights & much more.

  • SaaSHub

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

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). The latest post mention was on 2023-01-18.

Python CSS related posts

Index

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

Project Stars
1 WeasyPrint 5,442
2 pyquery 2,176
3 django-tailwind 979
4 parsel 874
5 needle 583
6 m.css 356
7 Django_blog 285
8 banking-system 237
9 flask-calendar 177
10 soupsieve 154
11 md2pdf 136
12 webcolors 119
13 sierra 83
14 flask_minify 59
15 MLH-Quizzet 36
16 InternetGuzeldir 34
17 parsel-cli 21
18 formie 16
19 QuykHtml 16
20 Stilus 10
21 antsibull-docs 8
22 alice-game 7
23 statum 4
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com