Skip to main content

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

Metadata

Release files for csv-json-schema-sync 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for csv-json-schema-sync 0.1.2
File Size Uploaded
csv_json_schema_sync-0.1.2.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for csv-json-schema-sync 0.1.2
File Interpreter ABI Platform
csv_json_schema_sync-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 10.9 kB

Release files / csv_json_schema_sync-0.1.2.tar.gz

Download URL csv_json_schema_sync-0.1.2.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
eddcfebff32a5b45f98b30762d8ee65aeb02ab7bce22c7b1afbe7187e5d3fc86
BLAKE2b-256 checksum
How to use checksums
9f03148bf22b1ed6c0a744b3f1c0a70bfa4ef22539f5e0929d48dccfba0a20c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.5

Release files / csv_json_schema_sync-0.1.2-py3-none-any.whl

Download URL csv_json_schema_sync-0.1.2-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7aed41a5425e1e391f6a7bd8c84474cce5d63331ad604b1a91ce21073c16ecb5
BLAKE2b-256 checksum
How to use checksums
a01d5d10f25d5ab0203110a8f124fba83ab2408a2b6423912b9ae5df957f5b25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.5

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

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