Usage#

Installation#

You can install this package with pip:

pip install egglog

To be able to run the array demos:

pip install egglog[array]

To see interactive widgets:

pip install anywidget

It follows SPEC 0 in terms of what Python versions are supported.

Parallelism and threads#

The underlying Rust library uses Rayon for parallelism. You can control the worker thread count via the environment variable RAYON_NUM_THREADS. If this variable is not set or is invalid, the Python bindings default to using a single thread (1).

export RAYON_NUM_THREADS=4  # use 4 threads

Community#

There is a Zulip stream for the egglog project which you are welcome to open a thread on.

There are also Github issues and discussions which you can use to ask questions.

Stability#

This project is in active development and has not been used in a production setting yet.

The API is subject to change, but efforts will be made to preserve backwards compatibility at least with the high level API.

However, since it is a wrapper around the Rust library egglog, any breaking changes to that package that would affect the high level API would require a major version bump.