Skip to main content

Utilities for preparing C2M2 tables

Project description

CFDE C2M2 Utilities

A collection of utilities for simplifying the C2M2 submission process. If you prepare your submission with these utilities, you do not need to run the prepare_C2M2_submission.py script or download the CV reference files manually.

Init: Initializes a fresh C2M2 submission in the current working directory, creating blank versions of all tables defined in the current C2M2 datapackage schema (C2M2_datapackage.json).

Prepare: Resolves ontology identifiers and populates the Common Vocabulary (CV) tables.

Validate: Checks validity of C2M2 submission and highlights tables for which corrections, if any, are needed.

Package: Collects metadata tables in a zip file to be submitted to the DRC portal.

Submit: Submits C2M2 datapackage to DRC portal (coming soon)

pipx install cfde-c2m2
# OR
uv tool install cfde-c2m2

# create an empty c2m2 submission OR update your existing submission directory
cfde-c2m2 init

# fill in your tables however you like

# finish preparing your package by resolving iris
cfde-c2m2 prepare

# verify integrity of your package
cfde-c2m2 validate

# zip the necessary files for a bare minimum package
cfde-c2m2 package

# Coming Soon: submit to DRC portal
cfde-c2m2 submit

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

cfde_c2m2-0.4.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

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

cfde_c2m2-0.4.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file cfde_c2m2-0.4.0.tar.gz.

File metadata

  • Download URL: cfde_c2m2-0.4.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.9.6 Darwin/25.2.0

File hashes

Hashes for cfde_c2m2-0.4.0.tar.gz
Algorithm Hash digest
SHA256 a5fcd2dbd7ba31b1b53b0eed786fb8701cfeb8da465555924cc49b53b0c3b648
MD5 917ec0647ae98625463196e7eec8e81e
BLAKE2b-256 e506f6527884a5d3cfd1dd8282fa4a526942f8f90ba3fa811725429bc88a0683

See more details on using hashes here.

File details

Details for the file cfde_c2m2-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: cfde_c2m2-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.9.6 Darwin/25.2.0

File hashes

Hashes for cfde_c2m2-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c54513ee7cf04d9df85cd959e16bcac0cb35fb824f121bfc578af8eb0e3528c5
MD5 1ac9044cd00d1bf4c84f97f51b77bdf1
BLAKE2b-256 79908163a2ec87c78c39b3fa928d425155717d564d5300440ec468cffb304cae

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