Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

taskin_types-1.0.5.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

taskin_types-1.0.5-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

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

Hashes for taskin_types-1.0.5.tar.gz
Algorithm Hash digest
SHA256 6b53b4887eb795eec2f3df347de23565053f38e36a1580e304fbded2ac5d16a9
MD5 144a03902cafb48cfc1fccb39b96ec12
BLAKE2b-256 28e2a3d7778c20c65978753be480789e1cfdbe4ef31816a89742c0f913d73127

See more details on using hashes here.

File details

Details for the file taskin_types-1.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for taskin_types-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7df31a5048fd686f75eaab80d24815011a755d0961cb389563205643d547726a
MD5 39fdf4874e41762c7994eaca745e0ee6
BLAKE2b-256 5332ff682bb7059c3daf7644f395e726db025fabacd7b86ff0597a89cc1cd1f0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page