Skip to main content

aisquare.pipe

CI PyPI Python License: Apache 2.0 Code style: Ruff PRs welcome

Universal anything-to-anything connector framework. Instead of building N² bespoke integrations between services, each service implements a single Source (pulls data) and/or Sink (pushes data) connector against a universal DataEnvelope spec. The framework handles type matching, pipeline orchestration, and plugin discovery.

Install

pip install aisquare-pipe                       # framework only
pip install "aisquare-pipe[popular]"            # framework + the canonical core connectors
pip install "aisquare-pipe[full]"               # framework + all connectors maintained in this repo
pip install aisquare-pipe-<service>             # framework + a single connector (e.g. aisquare-pipe-dropbox)

For development:

git clone git@github.com:AISquare-Studio/pipe.git && cd pipe
pip install -e ".[dev]"

Note: Plugin discovery via entry_points requires the package to be installed (pip install -e .).

Connectors

Each connector is its own independently published pip package under connectors/<name>/. The user-facing tier is encoded in the extras bundles — folder location does not determine tier.

Connector Package In [popular] In [full]
Local filesystem aisquare-pipe-local ✓ ✓
Dropbox aisquare-pipe-dropbox ✓ ✓
OneDrive aisquare-pipe-onedrive ✓ ✓
Salesforce aisquare-pipe-salesforce ✓
DocuSign aisquare-pipe-docusign ✓

Third-party connectors published as aisquare-pipe-<name> (or any package declaring the aisquare_pipe.connectors entry-point group) are auto-discovered after install.

Quick Start

from aisquare.pipe import Pipeline
from aisquare.pipe.testing.mock_connectors import MockSource, MockSink

source = MockSource(count=5)
sink = MockSink()

result = Pipeline(source=source, sink=sink).run({})

print(f"Transferred {result.success_count} envelopes")
print(f"Sink received: {[e.data for e in sink.received]}")

Architecture

┌─────────────┐    ┌──────────────┐    ┌─────────────┐
│   Source     │───>│ DataEnvelope │───>│    Sink     │
│  Connector   │    │              │    │  Connector   │
│              │    │ content_type │    │              │
│  pull() ─────┼──> │ data         │ ──>│──── push()  │
│              │    │ metadata     │    │              │
└─────────────┘    └──────────────┘    └─────────────┘
       │                  │                    │
       │          ┌───────┴────────┐           │
       │          │  TypeMatcher   │           │
       │          │  ┌──────────┐  │           │
       │          │  │Converter │  │           │
       │          │  └──────────┘  │           │
       │          └────────────────┘           │
       │                                       │
       └──────── Pipeline.run() ───────────────┘

CLI

pipe list                            # list installed connectors
pipe describe mock-source            # show connector details
pipe check mock-source mock-sink     # check type compatibility
pipe run --source mock-source --sink mock-sink --config config.json
pipe new-connector my-service        # scaffold a new connector plugin

Building a Connector

See CONTRIBUTING.md for the full guide. In short:

  1. pipe new-connector my-service — scaffolds a plugin project
  2. Implement SourceConnector.pull() and/or SinkConnector.push()
  3. Register via entry_points in your pyproject.toml
  4. Run connector_compliance_suite(MyConnector) to validate

Contributing & Community

Contributions are welcome! See CONTRIBUTING.md for the full guide — pipe new-connector <service> scaffolds a connector plugin in seconds.

License

Apache License 2.0 © AISquare Studio

Metadata

Release files for aisquare-pipe 0.1.1

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

Source distribution (sdist)

Source distribution for aisquare-pipe 0.1.1
File Size Uploaded Provenance Actions
aisquare_pipe-0.1.1.tar.gz 192.6 kB With provenance Details for aisquare_pipe-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aisquare-pipe 0.1.1
File Interpreter ABI Platform Actions
aisquare_pipe-0.1.1-py3-none-any.whl Python 3 none any Details for aisquare_pipe-0.1.1-py3-none-any.whl

Total release size: 234.6 kB

Release files / aisquare_pipe-0.1.1.tar.gz

Download URL aisquare_pipe-0.1.1.tar.gz
Size 192.6 kB
Tags Source
SHA-256 checksum
How to use checksums
73f691adf027fa036415222a8428de24a2d5f9594b28dd9dedf1c3f774167cc4
BLAKE2b-256 checksum
How to use checksums
6e7039356c2e3c2fab9a75b38550d1c5b4d1a5a6c1dc4147c3008df1a4fc2de6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 29, 2026.

Transparency log

Release files / aisquare_pipe-0.1.1-py3-none-any.whl

Download URL aisquare_pipe-0.1.1-py3-none-any.whl
Size 42.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1538abfccc5c507ec953e5a070e85013f8e633a5d47238e36d884373a500f75
BLAKE2b-256 checksum
How to use checksums
41574f878777654b94cf1c2b80f3791f0727b3371b9c5d4a446ca58038a61613
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 29, 2026.

Transparency log

Security for aisquare-pipe 0.1.1

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for aisquare_pipe-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 29, 2026.

Transparency log

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.1 This release

2 release files Full 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