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.64.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.64-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: csrd_models-0.3.64.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.64.tar.gz
Algorithm Hash digest
SHA256 f2cb5906ae9b540db6af4674c23212794e7cf7ea4f5772ec8a29d61430cd463a
MD5 61aeb25a9defa644f87216ec860a3f70
BLAKE2b-256 64e33a63f8fa6e8f23c6af91fbeaa43bc8e3a7decd4f3920816ecbef30758490

See more details on using hashes here.

Provenance

The following attestation bundles were made for csrd_models-0.3.64.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.64-py3-none-any.whl.

File metadata

  • Download URL: csrd_models-0.3.64-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.64-py3-none-any.whl
Algorithm Hash digest
SHA256 075cede08ec232f5bdf8416a2cfc823e67c047ef0a114e4656bfa8ae08bc33c7
MD5 c7a200c35e5eeb456cc1ecfd5a56590f
BLAKE2b-256 ae68aeec57d7517559505806cedc40643b1cc80c331c43560d24493bb219c755

See more details on using hashes here.

Provenance

The following attestation bundles were made for csrd_models-0.3.64-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