Skip to main content

A tool for data engineers to manage continuously evolving CSV/JSON schemas.

Project description

csv-json-schema-sync

A CLI tool for data engineers to manage continuously evolving CSV/JSON schemas.

Features

  • Infer Schema: Auto-generate JSON schema from CSV/JSON data files.
  • Validate Data: Validate data files against a JSON schema.
  • Compare Schemas: Detect changes between two schemas (new/missing columns).

Installation

pip install csv-json-schema-sync

Usage

Infer Schema

schema-sync infer users.csv > schema.json

Validate Data

schema-sync validate users.csv schema.json

Development

pip install -e ".[dev]"
pytest

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

csv_json_schema_sync-0.1.2.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

csv_json_schema_sync-0.1.2-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file csv_json_schema_sync-0.1.2.tar.gz.

File metadata

  • Download URL: csv_json_schema_sync-0.1.2.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.5

File hashes

Hashes for csv_json_schema_sync-0.1.2.tar.gz
Algorithm Hash digest
SHA256 eddcfebff32a5b45f98b30762d8ee65aeb02ab7bce22c7b1afbe7187e5d3fc86
MD5 ca0260bf025dd93a3f769fe5fc52b9c5
BLAKE2b-256 9f03148bf22b1ed6c0a744b3f1c0a70bfa4ef22539f5e0929d48dccfba0a20c0

See more details on using hashes here.

File details

Details for the file csv_json_schema_sync-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for csv_json_schema_sync-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7aed41a5425e1e391f6a7bd8c84474cce5d63331ad604b1a91ce21073c16ecb5
MD5 427d10f147d52257e70308bc14031319
BLAKE2b-256 a01d5d10f25d5ab0203110a8f124fba83ab2408a2b6423912b9ae5df957f5b25

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