Compile all .scss files from a folder into .css
Project description
scssto
scssto is a simple yet powerful Python tool that compiles all .scss files in a directory into .css using the official Sass CLI. Ideal for static site generators, web projects, or automation workflows.
🚀 Features
- 🔍 Scans a directory and compiles all
.scssfiles - 📁 Outputs
.cssfiles with matching names in your target folder - 🛠 Automatically creates the output directory if it doesn’t exist
- ⚙️ Uses
sassCLI — no unreliable hacks - 🧼 Clean and minimal codebase
📦 Installation
pip install scssto
🧪 Usage
📂 From the command line:
python -m scssto -scss scss/ -css css/
or
python3 -m scssto -scss scss/ -css css/
🐍 From Python:
from scssto import compile_scss_to_css
compile_scss_to_css("scss/", "css/")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scssto-2.0.0.tar.gz.
File metadata
- Download URL: scssto-2.0.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ab13de7c1aaf3d56c456f5861121ed18fe664b1c314a07a88c8a81d352e0451
|
|
| MD5 |
37546e2415239196b621b7b65aecc9be
|
|
| BLAKE2b-256 |
de2a0992b4e5b673f2b80717615459a854641f372596ce8e1f7828f67a2827ac
|
File details
Details for the file scssto-2.0.0-py3-none-any.whl.
File metadata
- Download URL: scssto-2.0.0-py3-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e1a63038f12a71f372e42efb9945bfc3fef37244bfdc098579fa155332d0b70
|
|
| MD5 |
6e6ad9d084c56b96371bb5c4ee46cd73
|
|
| BLAKE2b-256 |
78f0ccc37085bed449e176f74e2dfeca8c3c750c5df6fb1a62c1cdc2dfa73acc
|