$npx skillfedfor your agent

django-libsass

A django-compressor filter to compile SASS files using libsass

With conditionsPyPI Dynamic ContentReleased Jul 20211.0M downloads / moBSDPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_libsass-0.9-py3-none-any.whl
v0.9 · released 2021-07-08 · 3 runtime deps: django-compressor, libsass, django-appconf

Yes, if you are using django-compressor and need Sass compilation without external build dependencies. The low install friction, permissive license, and lack of known vulnerabilities make it safe to adopt. However, the dormant maintenance status (last release 2021-07-08) means you should verify compatibility with your Django and libsass versions before committing, and be prepared to maintain a fork if critical issues arise.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires django-compressor to be installed and configured in your Django project.
  • Low install friction with a pure-pip dependency chain (django-compressor, libsass, django-appconf).
  • Maintenance is dormant—last release was 2021-07-08, though the repository remains active with a recent commit in 2024-11-22.

License · maintenance · safety

BSD (permissive) — BSD license (permissive) places no significant restrictions on use, modification, or distribution in most contexts.

last release 2021-07-08 (1863 days) · last repo commit 2024-11-22 · 273 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,035,917 downloads/mo, #4,461 on PyPI

Verify before relying

pip install django-libsass

# In Django settings.py:
COMPRESS_PRECOMPILERS = (
    ('text/x-scss', 'django_libsass.SassCompiler'),
)

# In template:
{% load compress %}
{% compress css %}
  <link rel="stylesheet" href="{% static 'style.scss' %}" type="text/x-scss">
{% endcompress %}
  • Compatibility with Django versions released after 3.9 (classifiers stop at 3.9, latest release 2021-07-08).
  • Whether libsass version constraints or C/C++ build dependencies affect installation on all platforms.
  • Current status of libsass bindings and whether they remain maintained.
Same gist for agents: .md · .json

What it is and what it does

django-libsass bridges Django's static asset pipeline with Sass compilation by providing a django-compressor filter that uses libsass (a C/C++ port of the Sass engine) to compile SCSS files to CSS. It resolves relative paths and consults Django's STATICFILES_FINDERS, allowing imports across app boundaries, and provides a built-in static() function for generating URLs to static resources within Sass.

The package avoids external executable dependencies by calling libsass directly through Python bindings, making it faster and simpler to deploy than shell-based Sass compilers. It supports configurable output styles (nested, expanded, compact, compressed), source comments, sourcemaps, and custom functions, with sensible defaults tied to Django's DEBUG setting.

Use it for

  • Compile SCSS stylesheets to CSS during Django's asset collection phase without external build tools.
  • Import Sass files across multiple Django apps using Django's static file discovery mechanism.
  • Generate static asset URLs within Sass using the built-in static() function, keeping asset paths in sync with Django's configuration.
  • Enable source comments and sourcemaps in development (DEBUG=True) for easier stylesheet debugging.
  • Use custom Python functions within Sass templates to compute values or generate dynamic CSS.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are using django-compressor and need Sass compilation without external build dependencies.

The low install friction, permissive license, and lack of known vulnerabilities make it safe to adopt. However, the dormant maintenance status (last release 2021-07-08) means you should verify compatibility with your Django and libsass versions before committing, and be prepared to maintain a fork if critical issues arise.

Install

django-libsass on PyPI

Before you install

Low install friction with a pure-pip dependency chain (django-compressor, libsass, django-appconf). Maintenance is dormant—last release was 2021-07-08, though the repository remains active with a recent commit in 2024-11-22.

Requires django-compressor to be installed and configured in your Django project.

License in practice

BSD license (permissive) places no significant restrictions on use, modification, or distribution in most contexts.

Quickstart

pip install django-libsass

# In Django settings.py:
COMPRESS_PRECOMPILERS = (
    ('text/x-scss', 'django_libsass.SassCompiler'),
)

# In template:
{% load compress %}
{% compress css %}
  <link rel="stylesheet" href="{% static 'style.scss' %}" type="text/x-scss">
{% endcompress %}

Verify before relying

  • Compatibility with Django versions released after 3.9 (classifiers stop at 3.9, latest release 2021-07-08).
  • Whether libsass version constraints or C/C++ build dependencies affect installation on all platforms.
  • Current status of libsass bindings and whether they remain maintained.

Package facts

LicenseBSD permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
django-compressorlibsassdjango-appconf
MaintenanceDormant 1,863 days since the last release
Last repo commit
First released
Downloads1,035,917 / month, #4,461 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 1.10Framework :: Django :: 1.11Framework :: Django :: 1.8Framework :: Django :: 1.9Framework :: Django :: 2.0Framework :: Django :: 2.1Framework :: Django :: 2.2Framework :: Django :: 3.0Framework :: Django :: 3.1Framework :: Django :: 3.2Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: django_libsass-0.9-py3-none-any.whl

Tags

Capabilities
django sass compilationscss to css djangodjango-compressor sass filterlibsass django integrationsass asset pipeline django
Topics
django-asset-pipelinecss-preprocessor

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 compilation”

  • django-libsassIntegrates Sass compilation into Django projects via…
  • django-sass-processorCompiles SASS/SCSS files to CSS on the fly during Django template…
  • pyScssCompiles Sass/SCSS stylesheets to CSS, supporting approximately 95%…

Give your agent the search over MCP, or paste the wish link into any chat.

More Dynamic Content packages

MarkupSafe Worth it
PyPI · Dynamic Content · released Sep 2025

MarkupSafe provides a text object that escapes special characters so untrusted strings can be safely embedded in HTML and XML without injection attacks.

BSD-3-Clausecompiled wheel · 3.9+aging
797.1Mdownloads / mo
Jinja2 Worth it
PyPI · Dynamic Content · released Mar 2025

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.

BSD-3-Clausepure Python · 3.7+aging
718.6Mdownloads / mo
soupsieve Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python · 3.10+
428.6Mdownloads / mo
Werkzeug Worth it
PyPI · Application Frameworks · released Apr 2026

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.

BSD-3-Clausepure Python · 3.9+
268.1Mdownloads / mo
Flask Worth it
PyPI · Application Frameworks · released Feb 2026

Flask is a lightweight WSGI web application framework for building web applications in Python, from simple single-page sites to complex multi-route applications.

BSD-3-Clausepure Python · 3.9+
211.4Mdownloads / mo
Mako Worth it
PyPI · Dynamic Content · released Aug 2026

Mako compiles Python-embedded templates into Python modules for fast rendering, supporting layout inheritance, custom functions, and direct Python expressions within template syntax.

MITpure Python · 3.10+
201.7Mdownloads / mo

See also django-sass-processor · libsass · django-compressor · django-pipeline · pyScss · Flask-Assets · webassets · djangocms-admin-style · csscompressor