grass-python
PyO3 bindings around the pure-Rust grass
Sass compiler (0.13.4, dart-sass 1.54.3 compatible) for the Odoo 19 asset
pipeline. Compilation runs in-process (no subprocess, GIL-safe under free-threaded
Python), replacing the legacy sassc/sass CLI compilers.
Build & Publish
Local build:
pip install maturin
maturin build --release # or: pip install .
Publishing is handled by .github/workflows/grass-python.yml (repo root): on a
grass-python-v* tag it builds cp314t wheels for darwin-arm64 and
linux-x86_64 plus an sdist, and publishes them to PyPI (Trusted Publisher,
pypi environment). The Odoo repo pins the published package in
requirements.txt (grass-python==0.13.4), so neither the Docker image nor
dev installs compile Rust at build time.
Usage
import grass_python
css = grass_python.compile("a { b { color: red; } }")
Raises grass_python.SassError on invalid input.
Metadata
Release files for grass-python-freethreaded 0.13.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| grass_python_freethreaded-0.13.4-cp314-cp314t-manylinux_2_34_x86_64.whl | CPython 3.14 | CPython 3.14 free-threading | Linux glibc 2.34+ x86-64 | Details for grass_python_freethreaded-0.13.4-cp314-cp314t-manylinux_2_34_x86_64.whl |
| grass_python_freethreaded-0.13.4-cp314-cp314t-macosx_11_0_arm64.whl | CPython 3.14 | CPython 3.14 free-threading | macOS 11.0+ ARM64 | Details for grass_python_freethreaded-0.13.4-cp314-cp314t-macosx_11_0_arm64.whl |
Total release size: 2.9 MB
Release files / grass_python_freethreaded-0.13.4-cp314-cp314t-manylinux_2_34_x86_64.whl
| Download URL | grass_python_freethreaded-0.13.4-cp314-cp314t-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
3ee4b150101f6c66fd46ba8138800064cf9d74ed9f42b76f944c86ab21767092
|
|
BLAKE2b-256 checksum How to use checksums |
ed4738ab2f000a8d93054fcdfe192d582fe25dc6e0e52342a5c333e67d10bd04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.5
|
Release files / grass_python_freethreaded-0.13.4-cp314-cp314t-macosx_11_0_arm64.whl
| Download URL | grass_python_freethreaded-0.13.4-cp314-cp314t-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
1e43113c1a02d2a60be261657849e04f9fc3deb4214e601d9bd60f3d34def5d9
|
|
BLAKE2b-256 checksum How to use checksums |
dff7015a1365b438db8bef73f74b9ea0123c01818bdd125b7e5c555700b824ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.5
|
Security for grass-python-freethreaded 0.13.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.