django-sass-processor
SASS processor to compile SCSS files into *.css, while rendering, or offline.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no runtime dependencies, supports current Django versions (3.2 through 5.2) and Python versions (3.8 through 3.13), carries no known vulnerabilities, and solves a real friction point in Django development. Install it if you use SCSS in templates and want to avoid external build-tool overhead; skip it only if your project already has a mature build pipeline in place.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- A SASS compiler is required during development; offline compilation via manage.py compilescss is available for production deployment.
- Low friction install with no runtime dependencies.
- Active maintenance since 2015, last commit 2026-03-09, and supports Django 3.2, 4.2, 5.0, 5.1, 5.2 and Python 3.8, 3.9, 3.10, 3.11, 3.12, 3.13.
License · maintenance · safety
MIT (permissive) — MIT license permits permissive use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
last release 2025-06-26 (414 days) · last repo commit 2026-03-09 · 413 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 251,958 downloads/mo, #8,563 on PyPI
Alternatives
Verify before relying
pip install django-sass-processor
# In settings.py
INSTALLED_APPS = ['sass_processor', ...]
STATICFILES_FINDERS = [
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
'sass_processor.finders.CssFinder',
]
# In template
{% load sass_tags %}
<link rel="stylesheet" href="{% sass_src 'path/to/file.scss' %}">
- Whether a system SASS compiler must be installed separately or is bundled with the package.
- Performance characteristics when compiling large or deeply nested SCSS file hierarchies with many imports.
- Whether django-compressor is required for offline compilation or only optional.
What it is and what it does
django-sass-processor is a Django app that compiles SASS/SCSS files into CSS during template rendering, without requiring external build tools, file watchers, or IDE plugins. It provides a templatetag `sass_src` that works in both Django and Jinja2 templates, and can also be used directly in Python code via the Media class for forms and admin. The processor caches compiled output and only recompiles when source files are modified, making it suitable for development workflows.
The package supports configuration through Django settings for include paths, compiler precision, and output style. It can also generate sourcemaps for easier debugging. For production, SCSS files can be precompiled offline using a management command, eliminating the need for a compiler in the deployed environment. The app automatically discovers SCSS partials in installed Django apps' static folders, reducing boilerplate configuration.
Use it for
- Develop Django projects with SCSS without running a separate daemon or build tool.
- Reference SCSS files directly in templates and have them compile to CSS on demand during development.
- Configure SASS variables and paths in Django settings.py instead of maintaining separate SCSS configuration files.
- Debug stylesheet errors directly in Django's development server console with sourcemaps.
- Precompile SCSS offline and deploy only CSS to production, avoiding compiler as a runtime dependency.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no runtime dependencies, supports current Django versions (3.2 through 5.2) and Python versions (3.8 through 3.13), carries no known vulnerabilities, and solves a real friction point in Django development. Install it if you use SCSS in templates and want to avoid external build-tool overhead; skip it only if your project already has a mature build pipeline in place.
Install
django-sass-processor on PyPI
Before you install
Low friction install with no runtime dependencies. Active maintenance since 2015, last commit 2026-03-09, and supports Django 3.2, 4.2, 5.0, 5.1, 5.2 and Python 3.8, 3.9, 3.10, 3.11, 3.12, 3.13.
A SASS compiler is required during development; offline compilation via manage.py compilescss is available for production deployment.
License in practice
MIT license permits permissive use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
pip install django-sass-processor
# In settings.py
INSTALLED_APPS = ['sass_processor', ...]
STATICFILES_FINDERS = [
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
'sass_processor.finders.CssFinder',
]
# In template
{% load sass_tags %}
<link rel="stylesheet" href="{% sass_src 'path/to/file.scss' %}">
Verify before relying
- Whether a system SASS compiler must be installed separately or is bundled with the package.
- Performance characteristics when compiling large or deeply nested SCSS file hierarchies with many imports.
- Whether django-compressor is required for offline compilation or only optional.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 414 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 251,958 / month, #8,563 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 3.2Framework :: Django :: 4.2Framework :: Django :: 5.0Framework :: Django :: 5.1Framework :: Django :: 5.2Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTP :: Dynamic Content |
Evidence: django_sass_processor-1.4.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “django sass scss compiler”
- django-sass-processorCompiles SASS/SCSS files to CSS on the fly during Django template…
- pyScssCompiles Sass/SCSS stylesheets to CSS, supporting approximately 95%…
- django-libsassIntegrates Sass compilation into Django projects via…
Give your agent the search over MCP, or paste the wish link into any chat.
More Dynamic Content packages
MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.
Jinja2 is a templating engine that renders dynamic content by combining templates with Python-like syntax and data, supporting template inheritance, macros, autoescaping, and sandboxed execution.
Soupsieve is a CSS selector library designed to work with Beautiful Soup 4 to select, match, and filter HTML and XML elements using modern CSS selectors from CSS level 1 through CSS level 4 specifications.
Install it if you use Beautiful Soup for HTML or XML parsing and want modern CSS selector support.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.
Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.
See also django-libsass · django-settings-export · pyScss · libsass · django-compressor · django-npm · django-pipeline · django-tailwind · django-webpack-loader · djangocms-admin-style