Python models auto-generated from Taskin TypeScript schemas
Project description
taskin-types
Python models automatically generated from Taskin TypeScript schemas.
Installation
pip install taskin-types
Usage
from taskin_types import Task, User
# Use the Pydantic models
task = Task(
id="task-001",
title="Example Task",
status="todo"
)
Motivation
To enable Python packages to use the same data structures as the TypeScript packages, ensuring consistency across the Taskin ecosystem.
Purpose
This package consumes the JSON schemas from @taskin/types-ts and uses datamodel-codegen to generate Pydantic models. This avoids manual duplication and reduces the risk of inconsistencies.
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 taskin_types-1.0.5.tar.gz.
File metadata
- Download URL: taskin_types-1.0.5.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b53b4887eb795eec2f3df347de23565053f38e36a1580e304fbded2ac5d16a9
|
|
| MD5 |
144a03902cafb48cfc1fccb39b96ec12
|
|
| BLAKE2b-256 |
28e2a3d7778c20c65978753be480789e1cfdbe4ef31816a89742c0f913d73127
|
File details
Details for the file taskin_types-1.0.5-py3-none-any.whl.
File metadata
- Download URL: taskin_types-1.0.5-py3-none-any.whl
- Upload date:
- Size: 2.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7df31a5048fd686f75eaab80d24815011a755d0961cb389563205643d547726a
|
|
| MD5 |
39fdf4874e41762c7994eaca745e0ee6
|
|
| BLAKE2b-256 |
5332ff682bb7059c3daf7644f395e726db025fabacd7b86ff0597a89cc1cd1f0
|