Skip to main content

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 .scss files
  • 📁 Outputs .css files with matching names in your target folder
  • 🛠 Automatically creates the output directory if it doesn’t exist
  • ⚙️ Uses sass CLI — 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scssto-2.0.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scssto-2.0.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

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

Hashes for scssto-2.0.0.tar.gz
Algorithm Hash digest
SHA256 4ab13de7c1aaf3d56c456f5861121ed18fe664b1c314a07a88c8a81d352e0451
MD5 37546e2415239196b621b7b65aecc9be
BLAKE2b-256 de2a0992b4e5b673f2b80717615459a854641f372596ce8e1f7828f67a2827ac

See more details on using hashes here.

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

Hashes for scssto-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e1a63038f12a71f372e42efb9945bfc3fef37244bfdc098579fa155332d0b70
MD5 6e6ad9d084c56b96371bb5c4ee46cd73
BLAKE2b-256 78f0ccc37085bed449e176f74e2dfeca8c3c750c5df6fb1a62c1cdc2dfa73acc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page