Skip to content

cel-python without binary dependencies #76

@dbohdan

Description

@dbohdan

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions