Skip to main content

Arvan is python api to work with arvancloud

Project description

arvan

Arvan is python api to work with arvancloud (ابر آروان)

This api is based arvancloud doc which provided on:

https://napi.arvancloud.com/docs/iaas/1.0#/

#sample.py
from arvan.client import Client

arv = Client("Apikey 22222222-5555-bbbb-aaaa-6f3a99e60e76")
print(arv.get_region())
print(arv.all_images)
print(arv.get_all_regions())
print(arv.get_region_servers())
print(arv.get_region_images('nl-ams-su1'))
print(arv.get_region_networks())
print(arv.get_region_sizes())
print(arv.get_region_networks("nl-ams-su1"))
print(arv.get_region_security_group("ir-thr-mn1"))
print(arv.get_region_ssh_keys())
print(arv.create(name="mytest", ssh_key_name="no", count=1))
print(arv.get_region_servers())
print(arv.delete(vm_id="6e71f738-cc77-46aa-b604-eb966e66da72"))
print(arv.delete_all("ir-thr-at1", "mytest"))
print(arv.delete_list(vm_list=["094f0ee9-bf99-4214-acc6-46072d568752"]))
print(arv.delete(vm_id="6e008780-3a89-4730-ab5f-a7a94e929db1"))

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

arvan-0.0.7.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

arvan-0.0.7-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file arvan-0.0.7.tar.gz.

File metadata

  • Download URL: arvan-0.0.7.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for arvan-0.0.7.tar.gz
Algorithm Hash digest
SHA256 e6906b54a4289ff4b186b5f5419b677bcf93ee3bee87fba9f1ed706588b0aa0d
MD5 8eb95bd691b25d408c6baea811a2c3fe
BLAKE2b-256 5c93e67081b0a79d067ccfbce6899c2a5d2ba73a6f29cd54a2825d5df18aa985

See more details on using hashes here.

File details

Details for the file arvan-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: arvan-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for arvan-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 18218dbec1cf06c4ed8f85038aa4a1938221fa182a3776adc09149cd0f2a5a0d
MD5 f08dc643ad75dfc298def12db075aaf9
BLAKE2b-256 b72b48e8a284c22b81d034020021851a5b19e65d8c2a581e706d4193a50d3bfc

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