Skip to main content

CI/CD Status Test Coverage

Use pydantic with the Django REST framework

Installation

pip install drf-pydantic

Usage

from drf_pydantic import BaseModel

class MyModel(BaseModel):
  name: str
  addresses: list[str]

serializer = MyModel.drf_serializer

Download files

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

Source Distribution

drf-pydantic-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

drf_pydantic-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file drf-pydantic-0.1.0.tar.gz.

File metadata

  • Download URL: drf-pydantic-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.9.13 Linux/5.15.0-1017-azure

File hashes

Hashes for drf-pydantic-0.1.0.tar.gz
Algorithm Hash digest
SHA256 82aa9f2bc6adb5bfab3a55709f130471945a37f16c610a125c3d2b24d3c65220
MD5 12536a4ac3fe828377f54b3a77491fd9
BLAKE2b-256 db9eb0af34049e700079e91877fde5e26bf91312c468c07420c54e96c57f8ac8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: drf_pydantic-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.9.13 Linux/5.15.0-1017-azure

File hashes

Hashes for drf_pydantic-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5947518604756f3dd9b05e4bca22679257ca4f26b7b249e1186a1c8c045d92f
MD5 0ee0b50884f9524a89c5b97224f0e38f
BLAKE2b-256 a3aa83013b8c0fda425a8a50fc733472e306f43b385c2631643859e3013952e0

See more details on using hashes here.

Release history Release notifications | RSS feed

2.9.2

2 files

2.9.1

2 files

2.9.0

2 files

2.8.0

2 files

2.7.1

2 files

2.7.0

2 files

2.6.1

2 files

2.6.0

2 files

2.5.1

2 files

2.5.0

2 files

2.4.0

2 files

2.3.0

2 files

2.2.0

2 files

2.1.0

2 files

2.0.0

2 files

1.0.0

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

This release

0.1.0 This release

2 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