Skip to main content

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)

Uploaded Source

Built Distribution

pydantic_examples-0.0.2-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

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

Hashes for pydantic_examples-0.0.2.tar.gz
Algorithm Hash digest
SHA256 005d81082303bd3fdbbead8997625e95836d064418b7e8f63cf1997e85528504
MD5 04a7e851070e4687c0a0bab2f6a14c3a
BLAKE2b-256 63da8bb4602e7cec8a810970df8d17b4d923a68a752491c012251aef4b414784

See more details on using hashes here.

File details

Details for the file pydantic_examples-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pydantic_examples-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4c672356f76a14b48c9af7410d40f824f71248c74b7786f514affc7d65cb5217
MD5 1371c73e95a3fd9e7cd04b1dc2d9f2fe
BLAKE2b-256 98441a30a6dd9a005eb348fb8c53760189f24644a81b147b07bfadff7c800846

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page