Metadata-Version: 2.1
Name: pydantic-handler-converter
Version: 0.1.2
Summary: This code simplifies the conversion of Pydantic schemas into Aiogram handler groups, making it easy to create form-filling handlers.
Author: axdjuraev
Author-email: axdjuraev@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: aiogram (==3.0.0b7)
Requires-Dist: pydantic (==1.10.4)
Description-Content-Type: text/markdown

# Pydantic-handler-converter

This code simplifies the conversion of Pydantic schemas into Aiogram handler groups, 
making it easy to create form-filling handlers.

# Usage:

```python
>>> from pydantic import BaseModel
>>> from pydantic_handler_converter import BasePydanticFormHandlers
>>> 
>>>
>>> class GreatPydanticFormSchema(BaseModel):
...     name: str
... 

>>> class GreatFormHanlders(BasePydanticFormHandlers[GreatPydanticFormSchema]): pass
... 

>>> assert GreatFormHanlders.Schema == GreatPydanticFormSchema

```

