{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content"}],"enrichment":{"capability":"Integrates Sass compilation into Django projects via django-compressor, using libsass to compile SCSS files to CSS during the asset pipeline.","skillfed_tags":["django-asset-pipeline","css-preprocessor"],"use_cases":["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."],"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.\n\nThe 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.","worth_installing":"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."},"id":"django-libsass","links":{"html":"https://skillfed.io/packages/django-libsass","md":"https://skillfed.io/packages/django-libsass.md","pypi":"https://pypi.org/project/django-libsass/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2021-07-08","license_spdx":null,"license_treatment":"permissive","name":"django-libsass","python_support":"unspecified","summary":"A django-compressor filter to compile SASS files using libsass"},"popularity":{"monthly_downloads":1035917,"position":4461,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.9"}
