Metadata-Version: 2.4
Name: taskin-types
Version: 1.0.5
Summary: Python models auto-generated from Taskin TypeScript schemas
Project-URL: Homepage, https://github.com/sidartaveloso/taskin
Project-URL: Repository, https://github.com/sidartaveloso/taskin
Project-URL: Documentation, https://github.com/sidartaveloso/taskin/tree/main/packages/types-py
Author-email: Taskin Team <taskin@opentask.com>
License: MIT
Keywords: pydantic,schemas,taskin,types
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Typing :: Typed
Requires-Python: >=3.10
Requires-Dist: pydantic>=2.0.0
Provides-Extra: dev
Requires-Dist: datamodel-code-generator; extra == 'dev'
Description-Content-Type: text/markdown

# taskin-types

Python models automatically generated from Taskin TypeScript schemas.

## Installation

```bash
pip install taskin-types
```

## Usage

```python
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.
