Metadata-Version: 2.4
Name: pydantic-extra
Version: 1.2.0
Summary: Готовые модели pydantic для частых задач
Author-email: Ярыкин Евгений <pypi@zedzhen.ru>
License: The zlib/libpng License
        
        Copyright (c) 2024-2026 Ярыкин Евгений
        
        This software is provided 'as-is', without any express or implied
        warranty. In no event will the authors be held liable for any damages
        arising from the use of this software.
        
        Permission is granted to anyone to use this software for any purpose,
        including commercial applications, and to alter it and redistribute it
        freely, subject to the following restrictions:
        
        1. The origin of this software must not be misrepresented; you must not
           claim that you wrote the original software. If you use this software
           in a product, an acknowledgement in the product documentation would be
           appreciated but is not required.
        2. Altered source versions must be plainly marked as such, and must not be
           misrepresented as being the original software.
        3. This notice may not be removed or altered from any source distribution.
        
Project-URL: source, https://github.com/zedzhen/pydantic-extra
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pydantic~=2.10
Requires-Dist: typing-extensions~=4.14
Provides-Extra: db
Requires-Dist: sqlalchemy~=2.0; extra == "db"
Provides-Extra: db-full
Requires-Dist: pymysql<2,>=1.1.1; extra == "db-full"
Provides-Extra: adb-full
Requires-Dist: aiomysql~=0.3.0; extra == "adb-full"
Requires-Dist: aiosqlite<0.23,>=0.20; extra == "adb-full"
Provides-Extra: full
Requires-Dist: aiomysql~=0.3.0; extra == "full"
Requires-Dist: aiosqlite<0.23,>=0.20; extra == "full"
Requires-Dist: sqlalchemy~=2.0; extra == "full"
Requires-Dist: pymysql<2,>=1.1.1; extra == "full"
Dynamic: license-file
Dynamic: provides-extra
Dynamic: requires-dist

# pydantic-extra

Данный модуль содержит готовые модели pydantic для частых задач.

This module contains ready-made pydantic models for frequent tasks.


[Documentation in English](https://pydantic-extra.readthedocs.io/en/stable/)

[Документация на русском](https://pydantic-extra.readthedocs.io/ru/stable/)


## pydantic_extra.smtp

Настройка подключения к SMTP серверу.

Configuring the connection to the SMTP server.


## pydantic_extra.db, pydantic_extra.adb

Настройка подключения к базам данных (в т.ч. в asyncio программах).

Configuring connection to databases (including in asyncio programs).

## pydantic_extra.enums

Enum с валидацией по имени.

Enum with name validation.
