Skip to main content

cfdb-models

data models for cfdb

build codecov PyPI version


Source Code: https://github.com/mullenkamp/cfdb-models


Overview

This package is meant to fully define the data model of cfdb using msgspec. This has been separated from the core cfdb package to abstract away the engine implementation from the data model. This will help in defining and assigning attribute templates for things like variables (e.g. cfdb-vars).

Development

Setup environment

We use UV to manage the development environment and production build.

uv sync

Run unit tests

You can run all the tests with:

uv run pytest

Format the code

Execute the following commands to apply linting and check typing:

uv run ruff check .
uv run black --check --diff .
uv run mypy --install-types --non-interactive cfdb_models

To auto-format:

uv run black .
uv run ruff check --fix .

License

This project is licensed under the terms of the Apache Software License 2.0.

Metadata

Release files for cfdb-models 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cfdb-models 0.1.1
File Size Uploaded
cfdb_models-0.1.1.tar.gz 4.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cfdb-models 0.1.1
File Interpreter ABI Platform
cfdb_models-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / cfdb_models-0.1.1.tar.gz

Download URL cfdb_models-0.1.1.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d058dcf57efcb23f4cc5bc497f0970526655a33f4c8b1ce5f372f92ff0c62543
BLAKE2b-256 checksum
How to use checksums
6478956bd06091b147dde8d622b11a5b967ad7147ef5f7d23b4f9707f83eda6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.7

Release files / cfdb_models-0.1.1-py3-none-any.whl

Download URL cfdb_models-0.1.1-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98a046ef02a66f88c64f10f74e40e4701013a852094c43413d22ff790f748db9
BLAKE2b-256 checksum
How to use checksums
e29e04a26bfe094b1d9c8061a819985319b67b6485a6db9c4618ae4a313d5653
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.7

Release history Release notifications | RSS feed

0.1.2

2 release files

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page