Skip to main content

A component orchestration engine for Haystack

Project description

Canals

PyPI - Version PyPI - Python Version

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

Running:

pip install canals

gives you the bare minimum necessary to run Canals.

To be able to draw pipelines, please make sure you have either an internet connection (to reach the Mermaid graph renderer at https://mermaid.ink) or graphviz installed and then install Canals as:

Mermaid

pip install canals[mermaid]

GraphViz

sudo apt install graphviz  # You may need `graphviz-dev` too
pip install canals[graphviz]

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.1.2.tar.gz (84.5 kB view details)

Uploaded Source

Built Distribution

canals-0.1.2-py3-none-any.whl (28.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for canals-0.1.2.tar.gz
Algorithm Hash digest
SHA256 cbffd2941e4d2d10969304019d7e0569812f37e5342cae127d72d2cabf6bdd73
MD5 9c6e9b81a260e4a47f0cbb2fcd984fa7
BLAKE2b-256 1ded316b4c2600af710c493060b4ed6697eda54bf966f6ec90d58216c2ba2d8f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for canals-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5e222f93d208c9bf376a927f76f219b76fd6ba52a2217ee6eda703f612ccf083
MD5 88cb284613c5132439cf952218d0356b
BLAKE2b-256 29ca42f40d9611ac99dde1840962e980f8724aba5a4be3250cb258da8c3d4483

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