semvec/pypi-packages huggingface dataset:
devicepilot 1.0.1
DevicePilot SDK for IoT Analytics

# DevicePilot SDK for Python

[![image](https://img.shields.io/pypi/v/devicepilot.svg)](https://pypi.org/project/requdevicepilotests/)
[![image](https://img.shields.io/pypi/l/devicepilot.svg)](https://pypi.org/project/devicepilot/)
[![image](https://img.shields.io/pypi/pyversions/devicepilot.svg)](https://pypi.org/project/devicepilot/)

www.devicepilot.com

DevicePilot is a universal cloud-based software service allowing you to easily locate, monitor and manage your connected devices at scale, with proactive management of the entire device lifecycle.

This library helps you quickly get started posting your device telemetry so you can begin exploring your IoT data in DevicePilot.

### Getting Started

* Sign up for a DevicePilot account if you haven't already!

> [You can book at demo at devicepilot.com](https://www.devicepilot.com/contact)

* Get your API key

> [Find your API Key in Settings > My User](https://app.devicepilot.com/#/settings/my-user)

* Add the DevicePilot library to your python project:

```
pip install devicepilot
```

* Start posting your device telemetry:

```python
    import devicepilot

    # api key should be explicitly provided, or stored in the environmental variable DP_API_KEY
    apikey = "your-devicepilot-api-key"

    record = {
        "$id": "unique-device-id", # this is used to identify your device
        # any valid json body will be converted into key:value telemetry:
        "ledColour": 'blue',
        "switchedOn": True,
        "temperature": 20,
    }
    # an array of record objects can also be provided

    devicepilot.post(record, apikey)
```

### Documentation

For more information about using DevicePilot, check out: https://help.devicepilot.com/
simpler-devops-api 0.2.20190514.2
A Simpler Python Module for interacting with Azure Devops

# 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.