Skip to main content

Extreme Cloud IQ - Python3 AsyncIO Client

This repository contains a Python3 asyncio based client library for interacting with the Extreme Cloud IQ system (XIQ).

Note that Extreme does provide their own Python SDK client, which can be found in the reference section below.

Installation

pip install aio-xiq

This XIQ asyncio python client is a subclass from httpx.AsyncClient.

QuickStart

Before using the API you must either have an existing token or login with your user-name + password credentials. You can either pass these values into the client constructor, or use these environment variables:

  • XIQ_USER - the login user-name
  • XIQ_PASSWORD = the login password

-- or -- * XIQ_TOKEN - an existing API token

Username + Password

If you are using your login credentials you must execute the login() method to obtain an access token.

from aioxiq import XiqClient

async with XiqClient(xiq_user='bob@corp.com', xiq_password='notarealpassword') as api:
    await api.login()
    devices = await api.fetch_devices()

API Token

You can create an API token via the XIQ portal by nagivating to the Global Settings page (found under your User profile near the top-right), and then selecting the "API Token Management" option on the left sidebar.

When using the API Token approach, you can use the client diretly without having to perform the login function.

from aioxiq import XiqClient

# presume that XIQ_TOKEN environment variable is set with an existing token.
# you can immediately use the API without login.

async with XiqClient() as api:
    devices = api.fetch_devices()

References

Metadata

Release files for aio-xiq 0.4.0

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

Source distribution (sdist)

Source distribution for aio-xiq 0.4.0
File Size Uploaded Provenance
aio-xiq-0.4.0.tar.gz 8.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for aio-xiq 0.4.0
File Interpreter ABI Platform
aio_xiq-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.8 kB

Release files / aio-xiq-0.4.0.tar.gz

Download URL aio-xiq-0.4.0.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7b8a6efb044cde019202daa55d52cdc9124d898075920607d875076e4cb97470
BLAKE2b-256 checksum
How to use checksums
cda4eb24c838d5f706d53dda73f995726d4cf7bc6e8b78f260e22aa82d87db5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.8.10 Darwin/21.1.0

Release files / aio_xiq-0.4.0-py3-none-any.whl

Download URL aio_xiq-0.4.0-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
775b5fd7d3eae5e6c4a5ee2a0a0337e1c187c91a3f00181a7fa07e6b4b7aa1d3
BLAKE2b-256 checksum
How to use checksums
cd4b3c0fa82633e46991c5a7d3e72dcecfce5f7824e963268dddb723167d4e21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.8.10 Darwin/21.1.0

Security for aio-xiq 0.4.0

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.4.0 This release

2 release files No provenance

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