Skip to main content

A component orchestration engine for Haystack

Project description

Canals

PyPI - Version PyPI - Python Version Tests Coverage Status Documentation Last commit Monthly Downloads Stars Stats

Canals is a component orchestration engine. Components are Python objects that can execute a task, like reading a file, performing calculations, or making API calls. Canals connects these objects together: it builds a graph of components and takes care of managing their execution order, making sure that each object receives the input it expects from the other components of the pipeline.

Canals powers version 2.0 of the Haystack framework.

Installation

To install Canals, run:

pip install canals

To be able to draw pipelines (Pipeline.draw() method), please make sure you have either an internet connection (to reach the Mermaid graph renderer at https://mermaid.ink) or graphviz (version 2.49.0) installed. If you plan to use Mermaid there is no additional steps to take, while for graphviz you need to do:

GraphViz

sudo apt install graphviz  # You may need `graphviz-dev` too
pip install pygraphviz

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

canals-0.10.0.tar.gz (26.6 kB view details)

Uploaded Source

Built Distribution

canals-0.10.0-py3-none-any.whl (34.3 kB view details)

Uploaded Python 3

File details

Details for the file canals-0.10.0.tar.gz.

File metadata

  • Download URL: canals-0.10.0.tar.gz
  • Upload date:
  • Size: 26.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.25.1

File hashes

Hashes for canals-0.10.0.tar.gz
Algorithm Hash digest
SHA256 c4e7b4676a7196dff0a7102ce043a6d57171679f39898ef2a3cb47e990c734bb
MD5 5798462f971ded0df1a1044370841e6d
BLAKE2b-256 8ef05007fb3bef21b3c54ae7323460cf0bb2c5a825f27821bc8493e706329562

See more details on using hashes here.

File details

Details for the file canals-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: canals-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 34.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.25.1

File hashes

Hashes for canals-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 57a4169fd139311f017e8c67bf8cce8ebb438d965355ceae9a505f7926129baa
MD5 353a253f39eb0d37003da5bea4b3deaf
BLAKE2b-256 ad780b4f78aa446208103a9401b5e3ab16c075bff435998d4bac8d2c52662de7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page