Skip to main content

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:

  • coralbricks CLI (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.

Metadata

Release files for coralbricks-sync-core 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 coralbricks-sync-core 0.1.0
File Size Uploaded
coralbricks_sync_core-0.1.0.tar.gz 12.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for coralbricks-sync-core 0.1.0
File Interpreter ABI Platform
coralbricks_sync_core-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.2 kB

Release files / coralbricks_sync_core-0.1.0.tar.gz

Download URL coralbricks_sync_core-0.1.0.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f624080799575ffaef177f5bc1715dfaabbf43e0a101651d55715842139df0d4
BLAKE2b-256 checksum
How to use checksums
babeefd42e889060362640ac30505516ac678c3cdb0b09a6a410ea705d87141a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

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

Download URL coralbricks_sync_core-0.1.0-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ce1a95ce485772c7f206f129cd88b87effca3ac2d671ff2e0582befd7cb4283
BLAKE2b-256 checksum
How to use checksums
d13a260a2f4fce4c61b49c9e559b509f34464e6d8a72101a3d99ad4b6a0e8493
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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