pydantic pycharm plugin
v0.4.16
A JetBrains PyCharm plugin for pydantic
.
I got interviewed about this plugin for JetBrains' PyCharm Blog.
See documentation for more details.
The plugin is in Jetbrains repository (Pydantic Plugin Page)
You can install the stable version on PyCharm's Marketplace
(Preference -> Plugins -> Marketplace) Official Documentation
The plugin requires PyCharm 2020.2 or later (include other JetBrains IDEs)
__init__
-signature inspection and autocompletion for subclasses of pydantic.BaseModel
__init__
-arguments type-checking for subclasses of pydantic.BaseModel
BaseModel
__init__
call keyword arguments, PyCharm will present a dialog offering the choice to automatically rename the keyword where it occurs in a model initialization call.)__init__
with Ctrl+B
and Cmd+B
parsable-type
. the detail is at Inspection for type-checking sectionpydantic.BaseModel
Field
and constr
are treated as Python's regex string literalsfrozen=True
from Config/ConfigDictcls
of the methodpydantic.BaseModel
pydantic.BaseModel
pydantic.dataclasses.dataclass
as third-party dataclass.)pydantic.BaseModel
We are waiting for your contributions to pydantic-pycharm-plugin
.
Pydantic Plugin Page
Auto-completion when instantiating BaseModel objects #650
Poetry PyCharm Plugin