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
See MkDocs usage in Griffe's documentation.
Sponsors
And 7 more private sponsor(s).
Project details
Release history Release notifications | RSS feed
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.3.1.tar.gz
(38.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file griffe_pydantic-1.3.1.tar.gz.
File metadata
- Download URL: griffe_pydantic-1.3.1.tar.gz
- Upload date:
- Size: 38.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7caedfa0effedb22893bf01cc411fd567614f7b4de7ce0c1f4293eb7acb5c44
|
|
| MD5 |
e65d7f907ac8e8fc2b0b9d324860d6db
|
|
| BLAKE2b-256 |
5abdd2eaeaf3f9910c9cd72793af0de18ee3d3a3a27bb30ab01cfd7659c08dc4
|
File details
Details for the file griffe_pydantic-1.3.1-py3-none-any.whl.
File metadata
- Download URL: griffe_pydantic-1.3.1-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
475103794a1d5da3933d3968e82a2bd9d9a1fa507c06d5ee1a39ee1fadcca628
|
|
| MD5 |
b9f77cc77c3b282afe8aa5e766d82efa
|
|
| BLAKE2b-256 |
2d8817d656aa97406cd509e2be0e6eddcf81fc1666104bf81042b89721d4a44c
|