Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature request] Official Python bindings to replace libsass-python #2166

Closed
vadimkantorov opened this issue Jan 29, 2024 · 3 comments
Closed

Comments

@vadimkantorov
Copy link

vadimkantorov commented Jan 29, 2024

I was enjoying a lot embedding some SASS processing (npm-less!) in my basic python SSG code. It would be great if new basic bindings appeared to supercede deprecated libsass and it current bindings libsass-python

There exists these outdated bindings, but it involves calling a subprocess and shipping a lot of binaries which is not very ideal https://pypi.org/project/dart-sass/

Maybe a Python package could embed a Dart VM (as in https://github.com/fuzzybinary/dart_shared_libray) and just call into the existing Dart bitcode

@nex3
Copy link
Contributor

nex3 commented Jan 29, 2024

We encourage community members to build and maintain wrapper packages in various languages. I recommend using the embedded Sass protocol for that.

@nex3 nex3 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 29, 2024
@vadimkantorov
Copy link
Author

vadimkantorov commented Jan 30, 2024

Regarding a shim as in https://pypi.org/project/dart-sass/, it's still useful to have a pip-installable package that could resolve in runtime the correct platform. It might also interesting to have a single binary that does platform dispatch in runtime, akin to https://justine.lol/ape.html - me just back from the release page picking up the right tarball for my platform :)

@nex3
Copy link
Contributor

nex3 commented Jan 31, 2024

It would definitely be useful, but the Sass core team doesn't have the bandwidth to maintain more than one embedded host.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants