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

cel-python without binary dependencies #76

Open
dbohdan opened this issue Oct 16, 2024 · 0 comments
Open

cel-python without binary dependencies #76

dbohdan opened this issue Oct 16, 2024 · 0 comments

Comments

@dbohdan
Copy link

dbohdan commented Oct 16, 2024

I am interested in cel-python as a potential replacement for simpleeval. I want to use it in a small utility distributed as a platform-agnostic zipapp built with shiv. cel-python seems to have one direct, non-development binary dependency, PyYAML. PyYAML increases the size of the zipapp and, more importantly, prevents you from making it platform-agnostic. In a quick test, my utility was around 11 MiB after adding cel-python from PyPI and around 0.5 MiB after adding a modified version without PyYAML. Could you make PyYAML an optional dependency for use cases like mine?

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

1 participant