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.1.5.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file template_models-0.1.5.tar.gz
.
File metadata
- Download URL: template_models-0.1.5.tar.gz
- Upload date:
- Size: 3.9 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 | cce743474866bbac73def20b24721bae3681a6827d1898f50d383ee96f7bca7d |
|
MD5 | e2308464ca05570e8d65d69f9ac4d616 |
|
BLAKE2b-256 | 6b47e13895552dd905c7e7c4926010d46a036c9ab604c994842e0c429c9d5b57 |
File details
Details for the file template_models-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: template_models-0.1.5-py3-none-any.whl
- Upload date:
- Size: 4.8 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 | ee91d3d3dde0babacbac9970c79b5ead2e538c814c2c71238653f0a269611ac1 |
|
MD5 | 613f0c87a572603c9b2973a84124eee8 |
|
BLAKE2b-256 | 4b97f86029f1ad25d027000022d2c0fe0dc48424a5c35cf3fd432e4af8bb2610 |