Skip to main content

pyskytapapi facilitates the usage of skytap apis inside a python module or in command line

Project description

pyskytapapi

pyskytapapi contains some functions to facilitate the usage of skytap apis inside python modules or in command line.

The source for this project is available here.


Example of importing skytapapi inside a python module :

import os
from pyskytapapi import skytapApi

iurl = "https://cloud.skytap.com"
ijson = "configurations.json"
imethod="POST"
iapi = "/configurations.json"
iuser= os.environ.get("SKYTAP_USER")
itoken = os.environ.get("SKYTAP_TOKEN")
message= skytapApi.runskytapApi(api=iapi, method=imethod, url=iurl, user=iuser, token=itoken, json=ijson )
print(message)

Release notes

1.0.0 Initial version

1.0.2 Managing http error codes

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

pyskytapapi-1.0.2.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

pyskytapapi-1.0.2-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file pyskytapapi-1.0.2.tar.gz.

File metadata

  • Download URL: pyskytapapi-1.0.2.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for pyskytapapi-1.0.2.tar.gz
Algorithm Hash digest
SHA256 0f829dbc295e9c4f57892290bd2a11d8faa072b7aa5cb2525a90cd5ae4ba363a
MD5 92bca69f980ad8fcf51d8bdaad2ea59b
BLAKE2b-256 465b5b6f24ee58aa7321e2ce8a72e57c792d5f7a2abd347c725a1623ec890707

See more details on using hashes here.

File details

Details for the file pyskytapapi-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: pyskytapapi-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for pyskytapapi-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c228ef610ffce71ca4f9a8e86ce9dd55756d86d8c86c8a919518619ac947ede6
MD5 70f59b2889fdbe6f2f8dfbfc505d55f2
BLAKE2b-256 8f10688f0ff424ad433a3926ce32199b5967adfdf7b51d2e399e570d6c7d22c5

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