Generate examples of serialized data from Pydantic models
Project description
pydantic-examples
Project to create example data from Pydantic models.
From a model like:
class Example(BaseModel):
"""Example model"""
value: Annotated[str, Field(description="Does not really matter")] = "foo"
You can generate
# Example model
value: foo # Does not really matter
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
pydantic_examples-0.0.2.tar.gz
(22.4 kB
view details)
Built Distribution
File details
Details for the file pydantic_examples-0.0.2.tar.gz
.
File metadata
- Download URL: pydantic_examples-0.0.2.tar.gz
- Upload date:
- Size: 22.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 005d81082303bd3fdbbead8997625e95836d064418b7e8f63cf1997e85528504 |
|
MD5 | 04a7e851070e4687c0a0bab2f6a14c3a |
|
BLAKE2b-256 | 63da8bb4602e7cec8a810970df8d17b4d923a68a752491c012251aef4b414784 |
File details
Details for the file pydantic_examples-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: pydantic_examples-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c672356f76a14b48c9af7410d40f824f71248c74b7786f514affc7d65cb5217 |
|
MD5 | 1371c73e95a3fd9e7cd04b1dc2d9f2fe |
|
BLAKE2b-256 | 98441a30a6dd9a005eb348fb8c53760189f24644a81b147b07bfadff7c800846 |