py-models-parser
py-models-parser copied to clipboard
Parser for Different Python Models (pure Python classes, Pydantic, Enums, ORMs: DjangoORM, Tortoise, SqlAlchemy, GinoORM, PonyORM, Pydal) to extract information about columns(attrs), model, table args...
**Is your feature request related to a problem? Please describe.** Today it is possible from OAS3/Swagger to make a model for Fask or FastAPi (https://openapi-generator.tech/docs/generators/python-flask), but it is super complicated...
When running ```python from omymodels.models.pydantic import types ``` under Python 3.12 I get ``` :1: SyntaxWarning: invalid escape sequence '\#' :1: SyntaxWarning: invalid escape sequence '\-' ``` Based on https://github.com/erikrose/parsimonious/issues/246...