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.1.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.1.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file scssto-2.1.0.tar.gz.

File metadata

  • Download URL: scssto-2.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 a92b9fbea029882ca26be6400319249c33536fe51b0f7296cdf69bab995bcd61
MD5 e81c203f146bf39de2c1fa5a1a2f6295
BLAKE2b-256 38088d7882d0d2040a80060c7e5955b5de05c137a41d88e1eec451b8d76c228d

See more details on using hashes here.

File details

Details for the file scssto-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: scssto-2.1.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5dc5f54e3ca8f50f6b413039be86b718b187f5d523542d555ce99b3efa3d743
MD5 60bde2400d3c9ee2448ed4fbe7d82165
BLAKE2b-256 8ea9e8e096b7d0f4cf088c2ccfd25d52aebb21deb6112c6d0cae9ce81fd418b8

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