• Stars
    star
    582
  • Rank 76,801 (Top 2 %)
  • Language
    CSS
  • License
    MIT License
  • Created almost 14 years ago
  • Updated 9 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

pyScss, a Scss compiler for Python

pyScss, a Scss compiler for Python

build-status coverage

pyScss is a compiler for the Sass language, a superset of CSS3 that adds programming capabilities and some other syntactic sugar.

Quickstart

You need Python 2.6+ or 3.3+. PyPy is also supported.

Installation:

pip install pyScss

Usage:

python -mscss < style.scss

Python API:

from scss import Compiler
Compiler().compile_string("a { color: red + green; }")

Features

95% of Sass 3.2 is supported. If it's not supported, it's a bug! Please file a ticket.

Most of Compass 0.11 is also built in.

Further reading

Documentation is in Sphinx. You can build it yourself by running make html from within the docs directory, or read it on RTD: http://pyscss.readthedocs.org/en/latest/

The canonical syntax reference is part of the Ruby Sass documentation: http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html

Obligatory

Copyright ยฉ 2012 German M. Bravo (Kronuz). Additional credits in the documentation.

Licensed under the MIT license, reproduced in LICENSE.

More Repositories

1

Xapiand

Xapiand: A RESTful Search Engine
C++
363
star
2

esprima-python

ECMAScript parsing infrastructure for multipurpose analysis
Python
206
star
3

cpp-btree

Modern C++ B-tree containers
C++
178
star
4

KomodoEdit-SublimeCodeIntel

Python
119
star
5

ColorHighlight

๐ŸŽจ Lightweight Color Highlight colorizer for Sublime Text
Python
109
star
6

SublimeLinter

40
star
7

constexpr-phf

Computes a constexpr (minimal) perfect hash function
C++
32
star
8

TextMarker

๐Ÿ– Text Marker (Highlighter) highlights words in Sublime Text
Python
20
star
9

Kronuz-Theme

Kronuz Theme for Sublime Text 3
16
star
10

SublimeCodeIntel

๐Ÿ’ก SublimeCodeIntel LSP
Python
14
star
11

ansi2html

Simple Python tool to convert ANSI color characters to HTML with colored style.
Python
14
star
12

base-x

BaseX encoder / decoder for C++
C++
12
star
13

IndentSize

Sublime Text 3 plugin for adding indent_size setting
Python
8
star
14

pyXapiand

Xapian indexing and querying server implemented in Python
Python
5
star
15

iscroll-overflow

Similar to iScroll4 (lite), using native overflow
JavaScript
3
star
16

django-gitlist

Django GitList
JavaScript
2
star
17

logkext

logKext is a freeware open-source keylogger for OS X that hooks into the kernel to bypass userspace security measures.
C++
2
star
18

react-gestalt-masonry

Masonry ported to TypeScript from pinterest/gestalt
TypeScript
1
star
19

leetcode

C++
1
star
20

OpenLegends

C++
1
star
21

console-colorizer

Adds colored console logging (for node and browser)
TypeScript
1
star
22

HTML-CodeIntel

HTML Plugin for SublimeCodeIntel LSP
JavaScript
1
star
23

KomodoEdit-CodeIntel

C
1
star
24

fsc

FreeBSD Services Control Utilities
C
1
star
25

docker-nginx

Alpine Docker image with Nginx 1.14.0 + LUA + Push Stream +H264 streaming + Headers More
Dockerfile
1
star
26

SublimeStackTracer

What are my Sublime Text plugins doing?
Python
1
star
27

react-gestalt-collage

Collage ported to TypeScript from pinterest/gestalt
TypeScript
1
star