Skip to main content

CloudSync MLBridge

Google Cloud Datastore to BigQuery sync toolkit with Pub/Sub events, ML scoring, and workflow-ready orchestration.

cloudsync-mlbridge helps teams move operational data from Google Cloud Datastore into BigQuery while keeping analytics tables current through event-driven sync patterns.

It is designed for modern Google Cloud architectures using Datastore, BigQuery, Pub/Sub, Google Workflows, Cloud Run, and ML-based decision systems.

Use Cases

  • Datastore to BigQuery synchronization
  • Pub/Sub event-driven change propagation
  • BigQuery analytics table loading
  • ML-assisted record scoring before analytics ingestion
  • Workflow-ready sync payload generation
  • Operational dashboards and reporting
  • Agentic AI data movement orchestration

Install

pip install cloudsync-mlbridge

Python Usage

from cloudsync_mlbridge import SyncRecord, score_record_freshness, build_bigquery_row

record = SyncRecord(
    entity_key="customer-1001",
    kind="CustomerProfile",
    operation="UPSERT",
    data={"status": "active", "region": "US"}
)

print(score_record_freshness(record))
print(build_bigquery_row(record))

CLI Usage

cloudsync-mlbridge score --entity-key customer-1001 --kind CustomerProfile --operation UPSERT

Architecture Pattern

Recommended enterprise pattern:

  1. Application writes to Datastore.
  2. Application emits a Pub/Sub event.
  3. Cloud Run, Dataflow, or Workflows receives the event.
  4. cloudsync-mlbridge normalizes the record.
  5. Optional ML scoring is applied.
  6. Record is written to BigQuery raw/current tables.
  7. Scheduled reconciliation compares Datastore export with BigQuery.

Build and Publish

python -m pip install --upgrade build twine
python -m build
twine check dist/*
twine upload dist/*

License

MIT

Author: Raghava Chellu

Metadata

Release files for cloudsync-mlbridge 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 cloudsync-mlbridge 0.1.0
File Size Uploaded Provenance
cloudsync_mlbridge-0.1.0.tar.gz 4.8 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 10.9 kB

Release files / cloudsync_mlbridge-0.1.0.tar.gz

Download URL cloudsync_mlbridge-0.1.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
38e375557306e4bb5e0a5081236702b191e79399ea3a404d78dc7ba31b719850
BLAKE2b-256 checksum
How to use checksums
6b02ee04ed8ab41b71a3496db125c6ce3e4d47e924bb5062082b69150825c95a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

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

Download URL cloudsync_mlbridge-0.1.0-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
683da474101f76e9c95d29d3075e584fd8b090ba1ebc901ab453cc110643b596
BLAKE2b-256 checksum
How to use checksums
28b5b8144bbd80de321b659a4cf153bea5358ab99398f5601897bc2d32bbcc18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for cloudsync-mlbridge 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