Metadata-Version: 2.4
Name: py-azure-devops-sdk
Version: 0.1.0
Summary: A typed Python SDK for Azure DevOps Work Item management
Author-email: "ZenProgramming.it" <zenprogramming.it@gmail.com>
License: MIT
Keywords: azure-devops,sdk,work-items,pydantic
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: pydantic
Dynamic: license-file

# py-azure-devops-sdk

A typed Python SDK for interacting with Azure DevOps Work Item management.

## Installation

```bash
pip install py-azure-devops-sdk
```

## Quick Start

```python
from py_azure_devops_sdk.sdk import AzureDevOpsSdk

sdk = AzureDevOpsSdk(tenant_id="your-tenant", project_name="your-project", pat="your-pat")
work_item = sdk.get_work_item(123)
print(work_item.title)
```

## Features
- Typed WorkItem models using Pydantic.
- Full CRUD operations for Work Items.
- Support for Custom Properties.
- Hierarchy management (Parent/Child relationships).

## Testing

To run the integration tests, you need to create a `.env` file in the root directory with the following variables:

```env
AZURE_DEVOPS_MCP_TENANT_ID=your_tenant_id
AZURE_DEVOPS_MCP_PROJECT_NAME=your_project_name
AZURE_DEVOPS_MCP_PAT=your_personal_access_token
```

Then run:

```bash
python -m pytest tests
```
