Skip to main content

Schema compatibility and transfer safety utility for data pipelines

Project description

Schema Shield

Schema Shield is a lightweight Python utility for schema compatibility validation and transfer safety checks in data pipelines.

It helps answer a practical question:

What changed between two schemas — and will this break my pipeline or transfer?


Why Schema Shield?

Most schema diff tools can tell you:

  • what fields were added
  • what fields were removed
  • what changed

But data engineers often need one more answer:

Is this change safe, risky, or breaking?

Schema Shield is built to provide that classification layer.


Features

  • Normalize schemas into a common internal format
  • Compare schema differences
  • Detect:
    • added fields
    • removed fields
    • type changes
    • nullable changes
  • Classify changes into:
    • SAFE
    • WARNING
    • BREAKING
  • Generate human-readable compatibility reports
  • Support:
    • Python dict / JSON schemas
    • Spark-like schemas
    • Spark / Databricks table comparison helpers

Installation

Local editable install

pip install -e .

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

schema_shield-1.0.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

schema_shield-1.0.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file schema_shield-1.0.0.tar.gz.

File metadata

  • Download URL: schema_shield-1.0.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for schema_shield-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8a7ab425056e87b2aae334dda7772b8143b632058c1d08f63781d00506f60c1f
MD5 28ca3f404e64510ec17ed9d07aa46e9a
BLAKE2b-256 8fbcc79b14862e7ad5ce48f87e049724b90310d35d2e3644fb24c13272be18e8

See more details on using hashes here.

File details

Details for the file schema_shield-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: schema_shield-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for schema_shield-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 42f1bbf33dcca16268b058145fd32c6a0686686e119260f04460d062c5fcfd84
MD5 e033bd61b4f8d54a3dc90a2725775963
BLAKE2b-256 6d0900017bd5ceb5b324b294fca88873d68b47f4e17b6c4cca28b6707d7e6e0b

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