Metadata-Version: 2.3
Name: pydantic-examples
Version: 0.0.2
Summary: Generate examples of serialized data from Pydantic models
Project-URL: repository, https://github.com/bneijt/pydantic-examples
Author-email: Bram Neijt <bram@neijt.nl>
License-Expression: Apache-2.0
License-File: LICENSE
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Requires-Python: >=3.8
Requires-Dist: pydantic>=2.9.2
Requires-Dist: ruamel-yaml>=0.18.6
Description-Content-Type: text/markdown

# pydantic-examples

Project to create example data from [Pydantic](https://docs.pydantic.dev/latest/) models.

From a model like:
```python
class Example(BaseModel):
        """Example model"""

        value: Annotated[str, Field(description="Does not really matter")] = "foo"
```

You can generate
```yaml
# Example model
value: foo  # Does not really matter
```
