Pydantic2md
Utility package to translate Pydantic models to markdown.
Useful for logging models in a Gradio/Streamlit app or simply to generate reports.
It supports most common types, contributions are welcome!
Usage
from pydantic2md import pydantic2md
class Hero(BaseModel):
name: str
age: int
my_hero = Hero(name="Arthur", age=23)
print(pydantic2md(my_hero))
"""
# Hero
name (str): Arthur
age (int): 23
"""
Roadmap
- Live Demo
- Support light tables
Metadata
Release files for pydantic2md 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pydantic2md-0.1.0.tar.gz | 6.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pydantic2md-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.0 kB
Release files / pydantic2md-0.1.0.tar.gz
| Download URL | pydantic2md-0.1.0.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e1e0b484ad28fba4dd388601b79e1a4670aa70317e520ee403a4df6c476b0605
|
|
BLAKE2b-256 checksum How to use checksums |
ed40b5d01ac68cfffafa82a8c9908ccd698a06d1235ba0f2adbfe45290e862d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.9.13 Linux/6.2.0-39-generic
|
Release files / pydantic2md-0.1.0-py3-none-any.whl
| Download URL | pydantic2md-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
23b162c167b8b7b464054c37cc1a7cf0f8ca92865a83f949d0c0f42dc03682ac
|
|
BLAKE2b-256 checksum How to use checksums |
4d71c87e8538261aa417c77aacb6a29e1e564da91e5c1b984745bde9e0fd8b19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.6.1 CPython/3.9.13 Linux/6.2.0-39-generic
|