Skip to main content

Platform9 Qbert client

This implementation of the Qbert client is an amalgam of various implementations in Platform9's internal tooling. At the moment the goal is to get something out as quickly as possible.

How to install

pip install qbertclient

Usage

from qbertclient import qbert

qb = qbert.Qbert(token, 'https://<fqdn>/qbert/v3/<project_id>)

The client also exposes a simple Keystone client which allows users to get a Keystone token:

from qbertclient import qbert
from qbertclient import keystone

du_fqdn = "endpoint.platform9.net"
username = "username@platform9.net"
password = "hunter2"
project_name = "service"

ks = keystone.Keystone(du_fqdn, username, password, project_name)
token = ks.get_token()
project_id = ks.get_project_id(project_name)

qb = qbert.Qbert(token, "https://{}/qbert/v3/{}".format(du_fqdn, project_id))
print(qb.list_clusters())

Metadata

Release files for qbertclient 0.0.14

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

Source distribution (sdist)

Source distribution for qbertclient 0.0.14
File Size Uploaded Provenance Actions
qbertclient-0.0.14.tar.gz 5.6 kB Without provenance Details for qbertclient-0.0.14.tar.gz

Release files / qbertclient-0.0.14.tar.gz

Download URL qbertclient-0.0.14.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e41f8a5bf754623399370d17021d7cec093ff13fa75a9f4c6cc25ac18df3cdfc
BLAKE2b-256 checksum
How to use checksums
c1c8da83e9a1286a74d7e039bcabb3f3e889d4df47b9d1876ee44fb2af9ad271
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.6.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.5

Security for qbertclient 0.0.14

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.

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