Skip to main content

Base Pydantic models and settings

Project description

csrd-models

Shared Pydantic models, settings, and parsing utilities for FastAPI microservices.

Package: csrd.models · Import: from csrd.models import BaseModel, BaseSettings

What's included

  • BaseModel / BaseSettings with camelCase alias config and populate_by_name=True
  • ModelParserMixin — response parsing mixin for delegates and repositories
  • PayloadExtractor / DefaultExtractor — pluggable payload extraction
  • UserClaims — JWT user claims dataclass
  • APIErrorResponse, ErrorMeta, Error, APIVersion — structured error response models

Installation

uv pip install "csrd-models @ git+ssh://git@github.com/csrd-api/fastapi-common.git#subdirectory=packages/models"

Dependencies

None (Tier 1 — standalone)

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

csrd_models-0.3.18.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

csrd_models-0.3.18-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file csrd_models-0.3.18.tar.gz.

File metadata

  • Download URL: csrd_models-0.3.18.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for csrd_models-0.3.18.tar.gz
Algorithm Hash digest
SHA256 55e70485e4781d6dc35f72e5f1c12eb292b9f5738035b536055b1d9ca65aba91
MD5 2c58e6ae79b9073283421ea8f7aaa8d9
BLAKE2b-256 37222dc2d44ae383bdcbf98f2a469fc0b5a600b917c4c8cc63e90d3e48711085

See more details on using hashes here.

Provenance

The following attestation bundles were made for csrd_models-0.3.18.tar.gz:

Publisher: release.yml on csrd-api/fastapi-common

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file csrd_models-0.3.18-py3-none-any.whl.

File metadata

  • Download URL: csrd_models-0.3.18-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for csrd_models-0.3.18-py3-none-any.whl
Algorithm Hash digest
SHA256 62303a364603f6aa0168ccb56b4f476e8b66e9d4cdb89b51598c5233c6091a4c
MD5 8d3569c59b4a4116a2035d119d30f0ca
BLAKE2b-256 ce015be4aea98837c4fffbf862752ab779a5d51af18b3728140dbf9a0243835e

See more details on using hashes here.

Provenance

The following attestation bundles were made for csrd_models-0.3.18-py3-none-any.whl:

Publisher: release.yml on csrd-api/fastapi-common

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page