Skip to main content

Spark-native embedding lifecycle — produce, CDC refresh, migrate, audit.

Project description

drift-spark

Spark-native embedding lifecycle — produce, CDC refresh, model-migrate, audit.

pip install drift-spark · import drift · MIT


Status: pre-alpha (v0.0.1 placeholder).

Drift is a Python library that turns the standard 300-line PySpark embedding pipeline into three declarative commands:

drift embed --table my_catalog.docs --text-col body --sink qdrant://localhost:6333/docs
drift watch --table my_catalog.docs --text-col body --sink qdrant://localhost:6333/docs
drift status --sink qdrant://localhost:6333/docs

What it does:

  • embed() — Spark-native embedding with dedup, batching, multi-model, Qdrant + pgvector sinks
  • watch() — incremental CDC refresh via Delta Change Data Feed → only changed rows re-embedded
  • migrate() — dual-write model migration with lineage tracking (v1.0); adapter projection (v2.0)
  • Lineage ledger — per-embedding cost, source tracing, GDPR-delete proof (SQLite, queryable)

GitHub: https://github.com/aayush4vedi/drift-spark PyPI: https://pypi.org/project/drift-spark/0.0.1/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drift_spark-0.2.1.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

drift_spark-0.2.1-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file drift_spark-0.2.1.tar.gz.

File metadata

  • Download URL: drift_spark-0.2.1.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for drift_spark-0.2.1.tar.gz
Algorithm Hash digest
SHA256 ed46f221e3fcd48fa1c1485f44b35c9a6442dc38b9f54db8e3e887b96e6fb993
MD5 38269e536981341be84b9d72a29a0049
BLAKE2b-256 7a0f74620f545bd0a92f790a16b0cbd0f5bf10d90efc4d7da3446b608f5ff6e7

See more details on using hashes here.

File details

Details for the file drift_spark-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: drift_spark-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for drift_spark-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9091b93413b150fd03d92b831cdc60699a15c311e408eb2e727d57c8d711282e
MD5 f7d48dd0458b46ced078abaca9df73d1
BLAKE2b-256 ae777ee5d61369a596a57b1be2b234d1210032f4eee3501c5c6542604bdfa402

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page