Skip to main content
webassets-libsass
=================
Filter for asset management "webassets" that uses "libsass"


Required
========
libsass (libsass-python): http://dahlia.kr/libsass-python you need to have C/C++ compiler
webassets: https://pypi.python.org/pypi/webassets


Installation
============
Option 1:
========
download and extract, then: python setup.py install

Option 2:
========
run pip install webassets-libsass


Use
===
Register filter:
===============
from webassets.filter import register_filter
from webassets_libsass import LibSass

register_filter(LibSass)

Like another webassets filter:
=============================
# foundation framework
foundation = Bundle(
'scss/foundation/app.scss',
filters='libsass',
output='css/foundation.css'
)


Configuration Options
=====================
LIBSASS_OUTPUT_STYLE (output_style)
an optional coding style of the compiled result. choose one of: nested (default), expanded, compact, compressed

LIBSASS_INCLUDE_PATHS (include_paths)
an optional list of paths to find @imported SASS/CSS source files

Example:
env = Environment( ... )
env.config['LIBSASS_OUTPUT_STYLE'] = 'compressed'
Bundle('src/test.scss', filters='libsass', output='out/test.css')

Metadata

Release files for webassets-libsass 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for webassets-libsass 0.2
File Size Uploaded Provenance Actions
webassets-libsass-0.2.tar.gz 2.5 kB Without provenance Details for webassets-libsass-0.2.tar.gz

Release files / webassets-libsass-0.2.tar.gz

Download URL webassets-libsass-0.2.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
46a6f30fd8e906c1c00781857bccc2a01c7d06ec0418fb8a7a4de0e0155abe23
BLAKE2b-256 checksum
How to use checksums
a7921abc01270019c665f9d51c719febe94b323dbc291e71f06de98bd4850eb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for webassets-libsass 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page