Skip to main content

ctapi python sdk

Project description

pyctyun

ctyun.cn openapi implement in python

[x] support vpc api.

example

>>> from pyctyun.apis.network.eip import EipApi
>>> from pyctyun.param import eip
>>> a = EipApi(ak='input your sk', sk='input your sk', endpoint='https://ctvpc-global.ctapi.ctyun.cn')
>>> param = eip.ListEipParam(regionID='200000001781', clientToken='sss')
>>> a.list_eip(param)
ListEipResponse(status_code=800, message='success', description='成功', error_code='SUCCESS', return_obj=ListEip(eips=[Eip(id='eip-5ink7wj2ab', name='eip-da41', eip_address='203.2.67.71', association_id='', association_type=None, private_ip_address=None, bandwidth=1, bandwidth_id='', bandwidth_type='standalone', status='DOWN', tags='', created_at='2025-03-14T09:12:44Z', updated_at='2025-03-14T09:12:48Z', expired_at=None)]), total_count=1, current_count=1, total_page=1)

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

pyctyun-0.1.3.tar.gz (27.3 kB view details)

Uploaded Source

Built Distribution

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

pyctyun-0.1.3-py3-none-any.whl (39.0 kB view details)

Uploaded Python 3

File details

Details for the file pyctyun-0.1.3.tar.gz.

File metadata

  • Download URL: pyctyun-0.1.3.tar.gz
  • Upload date:
  • Size: 27.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.6

File hashes

Hashes for pyctyun-0.1.3.tar.gz
Algorithm Hash digest
SHA256 155dd0ef26b65299614d33a9ab175284d15048b277df62e82fd8dce6ffca1c47
MD5 6c4edf9eacfb631131355f2887547577
BLAKE2b-256 b49b22c8ba21c762d80346a27e397a3c1c4599546941c6e76aaac9c9797cc9d2

See more details on using hashes here.

File details

Details for the file pyctyun-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pyctyun-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 39.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.6

File hashes

Hashes for pyctyun-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8558c03e411a66fe04871ed249e11ad95e7861768a2bec45a5fb6ef215ccba39
MD5 365b05e19dc70fc812875cc15fb82296
BLAKE2b-256 19b2e842868c073aba1f5d9566f253194807aa7ba30d07a6734129f42664bcca

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