loongson/pypi/: pydantic-1.9.1 metadata and description

Homepage Simple index

Data validation and settings management using python type hints

author Samuel Colvin
author_email s@muelcolvin.com
classifiers
  • Development Status :: 5 - Production/Stable
  • Programming Language :: Python
  • Programming Language :: Python :: 3
  • Programming Language :: Python :: 3 :: Only
  • Programming Language :: Python :: 3.6
  • Programming Language :: Python :: 3.7
  • Programming Language :: Python :: 3.8
  • Programming Language :: Python :: 3.9
  • Programming Language :: Python :: 3.10
  • Intended Audience :: Developers
  • Intended Audience :: Information Technology
  • Intended Audience :: System Administrators
  • License :: OSI Approved :: MIT License
  • Operating System :: Unix
  • Operating System :: POSIX :: Linux
  • Environment :: Console
  • Environment :: MacOS X
  • Framework :: Hypothesis
  • Topic :: Software Development :: Libraries :: Python Modules
  • Topic :: Internet
description_content_type text/markdown
license MIT
provides_extras email
requires_dist
  • typing-extensions (>=3.7.4.3)
  • dataclasses (>=0.6) ; python_version < "3.7"
  • python-dotenv (>=0.10.4) ; extra == 'dotenv'
  • email-validator (>=1.0.3) ; extra == 'email'
requires_python >=3.6.1

Because this project isn't in the mirror_whitelist, no releases from root/pypi are included.

File Tox results History
pydantic-1.9.1-py3-none-any.whl
Size
140 KB
Type
Python Wheel
Python
3
  • Replaced 1 time(s)
  • Uploaded to loongson/pypi by loongson 2022-08-08 02:46:01

pydantic

CI Coverage pypi CondaForge downloads versions license

Data validation and settings management using Python type hints.

Fast and extensible, pydantic plays nicely with your linters/IDE/brain. Define how data should be in pure, canonical Python 3.6+; validate it with pydantic.

Help

See documentation for more details.

Installation

Install using pip install -U pydantic or conda install pydantic -c conda-forge. For more installation options to make pydantic even faster, see the Install section in the documentation.

A Simple Example

from datetime import datetime
from typing import List, Optional
from pydantic import BaseModel

class User(BaseModel):
    id: int
    name = 'John Doe'
    signup_ts: Optional[datetime] = None
    friends: List[int] = []

external_data = {'id': '123', 'signup_ts': '2017-06-01 12:22', 'friends': [1, '2', b'3']}
user = User(**external_data)
print(user)
#> User id=123 name='John Doe' signup_ts=datetime.datetime(2017, 6, 1, 12, 22) friends=[1, 2, 3]
print(user.id)
#> 123

Contributing

For guidance on setting up a development environment and how to make a contribution to pydantic, see Contributing to Pydantic.

Reporting a Security Vulnerability

See our security policy.

v1.9.1 (2022-05-19)

Thank you to pydantic's sponsors: @tiangolo, @stellargraph, @JonasKs, @grillazz, @Mazyod, @kevinalh, @chdsbd, @povilasb, @povilasb, @jina-ai, @mainframeindustries, @robusta-dev, @SendCloud, @rszamszur, @jodal, @hardbyte, @corleyma, @daddycocoaman, @Rehket, @jokull, @reillysiemens, @westonsteimel, @primer-io, @koxudaxi, @browniebroke, @stradivari96, @adriangb, @kamalgill, @jqueguiner, @dev-zero, @datarootsio, @RedCarpetUp for their kind support.

v1.9.0 (2021-12-31)

Thank you to pydantic's sponsors: @sthagen, @timdrijvers, @toinbis, @koxudaxi, @ginomempin, @primer-io, @and-semakin, @westonsteimel, @reillysiemens, @es3n1n, @jokull, @JonasKs, @Rehket, @corleyma, @daddycocoaman, @hardbyte, @datarootsio, @jodal, @aminalaee, @rafsaf, @jqueguiner, @chdsbd, @kevinalh, @Mazyod, @grillazz, @JonasKs, @simw, @leynier, @xfenix for their kind support.

Highlights

v1.9.0 (2021-12-31) Changes

v1.9.0a2 (2021-12-24) Changes

v1.9.0a1 (2021-12-18) Changes

v1.8.2 (2021-05-11)

