Coral Bricks Airbyte sync core — Docker runner + S3 envelope writer shared by the CLI and the ECS supervisor.
Project description
coralbricks-sync-core
Shared Airbyte sync core for Coral Bricks — a Docker runner that speaks the Airbyte Protocol and a gzipped-JSONL S3 writer that emits the Coral Bricks per-record envelope.
This package is the source of truth for two surfaces that must produce byte-identical S3 output:
coralbricksCLI (coralbricks sync) — runs Docker on a user laptop.- Coral Bricks ECS supervisor (closed-source) — runs the same protocol parser against an Airbyte connector container's CloudWatch log stream.
Both pip-install coralbricks-sync-core and call into the same
runner / s3 modules, so downstream consumers only ever see one S3 layout
and one record envelope.
Install
pip install coralbricks-sync-core
Runtime deps: docker>=7.0, boto3>=1.34. Python 3.10+.
What's in the box
from coralbricks.sync_core import runner, s3
# Spawn an Airbyte source container, parse RECORD/STATE/LOG/TRACE messages.
runner.run_read(docker_client, image, config, configured_catalog, handlers)
# Buffer records per stream, gzip in memory, upload one part per stream.
writer = s3.ScopedS3Writer(bucket=..., key_prefix=..., sts=...)
writer.write_record(stream, data, emitted_at)
writer.close() # → upload summary
The S3 envelope written per line is the inner Airbyte Protocol RECORD
payload verbatim — {stream, data, emitted_at} — no Coral envelope layer.
License
Apache-2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file coralbricks_sync_core-0.1.0.tar.gz.
File metadata
- Download URL: coralbricks_sync_core-0.1.0.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f624080799575ffaef177f5bc1715dfaabbf43e0a101651d55715842139df0d4
|
|
| MD5 |
fcc1a1dfcf5093b12a46087091a62261
|
|
| BLAKE2b-256 |
babeefd42e889060362640ac30505516ac678c3cdb0b09a6a410ea705d87141a
|
File details
Details for the file coralbricks_sync_core-0.1.0-py3-none-any.whl.
File metadata
- Download URL: coralbricks_sync_core-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ce1a95ce485772c7f206f129cd88b87effca3ac2d671ff2e0582befd7cb4283
|
|
| MD5 |
724cda5ac47933e5687fcd0beec5da85
|
|
| BLAKE2b-256 |
d13a260a2f4fce4c61b49c9e559b509f34464e6d8a72101a3d99ad4b6a0e8493
|