A utility to format Pydantic models into clean JSON Schemas for LLMs.
Project description
cforma
A utility to format Pydantic models into clean, LLM-ready JSON Schemas.
Description
cforma introspects Pydantic models, resolves all nested references, and cleans the resulting schema to make it minimal and efficient for use with Large Language Models that support structured JSON output (Tested with OpenRouter).
Installation
pip install cforma
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cforma-0.1.0.tar.gz.
File metadata
- Download URL: cforma-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f22e7d24ea250495f2152e0ff32d388e8efaada99016f946abb2a5ff455814f4
|
|
| MD5 |
894a9153d01bfff7f88f879357ff3c40
|
|
| BLAKE2b-256 |
a1bfd795397ed09f21f344689e95bb2620b24273eb81ffe9b09083b3e68a5b12
|
File details
Details for the file cforma-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cforma-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c4f11e7c8220dd207215435ac115b8823f989a8a73684440b455ec066b9e754
|
|
| MD5 |
84825eb283cefdc61f78ab4a6599addd
|
|
| BLAKE2b-256 |
cbd66336205842e8b6c1720141cf2bfaa4ee66089887b94914feeeca4a22615d
|