Skip to content

dandi/pydantic2linkml

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

322 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pydantic2linkml

A tool for translating models expressed in Pydantic to LinkML

Hatch project


Sample Run

pydantic2linkml -o o.yml -l INFO dandischema.models

Options

Flag Description
-o / --output-file Write output to a file (default: stdout)
-M / --merge-file Deep-merge a YAML file into the generated schema. Values from the file win on conflict; the result is validated against the LinkML meta schema.
-O / --overlay-file Shallow-merge a YAML file into the generated schema. The result is validated against the LinkML meta schema.
-l / --log-level Log level (default: WARNING)

About

A tool for translating models expressed in Pydantic to LinkML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%