/csvcubed-models

Models used by the csvcubed tooling

Primary LanguagePythonApache License 2.0Apache-2.0

csvcubed - models

Models shared by multiple packages in the csvcubed family.

Part of the csvcubed project.

This package contains functionality to:

  • Support serialisation of python models to RDF
  • Provide models for relevant RDF ontologies such as SKOS, qb and DCAT.
  • Enable deserialisation of JSON to instances of python dataclasses.

Adding a package

Dependencies are installed in the Docker container on a container-wide basis. If you're adding a new package, first run:

poetry add <some-package>

And once that has completed, if you are working inside the docker dev container, you must rebuild the container before the packages will be available for your use.

Copyright 2024 Office for National Statistics, under Crown Copyright