Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A python wrapper for the Server Density Api

Project Description

A python wrapper for the Server Density Api It runs on both python 2.7 and up to python 3.5

Up and running

There are two ways of using the api wrapper. Either calling the endpoints from an instance of ApiClient or from an instance of the class of an endpoint such as Device.

from serverdensity.wrapper import ApiClient
from serverdensity.wrapper import Device

token = '2dfae5bf81f65492a40569d39b29ffa3'

client = ApiClient(token)
device = client.devices.create(data={'name': 'testdevice'})


# instead of keyword arguments, it can also take a dictionary.
device2 = Device(token, name='name2')
device2.create()

# This will create an AttributeError, since name is required to create a
# device at some point.
device3 = Device(token, group='testgroup')

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

Release History

Release History

This version
History Node

0.1.36

History Node

0.1.35

History Node

0.1.33

History Node

0.1.32

History Node

0.1.31

History Node

0.1.30

History Node

0.1.29

History Node

0.1.28

History Node

0.1.27

History Node

0.1.26

History Node

0.1.25

History Node

0.1.24

History Node

0.1.23

History Node

0.1.22

History Node

0.1.21

History Node

0.1.20

History Node

0.1.19

History Node

0.1.18

History Node

0.1.17

History Node

0.1.16

History Node

0.1.15

History Node

0.1.14

History Node

0.1.13

History Node

0.1.12

History Node

0.1.10

History Node

0.1.9

History Node

0.1.8

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
sd_python_wrapper-0.1.36-py2.py3-none-any.whl (31.2 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Oct 4, 2016
sd-python-wrapper-0.1.36.tar.gz (19.9 kB) Copy SHA256 Checksum SHA256 Source Oct 4, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting