DevOpsAPI-0.2.0a5
توضیحات
A simple object-oriented python interface to the DevOps REST API
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | DevOpsAPI-0.2.0a5 |
| نام | DevOpsAPI |
| نسخه کتابخانه | 0.2.0a5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Claudio Klingler <ck@realtime-projects.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/DevOpsAPI/ |
| مجوز | - |
# DevOpsAPI
> A simple object-oriented easy-to-use python inteface to the Azure DevOps REST API
## Features
- Create, Delete and Modify WorkItems and Test Cases
- Query WorkItems using the wsql
## Quickstart
- Create an PAT on DevOps, give permissions for the scopes you want to
access
from DevOpsAPI import Api, Wit, Step
api = Api(organisation="myorg",
projet="myproject",
user="your@email.com",
apikey="PAT")
- Create a WorkItem
wi = api.WorkItem.create(type=Wit.Task,
title="First Task",
area="my\\area")
wi.Description = "Describe your Task"
wi.Tags = "tag1,tag2"
- Create a Test Case
wi = api.TestCase.create(title="First TestCase",
area="my\\area")
wi.Description = "Describe your Test Case"
wi.Tags = "tag1,tag2"
- Add some Steps to the Test Case
step1 = Step("Given I use DevOpsAPI")
step2 = Step("Then I am happy")
wi.Steps = [step1, step2]
نیازمندی
| مقدار | نام |
|---|---|
| - | lxml |
| - | requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl DevOpsAPI-0.2.0a5:
pip install DevOpsAPI-0.2.0a5.whl
نصب پکیج tar.gz DevOpsAPI-0.2.0a5:
pip install DevOpsAPI-0.2.0a5.tar.gz