skillfed

pyScss

pyScss, a Scss compiler for Python

pyscss v1.4.0 131.4K downloads/30d#11,591 on PyPI586
Permissive license MIT DORMANT released

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 pyscss

uv

uv add pyscss

poetry

poetry add pyscss

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Software Development :: Code GeneratorsTopic :: Software Development :: Libraries :: Python ModulesTopic :: Text Processing :: Markup

Tags

sass compiler pythonscss to csssass preprocessorcss preprocessor pythonstyle compilationscss compiler
css-preprocessingbuild-tool

More Python Modules packages