!!! warning A security vulnerability, level "moderate" is fixed in v1.8.2. Please upgrade ASAP. See security advisory CVE-2021-29510

v1.8.1 (2021-03-03)

Bug fixes for regressions and new features from v1.8

v1.8 (2021-02-26)

Thank you to pydantic's sponsors: @jorgecarleitao, @BCarley, @chdsbd, @tiangolo, @matin, @linusg, @kevinalh, @koxudaxi, @timdrijvers, @mkeen, @meadsteve, @ginomempin, @primer-io, @and-semakin, @tomthorogood, @AjitZK, @westonsteimel, @Mazyod, @christippett, @CarlosDomingues, @Kludex, @r-m-n for their kind support.

Highlights

Changes

v1.7.4 (2021-05-11)

v1.7.3 (2020-11-30)

Thank you to pydantic's sponsors: @timdrijvers, @BCarley, @chdsbd, @tiangolo, @matin, @linusg, @kevinalh, @jorgecarleitao, @koxudaxi, @primer-api, @mkeen, @meadsteve for their kind support.

v1.7.2 (2020-11-01)

v1.7.1 (2020-10-28)

Thank you to pydantic's sponsors: @timdrijvers, @BCarley, @chdsbd, @tiangolo, @matin, @linusg, @kevinalh, @jorgecarleitao, @koxudaxi, @primer-api, @mkeen for their kind support.

v1.7 (2020-10-26)

Thank you to pydantic's sponsors: @timdrijvers, @BCarley, @chdsbd, @tiangolo, @matin, @linusg, @kevinalh, @jorgecarleitao, @koxudaxi, @primer-api for their kind support.

Highlights

Changes

v1.6.2 (2021-05-11)

v1.6.1 (2020-07-15)

v1.6 (2020-07-11)

Thank you to pydantic's sponsors: @matin, @tiangolo, @chdsbd, @jorgecarleitao, and 1 anonymous sponsor for their kind support.

v1.5.1 (2020-04-23)

v1.5 (2020-04-18)

v1.4 (2020-01-24)

v1.3 (2019-12-21)

v1.2 (2019-11-28)

v1.1.1 (2019-11-20)

v1.1 (2019-11-07)

v1.0 (2019-10-23)

v1.0b2 (2019-10-07)

v1.0b1 (2019-10-01)

v0.32.2 (2019-08-17)

(Docs are available here)

v0.32.1 (2019-08-08)

v0.32 (2019-08-06)

v0.31.1 (2019-07-31)

v0.31 (2019-07-24)

v0.30.1 (2019-07-15)

v0.30 (2019-07-07)

v0.29 (2019-06-19)

v0.28 (2019-06-06)

v0.27 (2019-05-30)

v0.27.0a1 (2019-05-26)

v0.26 (2019-05-22)

v0.25 (2019-05-05)

v0.24 (2019-04-23)

v0.23 (2019-04-04)

v0.22 (2019-03-29)

v0.21.0 (2019-03-15)

v0.20.1 (2019-02-26)

v0.20.0 (2019-02-18)

v0.20.0a1 (2019-02-13)

v0.19.0 (2019-02-04)

v0.18.2 (2019-01-22)

v0.18.1 (2019-01-17)

v0.18.0 (2019-01-13)

v0.17.0 (2018-12-27)

v0.16.1 (2018-12-10)

v0.16.0 (2018-12-03)

v0.15.0 (2018-11-18)

v0.14.0 (2018-10-02)

v0.13.1 (2018-09-21)

v0.13.0 (2018-08-25)

v0.12.1 (2018-07-31)

v0.12.0 (2018-07-31)

v0.11.2 (2018-07-05)

v0.11.1 (2018-07-02)

v0.11.0 (2018-06-28)

v0.10.0 (2018-06-11)

v0.9.1 (2018-05-10)

v0.9.0 (2018-04-28)

v0.8.0 (2018-03-25)

v0.7.1 (2018-02-07)

v0.7.0 (2018-02-06)

v0.6.4 (2018-02-01)

v0.6.3 (2017-11-26)

v0.6.2 (2017-11-13)

v0.6.1 (2017-11-08)

v0.6.0 (2017-11-07)

v0.5.0 (2017-10-23)

v0.4.0 (2017-07-08)

v0.3.0 (2017-06-21)

v0.2.1 (2017-06-07)

v0.2.0 (2017-06-07)

v0.1.0 (2017-06-03)