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

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 (version 2.49.0) 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.3.2.tar.gz (106.6 kB view details)

Uploaded Source

Built Distribution

canals-0.3.2-py3-none-any.whl (34.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for canals-0.3.2.tar.gz
Algorithm Hash digest
SHA256 4f3843c10f1b61a34f94bafa0140430ab7ae29787dc2ec12cf2faa8e232bddae
MD5 4478c1006c140c67324a9529d4ee16bd
BLAKE2b-256 cac278dfcce5a9a9597faa8e110879bef5c06ee23ef1220a79d0efea810087ce

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for canals-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b4b2447954eed5c21800a864f6f59c64da19898fc93add3084255fead6c22eae
MD5 46b5c34ad706d71cecb645b14a88669d
BLAKE2b-256 b8f66d2071a20400129a72390f021b46603f694d29553df0725152864c3c40f3

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