Skip to main content

Pyplatform-common package provides utility, file management and authentication functions for interacting with APIs and compute services.

Project description

Pyplatform-common package provides utility, file management and authentication functions for interacting with APIs and compute services.

Installation

pip install pyplatform-common

Authentication and environment variables

Refer to main page for documentation on authentication

Exploring the modules

from pyplatform.common import *
show_me()

import pyplatform.datawarehouse as dw
show_me(dw)

Usage

calling Google catalog-api with core python package

from pyplatform.common.utils import *
import requests

url = 'https://cloudbilling.googleapis.com/v1/services'
headers = {'Authorization' : gcp_get_auth_header(scope='https://www.googleapis.com/auth/cloud-platform')
          ,'Content-Type':'Application/json'}

response  = requests.request('GET',url,headers=headers)
response.status_code

downloading deployed application code package from pivotal cloud

from pyplatform.common.pivotal_cloud import *
cf_download_package(app_name='hello_app')

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

pyplatform-common-2020.12.1.tar.gz (12.3 kB view details)

Uploaded Source

Built Distribution

pyplatform_common-2020.12.1-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file pyplatform-common-2020.12.1.tar.gz.

File metadata

  • Download URL: pyplatform-common-2020.12.1.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for pyplatform-common-2020.12.1.tar.gz
Algorithm Hash digest
SHA256 0a61c632a971883ffb1dc7e45dd51bb426cd0052653a695ff9b9f6dbfaa3d055
MD5 34f56b0892a1634e254c1b9f00a25534
BLAKE2b-256 211975c37569d865a28a9495fba6685f4f387f6b70c404d174b905fc5b4d3e7d

See more details on using hashes here.

File details

Details for the file pyplatform_common-2020.12.1-py3-none-any.whl.

File metadata

  • Download URL: pyplatform_common-2020.12.1-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for pyplatform_common-2020.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7ac31a1501ecf51bc759d246d48d52daaf9be1c3f62b4ac4013a7007cfae5558
MD5 af46f86f479174885eb05bc60fb2205d
BLAKE2b-256 991f5a816bbfe77a40e9a2199d78c9b7877def5518d42658e311fbff32a519aa

See more details on using hashes here.

Supported by

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