Skip to main content

Server Density Python Wrapper

https://img.shields.io/pypi/v/sd-python-wrapper.svg https://img.shields.io/travis/serverdensity/sd-python-wrapper.svg

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.

Metadata

Release files for sd-python-wrapper 0.1.36

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sd-python-wrapper 0.1.36
File Size Uploaded Provenance Actions
sd-python-wrapper-0.1.36.tar.gz 19.9 kB Without provenance Details for sd-python-wrapper-0.1.36.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sd-python-wrapper 0.1.36
File Interpreter ABI Platform Actions
sd_python_wrapper-0.1.36-py2.py3-none-any.whl Python 3, Python 2 none any Details for sd_python_wrapper-0.1.36-py2.py3-none-any.whl

Total release size: 51.1 kB

Release files / sd-python-wrapper-0.1.36.tar.gz

Download URL sd-python-wrapper-0.1.36.tar.gz
Size 19.9 kB
Tags Source
SHA-256 checksum
How to use checksums
b18214b5dcfc1dba68341683b9df53567dc6d29fa889504e4dc1eb2dd9690a8a
BLAKE2b-256 checksum
How to use checksums
d4b040097af528e397be7727cb3b40d15ce16fb5efe01643db2980f37d1d3531
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sd_python_wrapper-0.1.36-py2.py3-none-any.whl

Download URL sd_python_wrapper-0.1.36-py2.py3-none-any.whl
Size 31.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
21d556f78c9e93b0457b27a63fd61e01b02054dd576fdf2f37f7d84969cf0d8b
BLAKE2b-256 checksum
How to use checksums
6b5e5acb7e4d5c1620673d1b982248aa293acb494f23f5ef564964ff7c48dd9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for sd-python-wrapper 0.1.36

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.36 This release

2 release files No provenance

0.1.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page