Skip to main content

Python SDK for the VMOS Cloud OpenAPI

Project description

mtm-vmossdk

Python SDK for the VMOS Cloud OpenAPI.

Install

pip install mtm-vmossdk

Example

from mtm_vmos_sdk import VMOSClient

client = VMOSClient(
    access_key="your-access-key",
    secret_key="your-secret-key",
    api_base="https://api.vmoscloud.com",
    api_host="api.vmoscloud.com",
)

print(client.infos(page=1, rows=20))

Auth Config

Use VMOSClient for the high-level SDK wrapper, or VMOSAuthConfig plus SignedVMOSApiClient when you need direct low-level API access.

Generated Client

Regenerate the embedded OpenAPI package with:

bash scripts/generate_client.sh

Relationship to mtmai

mtmai is one consumer of this package, but this SDK is designed to be used as an independent Python library.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mtm_vmossdk-0.1.0.tar.gz (185.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mtm_vmossdk-0.1.0-py3-none-any.whl (836.1 kB view details)

Uploaded Python 3

File details

Details for the file mtm_vmossdk-0.1.0.tar.gz.

File metadata

  • Download URL: mtm_vmossdk-0.1.0.tar.gz
  • Upload date:
  • Size: 185.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for mtm_vmossdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3f570a65b335748e8591d3464dcc84ec60ca17d350be91db142ce5a79d24df65
MD5 0900d279f0e4ad9a12d05acc5dc26d2c
BLAKE2b-256 83b7b8a147b8be02af1f6378a63825bebe6efed5022364a7887fe3ead0dbab28

See more details on using hashes here.

File details

Details for the file mtm_vmossdk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mtm_vmossdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 836.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for mtm_vmossdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b7a7357e2b2878127f51aaf4c95c9ecaf7299929a4ccd702926bd51b1d69305
MD5 9109c684825821219e0d81db8808424a
BLAKE2b-256 999135e7682be1082b9145aa9e5f317158a54218db5eb2e90e4052fcf6c24a4f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page