Skip to content

This application may be used for performing assessments on C2M2 datapackages

Notifications You must be signed in to change notification settings

nih-cfde/c2m2-assessment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c2m2-assessment

This application may be used for performing assessments on C2M2 datapackages.

Installation

pip install "c2m2-assessment @ git+https://github.com/nih-cfde/c2m2-assessment"

Usage

A more concrete example of executing the assessment can be found here.

CLI

# review the options
c2m2-assessment --help
# perform a basic assessment
c2m2-assessment -v -i datapackage.zip -o results.json

Docker

# build the docker image
docker build -it c2m2-assessment .
# run the image the same way you would the python cli
docker run -w /work -v $(pwd):/work -it c2m2-assessment -i datapackage.zip -o results.json

Python

# or see, __main__.py
from c2m2_assessment.rubrics.NCE import rubric
# FAIRshake-style Rubric object capable of performing assessment
results = list(rubric.assess([CFDE_client]))

About

This application may be used for performing assessments on C2M2 datapackages

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •