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-0.1.0.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

scssto-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scssto-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for scssto-0.1.0.tar.gz
Algorithm Hash digest
SHA256 22194530389965ad74deefacc95ee90cb99479181de4590b82d90fb08b936ca6
MD5 dcb8a4cc77d9438fd05ee0d976c9e2a1
BLAKE2b-256 9029da8584e0128400369289041eae6878aafd2b42bb5f1b52f2d0791ff226f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: scssto-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for scssto-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 90c0b75995371e360501fd69b4cc90df56146cab467601c7d67314a0d94762c4
MD5 fa71dbe3a03fdfec83bfdbac27e67e21
BLAKE2b-256 acfab98af731f2dff6e52b9b6c2c41a9da20a2adde59f4bb40932470b85f8405

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