Skip to main content

Salish is a workflow management library named after the Salish Sea.

Example:

from channels import *
import itertools

def display1(item):
    print("Display1:", item)
    return item, item

def display2(item1, item2):
    print("Display2:", item1, item2)
    return {"item1": item1, "item2": item2}

def display3(item1, item2):
    print("Display3:", item1, item2)
    return item1 + item2

def combinations(items):
    yield from itertools.combinations(items, 2)


pipeline = Channel([1, 2, 3]) | display1 | Bind(display2, how="*") | Bind(display3, how="**") | Bind(combinations, how="collect") | display1
pipeline.join()

Output:

Display1: 1
Display1: 2
Display1: 3
Display2: 1 1
Display2: 2 2
Display2: 3 3
Display3: 1 1
Display3: 2 2
Display3: 3 3
Display1: (2, 4)
Display1: (2, 6)
Display1: (4, 6)

Objects:

Channel:

Caller

Bind

ReactiveBinding

ChannelIterator

Metadata

Release files for salish 0.1.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 salish 0.1.0
File Size Uploaded Provenance Actions
salish-0.1.0.tar.gz 2.1 kB Without provenance Details for salish-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 4.6 kB

Release files / salish-0.1.0.tar.gz

Download URL salish-0.1.0.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ca738485cec6f8cc202c753b945aee6528ffb7fa0c589b32f032a7b74d830720
BLAKE2b-256 checksum
How to use checksums
1c05ef2d294711074abc7f3e230d55cf7c8264d1f71a6d77b8292d1942b44385
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release files / salish-0.1.0-py3-none-any.whl

Download URL salish-0.1.0-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d91b3f0fe19a1b632e0517a5ff3eb3a966d99aaf8c2333c3cfec4f6b5d970488
BLAKE2b-256 checksum
How to use checksums
ae320b6556478e078d32a3b9cf9ebccf737919ad4101547229397f22e89c01b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Security for salish 0.1.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

This release

0.1.0 This release

2 release files No provenance

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