Skip to content

Python package and CLI 1.27.1

Speeds up undirected-graph queries and deployments; now requires DuckDB 1.5.0 or newer.

How to install this version

Review the changes below before installing. To install this version, activate a compatible Python virtual environment and run:

Terminal window
python -m pip install "relationalai==1.27.1"

For the latest installation instructions, see Start building with PyRel.

  • Running a query or deploying a model that uses an undirected graph is now faster. PyRel builds the graph as part of that work, and before this release that build slowed down sharply as the number of edges grew. In one case, an undirected Graph with 200,000 edges took about 41 seconds to build. That same graph now takes about 1 second.
  • PyRel now requires DuckDB 1.5.0 or newer. DuckDB is installed automatically with PyRel, so most users don’t need to do anything. If you have pinned DuckDB to an older 1.4.x version, allow 1.5.0 or newer before you install or upgrade PyRel.