Skip to main content

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

Metadata

Release files for canals 0.11.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for canals 0.11.0
File Size Uploaded Provenance Actions
canals-0.11.0.tar.gz 27.1 kB Without provenance Details for canals-0.11.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for canals 0.11.0
File Interpreter ABI Platform Actions
canals-0.11.0-py3-none-any.whl Python 3 none any Details for canals-0.11.0-py3-none-any.whl

Total release size: 62.0 kB

Release files / canals-0.11.0.tar.gz

Download URL canals-0.11.0.tar.gz
Size 27.1 kB
Tags Source
SHA-256 checksum
How to use checksums
aa08ebe14d901f6ec3b4f4ad5f92d9321191bca2637b33cb0a0764596bcb0cc5
BLAKE2b-256 checksum
How to use checksums
106d93da4ab4706781207a588aec09e57b277f9f7a67293ed9420a77d878a214
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.25.1

Release files / canals-0.11.0-py3-none-any.whl

Download URL canals-0.11.0-py3-none-any.whl
Size 34.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
245a3cb3429610ebba052760c1a543d82a8d79e5fa36ad61f24486a857206320
BLAKE2b-256 checksum
How to use checksums
97ff68d17b08783a48d12d9c3a638cc67720b6dbd887b368cbedc20bddf8f54b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.25.1

Security for canals 0.11.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page