Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Python2 and Python3 SDK for the CloudGenix AppFabric

Project description

CloudGenix Python SDK v4.7.1b1

Python2 and Python3 SDK for the CloudGenix AppFabric

Synopsis

Intended to be a small, lightweight SDK wrapper around the CloudGenix API for easy use. Initial version requires knowledge of JSON/Dict objects for POST/PUT/PATCH operations.

Requirements

Code Example

Comes with example.py that shows usage to get a JSON list of sites.

Super-simplified example code (rewrite of example.py in ~5 lines of code):

import json

# Import CloudGenix SDK
import cloudgenix

# Create CloudGenix API constructor
cgx_sess = cloudgenix.API()

# Call CloudGenix API login using the Interactive helpers (Handle SAML2.0 login and MSP functions too).
cgx_sess.interactive.login()

# Print a dump of the list of sites for your selected account
print(json.dumps(cgx_sess.get.sites().cgx_content, indent=4))

# Cleanup and logout
cgx_sess.interactive.logout()

License

MIT

Version

Version Build Changes
4.7.1 b1 Support for May 2018 Controller release.
4.6.1 b1 Support for Mar 2018 Controller release.
4.5.7 b1 Support for Feb 2018 Controller release, Bugfix for issue #4
4.5.5 b4 Bugfix for certain POST APIs, other minor fixes.
b3 CA Pinning update, *_single function deprecation, add missed 'security' extras requirement.
b2 Various fixes and cleanup for public release.
b1 Update for 15/12/2017 API additions.
4.5.3 b2 Initial Internal Release.

For more info

Project details


Release history Release notifications

This version
History Node

4.7.1b1

History Node

4.6.1b1

History Node

4.5.7b1

History Node

4.5.5b4

History Node

4.5.5b3

History Node

4.5.5b2

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
cloudgenix-4.7.1b1.tar.gz (43.8 kB) Copy SHA256 hash SHA256 Source None May 19, 2018

Supported by

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