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.1.tar.gz
(4.0 kB
view details)
Built Distribution
File details
Details for the file template_models-0.2.1.tar.gz
.
File metadata
- Download URL: template_models-0.2.1.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 | f48be1bd1f344dd2603af66cbe64618802af77ee305417fc1cfa50118185e117 |
|
MD5 | 958eb6f8033bf3221e21959d660dc523 |
|
BLAKE2b-256 | c3da1b844aeb7583613b06534e1c97a293d75bcfb70c9575e53eb5e28ac955fa |
File details
Details for the file template_models-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: template_models-0.2.1-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 | 92755bb7ca6dc482f5bef9ec927f485f5f97483d4d1ba5e3b312bf3f2ebf5f3e |
|
MD5 | ca2dec8022f65d982ad7f02a89c9b0b6 |
|
BLAKE2b-256 | a046387267d7b9e3a1efc68a4046d202f55a9154fc1b8f417fb6669ff83aa928 |