Skip to main content

pydantic-djmodel is a Python library that converts Pydantic BaseModels into Django ORM models.

Project description

pydantic-djmodel

PoetryMkdocs CondaRuffsecurity: bandit coverage flake8 Ruff Imports: isort vulture McCabe mypy pytestShellCheck pre-commit MakimGitHub Actions

pydantic-djmodel is a Python library that converts Pydantic BaseModels into Django ORM models. It maps Pydantic fields, validators, and constraints to Django model fields, supporting nested models and relationships. This simplifies data validation and database management, reducing code duplication and easing migrations.

Features

TBD

Credits

This package was created with scicookie project template.

Project details


Download files

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

Source Distribution

pydantic_djmodel-0.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

pydantic_djmodel-0.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file pydantic_djmodel-0.1.0.tar.gz.

File metadata

  • Download URL: pydantic_djmodel-0.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.0 Linux/6.8.0-51-generic

File hashes

Hashes for pydantic_djmodel-0.1.0.tar.gz
Algorithm Hash digest
SHA256 850e148e897d29bff185b567a03071ebf109ee65599eb77cfd62cc6cf29c5899
MD5 4288ae91f09bc7ef4d3e24c1c82c22c2
BLAKE2b-256 1d8f10b9d8e48a37f7066cea7845d70041155d88226b41e1cdf64f6289564250

See more details on using hashes here.

File details

Details for the file pydantic_djmodel-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pydantic_djmodel-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.12.0 Linux/6.8.0-51-generic

File hashes

Hashes for pydantic_djmodel-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fee61f38a06caea4a8a67b6f5dc05cf91c2e5b66f7cb4797c6b90fbfece9fec0
MD5 c0f3c2e5f0a538d59f1addda665e0806
BLAKE2b-256 bd80d16a6b58f9d676c5dea5c93f6e7bb63d894b5d3b868bf6416cebfaaee32e

See more details on using hashes here.

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