A simple object-oriented python interface to the DevOps REST API
Project description
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]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file devopsapi-0.2.0a9.tar.gz
.
File metadata
- Download URL: devopsapi-0.2.0a9.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8169141951ccb02c3a3b80caf3c4645d34e3aa5d2850a76650f81a3d0d1c477 |
|
MD5 | 8cb8f4e63947f9ddfd1a6227f96b7844 |
|
BLAKE2b-256 | c2e4dda3b4a7078b70c5b4bfb0828e194495d18d539b8725d94e08e848a66e9f |
Provenance
The following attestation bundles were made for devopsapi-0.2.0a9.tar.gz
:
Publisher:
release.yml
on acre-bdd/DevOpsAPI
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
devopsapi-0.2.0a9.tar.gz
- Subject digest:
d8169141951ccb02c3a3b80caf3c4645d34e3aa5d2850a76650f81a3d0d1c477
- Sigstore transparency entry: 147353901
- Sigstore integration time:
- Predicate type:
File details
Details for the file DevOpsAPI-0.2.0a9-py2.py3-none-any.whl
.
File metadata
- Download URL: DevOpsAPI-0.2.0a9-py2.py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51eee2693968e5a324aff53b55aaca7aadf5f0a23e16116d0783dcfee4ddeba4 |
|
MD5 | 14975c16835a6542a1164091cd8b992e |
|
BLAKE2b-256 | e47c2ee86f2f88c9255f7e3da5ce517f58db4037a4ccb3b2259e738f8495d607 |
Provenance
The following attestation bundles were made for DevOpsAPI-0.2.0a9-py2.py3-none-any.whl
:
Publisher:
release.yml
on acre-bdd/DevOpsAPI
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
devopsapi-0.2.0a9-py2.py3-none-any.whl
- Subject digest:
51eee2693968e5a324aff53b55aaca7aadf5f0a23e16116d0783dcfee4ddeba4
- Sigstore transparency entry: 147353902
- Sigstore integration time:
- Predicate type: