The embedded Sass protocol, implemented for python.
Existing Sass libraries for python use libsass. Libsass is now deprecated, and the only way to use newer Sass features is to either run the dart sass binary in a subprocess (subprocess overhead every time the binary is executed), or to use the embedded Sass protocol (which doesn't have many implementations). So, here's an attempt at the protocol for python.
It's extremely early in development, currently only supporting the VersionRequest command. The goal is to eventually provide a not-quite-drop-in replacement for libsass-python.
Except for the esass/varint.py
file, the code in this repository is public domain
software. To avoid confusion about the copyright status of this code, a "license" is provided via
the Unlicense. The unlicense disclaims copyright interest in the software,
and explicitly places it in the public domain.
The esass/varint.py
file was adapted from
https://github.com/fmoo/python-varint/, and is licensed under the MIT license. Please read the
esass/varint.py
file for the full license text.
This project also uses the embedded Sass protobuf schema. This schema is copyright Google Inc., and licensed under the MIT license. Please read that file for the full copyright header.