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.2

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.2
File Size Uploaded
cfdb_models-0.1.2.tar.gz 4.9 kB Details

Built distribution (wheel)

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

Total release size: 9.2 kB

Release files / cfdb_models-0.1.2.tar.gz

Download URL cfdb_models-0.1.2.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
78f1cc2f01509849e52cfed3c927172970f63e563102f19886ed724330286ba9
BLAKE2b-256 checksum
How to use checksums
f882ca6fdcd438260a4ccf272ac40844dd2e1ed91da1d046165c50c36f83c171
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.7

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

Download URL cfdb_models-0.1.2-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d845b38755b81646954a9f9e7e00af8b6640db36d3b0f01a74a6d8655885660
BLAKE2b-256 checksum
How to use checksums
48116aea6d3a0378807a99e68ed774a2c6869525056dca8b85fef6dadbd5f3c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.7

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

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