Skip to main content

data-dict

data-dict.yaml is a lightweight YAML specification for data dictionaries: it describes a collection of related tables — their columns, types, constraints, relationships, and glossary — in one file that both people and tools can read. data-dict is the command line tool that validates such a file against the specification, against a dataset's metadata, and against the data itself.

Install

uv tool install data-dict-yaml

The installed command is data-dict. The wheels ship the prebuilt binary, so there is nothing to compile and no Rust toolchain to install. They cover macOS (Apple silicon and Intel), Linux (x86_64 and aarch64, glibc and musl alike), and Windows (x86_64).

Use

data-dict validate-spec data-dict.yaml
data-dict validate-data data-dict.yaml

validate-spec checks the dictionary against the specification, validate-meta additionally checks it against a dataset's schema, and validate-data also checks the rows. Diagnostics point at the offending line and explain what was expected. The tool can also draft a dictionary from a dataset, render one to HTML, export it as JSON, and translate its expressions to R, Python, or SQL. Run data-dict --help for the full list.

See https://data-dict.tidyverse.org for the specification, the list of validation checks, and the other install options. Source and issues: https://github.com/tidyverse/data-dict.

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

data_dict_yaml-0.0.3-py3-none-win_amd64.whl (6.2 MB view details)

Uploaded Python 3Windows x86-64

data_dict_yaml-0.0.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.musllinux_1_2_x86_64.whl (7.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64musllinux: musl 1.1+ x86-64musllinux: musl 1.2+ x86-64

data_dict_yaml-0.0.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.musllinux_1_2_aarch64.whl (7.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64musllinux: musl 1.1+ ARM64musllinux: musl 1.2+ ARM64

data_dict_yaml-0.0.3-py3-none-macosx_11_0_arm64.whl (6.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

data_dict_yaml-0.0.3-py3-none-macosx_10_12_x86_64.whl (6.6 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file data_dict_yaml-0.0.3-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for data_dict_yaml-0.0.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 763f7f4f6fe30a8231dbe53cf74565739addaa690b6ed19bd5101ee39e5607eb
MD5 284c1532d4be38798cabd603689adf20
BLAKE2b-256 d758d0043dcb2c808a7663f3ced5d28a4bd69f253b13fc53c593a9f35157cf79

See more details on using hashes here.

Provenance

The following attestation bundles were made for data_dict_yaml-0.0.3-py3-none-win_amd64.whl:

Publisher: publish-pypi.yml on tidyverse/data-dict

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file data_dict_yaml-0.0.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for data_dict_yaml-0.0.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ec85fd7fa8e29eb652ee4c3d9367e4b8505da723a78241ce79bea92e815abb7f
MD5 6afe969ca9b258c970e1398ff6c026e4
BLAKE2b-256 0a1ae4ef0bf438e46e2b1fb73dfdb28046d7036dd20e74ec75049d08080067da

See more details on using hashes here.

Provenance

The following attestation bundles were made for data_dict_yaml-0.0.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.musllinux_1_1_x86_64.musllinux_1_2_x86_64.whl:

Publisher: publish-pypi.yml on tidyverse/data-dict

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file data_dict_yaml-0.0.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for data_dict_yaml-0.0.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 8d8feb7e4c7422efaeeef378a32c204e560e072122304ae695b5b2d5e3944bbf
MD5 095cf4aee577a47ef0358480f02d0d3b
BLAKE2b-256 a6c92abf369fb80c5f90ff024324567b04e8b47461a31756e8fe3ddca98bb32c

See more details on using hashes here.

Provenance

The following attestation bundles were made for data_dict_yaml-0.0.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.musllinux_1_1_aarch64.musllinux_1_2_aarch64.whl:

Publisher: publish-pypi.yml on tidyverse/data-dict

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file data_dict_yaml-0.0.3-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for data_dict_yaml-0.0.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 921b74f8764af32edbeeee05d9a927bad640f6c1caa667a144394644a0ae6828
MD5 1e026b0786c32340d013af2120016383
BLAKE2b-256 527e7877adba9ba1147b6d574a0b0a75fcb6977d9dbd0403d4434194927d8e04

See more details on using hashes here.

Provenance

The following attestation bundles were made for data_dict_yaml-0.0.3-py3-none-macosx_11_0_arm64.whl:

Publisher: publish-pypi.yml on tidyverse/data-dict

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file data_dict_yaml-0.0.3-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for data_dict_yaml-0.0.3-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e1a7834435b3f3a8014d0cae2d5ac51f3297d80c32419acedc3129055dd83e1e
MD5 8d0a5e0d83ca085594f2d57c410b6dc6
BLAKE2b-256 7aa858afcbf2f034485b9e4f14748b723cb7ecc76108d6809e54f09c9bba9b84

See more details on using hashes here.

Provenance

The following attestation bundles were made for data_dict_yaml-0.0.3-py3-none-macosx_10_12_x86_64.whl:

Publisher: publish-pypi.yml on tidyverse/data-dict

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.0.3 This release

5 files

Supported by

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