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

Uploaded Source

Built Distribution

canals-0.8.1-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for canals-0.8.1.tar.gz
Algorithm Hash digest
SHA256 fda03fce439c335ee12d2e28e8e594d5aee5c9a74e2e941815d71e2898598302
MD5 f2ca73ccf3d8538d93afd5af4513f72d
BLAKE2b-256 be1e781613e4e6df018b24e64ea92a6d0228199cc444eea7a95f07e4f4fd418b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for canals-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5bc780dce7f370129b5538c827cd5944012c611228e30bcd2539cb7322bb63d9
MD5 2f82f395b894586ad873d1f1645664d3
BLAKE2b-256 ef42cd35a2fbcaaa6c3d433cdbaca2ad9823ce9d0e426f82da0307f3275c5a93

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