Skip to main content

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]
    

Release files for DevOpsAPI 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for DevOpsAPI 0.1.1
File Size Uploaded
DevOpsAPI-0.1.1.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for DevOpsAPI 0.1.1
File Interpreter ABI Platform
DevOpsAPI-0.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 13.8 kB

Release files / DevOpsAPI-0.1.1.tar.gz

Download URL DevOpsAPI-0.1.1.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e3f921edc61db93fdc62ef6469676a5789a1d3e9548831e63c6a4a0a7fc030c3
BLAKE2b-256 checksum
How to use checksums
6d5ff167337a85692c5a99cc8712d11864c064eee5f27829f2a1ee110cec6993
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Release files / DevOpsAPI-0.1.1-py2.py3-none-any.whl

Download URL DevOpsAPI-0.1.1-py2.py3-none-any.whl
Size 7.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d56fe3e62af019c1a45ba708ea23d98086bfb5454c94bec20c97fefe72da76e2
BLAKE2b-256 checksum
How to use checksums
235bd05f390fe09fa6cf75ed59eb7fc84cb507689d58e21e0e09da7210f2cd90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page