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.2
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.2.tar.gz | 9.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cfde_c2m2-0.6.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.9 kB
Release files / cfde_c2m2-0.6.2.tar.gz
| Download URL | cfde_c2m2-0.6.2.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c067e7f4873348bd2623cfa44d45efd897bf9a0a41ad5750cdc18926babc28a
|
|
BLAKE2b-256 checksum How to use checksums |
4b55790b14d761a415ef9eb4d151a0bb1344754e92e2cfcfc4eeb718c9afd382
|
| 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.2-py3-none-any.whl
| Download URL | cfde_c2m2-0.6.2-py3-none-any.whl |
|---|---|
| Size | 13.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5019ae3b19737fa0a97b6272c3bd2029ad25d8d3e251aaac40562db1993e6775
|
|
BLAKE2b-256 checksum How to use checksums |
44576bc9eef5d1c6e24abc3666056d73f7ef8f4ae506f8352525e5efa0333913
|
| 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
|