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.

Filename, size & hash SHA256 hash help File type Python version Upload date
simpler_devops_api-0.2.20190514.2-py3-none-any.whl (9.2 kB) Copy SHA256 hash SHA256 Wheel py3
simpler_devops_api-0.2.20190514.2.tar.gz (6.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page