No project description provided
Project description
Pydantic Dynamic Models
This project provides a flexible and powerful way to create dynamic Pydantic models based on template strings. It allows you to define model structures on-the-fly, with support for field descriptions, substitutions, and easy text generation from model instances.
Features
- Create Pydantic models dynamically from template strings
- Support for field descriptions and type annotations
- Flexible substitution system for template customization
- Generate text from model instances
- Type hinting and validation through Pydantic
Installation
To use this project, make sure you have Pydantic installed:
pip install template-models
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
template_models-0.2.0.tar.gz
(4.0 kB
view details)
Built Distribution
File details
Details for the file template_models-0.2.0.tar.gz
.
File metadata
- Download URL: template_models-0.2.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.9 Darwin/23.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 465f5f2c2f9cb1b64f87b3f1dfca00b3fd6bfb637fec26a44c999a1fb2a1a7b5 |
|
MD5 | 7b0f31b25b70f4222e259fb08903c517 |
|
BLAKE2b-256 | 589c5aa06b68321770dfa53b1f8ba246faa2379b2e5d73316847c2efefdea215 |
File details
Details for the file template_models-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: template_models-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.9 Darwin/23.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99bccb49f0117bb00fe37ab1c3f10d09409a0db41ef44b210abd6341f13740a5 |
|
MD5 | 2920476d4b72ea303979ecbeb381088f |
|
BLAKE2b-256 | d32468d4015483f915a9feb14bbfcdb0b39b08714c197b0482b2fc564e8559b9 |