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

Uploaded Source

Built Distribution

canals-0.1.0-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for canals-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8c34a7af9b6c390ae2441084317e20b1d765ae5cad2c47c48ee2028aeb1d1c2b
MD5 55736887cbdeef3cbadeaffc80ca8141
BLAKE2b-256 811e021b75f729724797f6f7f8c170c508ec8fb3e02c941c6fcff64652e48c71

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for canals-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f0654ab4f434477e594c541afbc6ed5a88be3d4c0053dd496a49a92daebbe2f6
MD5 baf00e50d7bee11e152b60f27abc8676
BLAKE2b-256 5c382ccc3d7da0c1aac9f5b26012277b128170d29926f312d18fe2f8632365dc

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