Griffe extension for Pydantic.
Project description
griffe-pydantic
Griffe extension for Pydantic.
Installation
pip install griffe-pydantic
Usage
Command-line
griffe dump mypackage -e griffe_pydantic
See command-line usage in Griffe's documentation.
Python
import griffe
griffe.load(
"mypackage",
extensions=griffe.load_extensions(
[{"griffe_pydantic": {"schema": True}}]
)
)
See programmatic usage in Griffe's documentation.
MkDocs
plugins:
- mkdocstrings:
handlers:
python:
options:
extensions:
- griffe_pydantic:
schema: true
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
griffe_pydantic-1.1.2.tar.gz
(38.9 kB
view details)
Built Distribution
File details
Details for the file griffe_pydantic-1.1.2.tar.gz
.
File metadata
- Download URL: griffe_pydantic-1.1.2.tar.gz
- Upload date:
- Size: 38.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
381eacd8854a85811522b4f6dc9a1ef0fb5931825081379d70ff3a425b0d4ea1
|
|
MD5 |
161968b718b6014b98b1147d7bc69755
|
|
BLAKE2b-256 |
ca9e5242baf6e06adf7e9db6a0ef74728c34885325a461502695acba892a9a2f
|
File details
Details for the file griffe_pydantic-1.1.2-py3-none-any.whl
.
File metadata
- Download URL: griffe_pydantic-1.1.2-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
8ad53218ca6e9c24ccec83588eb435f562b30355f641fe336e81b1e00ea05f3c
|
|
MD5 |
e4743d1d155f29cf6a4e049321fc54b5
|
|
BLAKE2b-256 |
69bb2f4889c062f91ed809dbd14a2628365fa7f75b7fc3f8ce17d98b726563b0
|