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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pyplatform-common-2020.11.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9162a973693562ab5086bef87ebaf715dd10b35f720b70da6a8c9758e2b79993 |
|
MD5 | c94eb369da34f514fbaaac61be415fa3 |
|
BLAKE2b-256 | 7b545d1cfc21b5826c7b31e318a039be1341e7c4af93de1c803d17c7b1b4b142 |
Close
Hashes for pyplatform_common-2020.11.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c8e70536469a366c5eeff504aba9ff1194bc4c030e66285e111ce82f7e9eb41 |
|
MD5 | dfa779328336914add0e97aa25dd13f8 |
|
BLAKE2b-256 | fa31334e7b7123619af36e305c911e5d072dbbe3fee58c777440f3556d65f579 |