Skip to main content

A Simpler Python Module for interacting with Azure Devops

Project description

Introduction

A Simpler Way of Interacting with Azure Devops through Python

Getting Started

This is a work in progress so functions are implemented as they are needed.

Initially support is providede for getting information on projects, repositories, branches and for getting and setting branch policies.

Authentication information is provided via two methods -

##1 - via environment variables

DEVOPS_PAT : PAT for azure devops organisation that has the appropriate permissions for the org you are looking to talk to DEVOPS_URL : The organisation URL for the organisation that you are looking to talk to.

##2 - via configuration file.

If the environment variables are not set then the package will look for .devops.ini in your home directory, or devops.ini in the default user data directory (see appdirs for where this is likely to be on your OS)

Config file format

Example config file

[DEFAULT]
DEVOPS_PAT = your_long_pat_token
DEVOPS_URL = https://dev.azure.com/organisation

Full method documentation available here: https://simplerdevopsapi.z6.web.core.windows.net

Pull Requests welcome.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simpler_devops_api-0.2.20190513.9.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page