Metadata-Version: 2.4
Name: mrowrpurr-pyscss
Version: 1.4.1
Summary: pyScss, a Scss compiler for Python (Fork with Python 3.13+ support)
Project-URL: Homepage, https://github.com/mrowrpurr/pyScss
Project-URL: Original, https://github.com/Kronuz/pyScss
Project-URL: Repository, https://github.com/mrowrpurr/pyScss
Author-email: "German M. Bravo (Kronuz)" <german.mb@gmail.com>, mrowrpurr <mrowr.purr@gmail.com>
License-Expression: MIT
License-File: LICENSE
Keywords: css,less,oocss,precompiler,sass,scss,xcss
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Code Generators
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing :: Markup
Requires-Python: >=3.9
Requires-Dist: six
Description-Content-Type: text/markdown

> This is a fork of `pyScss` by @mrowrpurr to add Python 3.13+ support.
>
> Python 3.13+ enforces that global regex flags (like `(?i)`, `(?s)`, `(?m)`) must be at the start of a pattern. pyScss had several patterns with inline flags mid-pattern, which now raise `re.PatternError`. This fork converts them to scoped flag syntax `(?i:...)` or uses `re.compile()` flag arguments.
>
> As of December 2025, `pyScss` has not received updates in 2+ years. This is published so I can use it as a dependency in my own Python 3.13+ projects.

# pyScss, a Scss compiler for Python

[![Build Status](https://travis-ci.org/Kronuz/pyScss.svg?branch=master)](https://travis-ci.org/Kronuz/pyScss)
[![Coverage](https://coveralls.io/repos/Kronuz/pyScss/badge.png)](https://coveralls.io/r/Kronuz/pyScss)

pyScss is a compiler for the [Sass](http://sass-lang.com/) 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:

```python
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](http://www.opensource.org/licenses/mit-license.php), reproduced in `LICENSE`.
