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
Metadata
Release files for template-models 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| template_models-0.2.1.tar.gz | 4.0 kB | Without provenance | Details for template_models-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| template_models-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for template_models-0.2.1-py3-none-any.whl |
Total release size: 8.9 kB
Release files / template_models-0.2.1.tar.gz
| Download URL | template_models-0.2.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f48be1bd1f344dd2603af66cbe64618802af77ee305417fc1cfa50118185e117
|
|
BLAKE2b-256 checksum How to use checksums |
c3da1b844aeb7583613b06534e1c97a293d75bcfb70c9575e53eb5e28ac955fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.9 Darwin/23.0.0
|
Release files / template_models-0.2.1-py3-none-any.whl
| Download URL | template_models-0.2.1-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
92755bb7ca6dc482f5bef9ec927f485f5f97483d4d1ba5e3b312bf3f2ebf5f3e
|
|
BLAKE2b-256 checksum How to use checksums |
a046387267d7b9e3a1efc68a4046d202f55a9154fc1b8f417fb6669ff83aa928
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.9 Darwin/23.0.0
|
Security for template-models 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.