pyScss
pyScss, a Scss compiler for Python
What it is and what it does
pyScss is a Python compiler for Sass/SCSS—a superset of CSS that adds programming capabilities like variables and mixins. It reads Sass stylesheets and outputs standard CSS, available both as a command-line tool and as a Python library. The package supports approximately 95% of Sass 3.2 and includes most of Compass 0.11 built-in.
The package has been in production use since its first release in 2011 and carries a stable classification, but maintenance is dormant: the latest release was in February 2022 with no subsequent commits. It has no runtime dependencies, which simplifies deployment, but high install friction from source-only distribution may complicate setup in some environments.
Use it for:
- Compile Sass stylesheets to CSS during a Python-based build or static site generation pipeline
- Preprocess CSS with variables and mixins in a Python web framework without requiring external tooling
- Automate stylesheet compilation in a Python project that needs Compass-compatible Sass features
- Convert Sass 3.2 codebases to CSS as part of a Python automation workflow
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Compiles Sass/SCSS stylesheets to CSS, supporting approximately 95% of Sass 3.2 syntax and most of Compass 0.11 features.
Yes, if you need Sass compilation in a Python environment and can tolerate dormant maintenance. The package is stable with no known vulnerabilities, but targets Sass 3.2 and has not been updated since February 2022. High install friction may be a practical concern depending on your deployment environment. If you need modern Sass features or active support, evaluate alternatives.
Install
pyscss on PyPI
pip
pip install pyscssuv
uv add pyscsspoetry
poetry add pyscssInstalling pyScss
Before you install
High install friction due to source distribution format. Last release was February 2022 with no commits since; repository is not archived but maintenance is dormant.
License in practice
Licensed under MIT (permissive), so you can use, modify, and distribute freely with minimal restrictions.
Quickstart
pip install pyScss
python -mscss < style.scss
Verify before relying
- Current compatibility with modern Python versions beyond the documented 2.6+ and 3.3+
- Whether high install friction stems from missing wheels or compiled dependencies
- Sass specification coverage beyond 3.2 and Compass feature parity with 0.11
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | dormant — 1,633 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 131,377/month — #11,591 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyScss-1.4.0.tar.gz
Keywords: css, oocss, xcss, sass, scss, less, precompiler
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
lesscpyCompiles LESS stylesheets to CSS using Python,…
permissive · top 15,000 on PyPI
libsassCompiles Sass and SCSS stylesheets to CSS…
permissive · top 5,000 on PyPI
stylusBridges Python code to the Stylus CSS compiler,…
permissive · top 15,000 on PyPI
django-sass-processorCompiles SASS/SCSS files to CSS on the fly…
permissive · top 15,000 on PyPI
django-libsassIntegrates Sass compilation into Django…
permissive · top 5,000 on PyPI
vbuildCompiles Vue single-file components (*.vue) to…
permissive · top 15,000 on PyPI
cssutilscssutils parses and builds CSS stylesheets as a…
copyleft · top 5,000 on PyPI
pynlinerConverts CSS stylesheets to inline styles in…
permissive · top 15,000 on PyPI
css-inlineInlines CSS from style and link tags directly…
permissive · top 5,000 on PyPI
PlimPlim translates a concise Ruby-inspired…
permissive · top 15,000 on PyPI