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)
Setup
Using pipx
# installation
pipx install cfde-c2m2
# upgrade
pipx upgrade cfde-c2m2
Using uv
# installation
uv tool install cfde-c2m2
# upgrade
uv tool upgrade cfde-c2m2
Usage
# 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 (opt for a useful name for your team)
cfde-c2m2 package -o 2026_03_C2M2.zip
# Coming Soon: submit to DRC portal
cfde-c2m2 submit 2026_03_C2M2.zip
Metadata
Release files for cfde-c2m2 0.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cfde_c2m2-0.6.1.tar.gz | 9.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cfde_c2m2-0.6.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.9 kB
Release files / cfde_c2m2-0.6.1.tar.gz
| Download URL | cfde_c2m2-0.6.1.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66244d38e5859d988d669b7619e3336e28f0540be2bdf5f3664cb2e21dc01a88
|
|
BLAKE2b-256 checksum How to use checksums |
2eec709a6b246302c558d8dd9dc6942a5d3f332d7004b015d89cca008a4baeb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.9.6 Darwin/25.5.0
|
Release files / cfde_c2m2-0.6.1-py3-none-any.whl
| Download URL | cfde_c2m2-0.6.1-py3-none-any.whl |
|---|---|
| Size | 13.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
606e870075ea66893c56b70e17fb8e1ad18724511dacb55567298ebe39dac0ff
|
|
BLAKE2b-256 checksum How to use checksums |
621bffb6a9873ea76bbf605ac6677503b76e4c62e57754a8243246fa45a86564
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.9.6 Darwin/25.5.0
|