A CLI tool to generate Zod schemas from SQLModel models
Project description
SQLModel Zod Generator
A cli generator script to convert SQLModels into Zod schemas.
Installation
pip install sqlmodel-zod
Usage
Run the command with the relative path to the directory where your models are stored. The output will be a single file named zod_schemas.js with all model definitions.
sqlmodel-zod /path/to/model/directory
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
sqlmodel_zod-0.1.2.tar.gz
(6.5 kB
view details)
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 sqlmodel_zod-0.1.2.tar.gz.
File metadata
- Download URL: sqlmodel_zod-0.1.2.tar.gz
- Upload date:
- Size: 6.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4eb0786f690c90cfc0ebb7124f96993a4f14f906017d6f523f22bd82bb759254
|
|
| MD5 |
4be84e4706d0edf5853eb7bd632fb16b
|
|
| BLAKE2b-256 |
b628d78ff4d85a14ef736cb3984254354db75900a0dd88ba61d1b9022618846f
|
File details
Details for the file sqlmodel_zod-0.1.2-py3-none-any.whl.
File metadata
- Download URL: sqlmodel_zod-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d81d706c61212c9ce66012e888dee3b3d08245488eb4d16bb3c321cd5744820d
|
|
| MD5 |
ee01fece31103d4e1a3b70166739ff56
|
|
| BLAKE2b-256 |
f33625325d60e0825fed1ed2674620586dc189b43bfba056b4b3485443d25e08
|