Python asyncio package for VMware NSX
Reason this release was yanked:
Draft Version
Project description
Overview
aionsxt is a Python package designed to interact with VMware NSX-T environments asynchronously. It provides tools for managing NSX-T resources and exporting configurations using modern async programming patterns.
Main Modules
nsxt_client.py
This module provides the core asynchronous client for communicating with the NSX-T API.
Key Features:
- Asynchronous HTTP requests to NSX-T Manager.
- Authentication and session management.
- Methods for retrieving and managing NSX-T resources (e.g., logical switches, routers, segments).
Example Usage:
from aionsxt.nsxt_client import NSXTClient
import asyncio
async def main():
client = NSXTClient(host="nsxt.example.com", username="username", password="password")
await client.login()
switches = await client.get_logical_switches()
print(switches)
await client.logout()
asyncio.run(main())
nsxt_export.py
This module provides utilities to export NSX-T configurations.
Key Features:
- Export NSX-T objects and configurations to JSON or other formats.
- Support for selective or full export of NSX-T resources.
- Designed to work seamlessly with
NSXTClient.
Example Usage:
from aionsxt.nsxt_client import NSXTClient
from aionsxt.nsxt_export import export_logical_switches
import asyncio
async def main():
client = NSXTClient(host="nsxt.example.com", username="username", password="password")
await client.login()
await export_logical_switches(client, output_file="switches.json")
await client.logout()
asyncio.run(main())
Installation
pip install aionsxt
Requirements
- Python 3.7+
aiohttpor similar async HTTP library
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aionsxt-0.1.0.post4.tar.gz.
File metadata
- Download URL: aionsxt-0.1.0.post4.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
535f9d3213ff42132d2a181da6b4e0edf495433497099e9010a1576a7a6ce85b
|
|
| MD5 |
ca9267186576f90aca41908e4eca8dec
|
|
| BLAKE2b-256 |
56702d578f24d3b9b611331b9218560612965594892edd29d3b898ccd14ecacf
|
File details
Details for the file aionsxt-0.1.0.post4-py3-none-any.whl.
File metadata
- Download URL: aionsxt-0.1.0.post4-py3-none-any.whl
- Upload date:
- Size: 10.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81779f962a338c04755ba5be93056472cef5b8e25dcc5483f4432e97edc7e615
|
|
| MD5 |
9d8a09d71766732d633c22d6ebf7aa4a
|
|
| BLAKE2b-256 |
b4c62b3cfe2c363021091c5e3d67a00742d27ba1330b2bd1ecaa778df8626168
|