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')
Metadata
Release files for pyplatform-common 2020.12.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pyplatform-common-2020.12.1.tar.gz | 12.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyplatform_common-2020.12.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.0 kB
Release files / pyplatform-common-2020.12.1.tar.gz
| Download URL | pyplatform-common-2020.12.1.tar.gz |
|---|---|
| Size | 12.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a61c632a971883ffb1dc7e45dd51bb426cd0052653a695ff9b9f6dbfaa3d055
|
|
BLAKE2b-256 checksum How to use checksums |
211975c37569d865a28a9495fba6685f4f387f6b70c404d174b905fc5b4d3e7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pyplatform_common-2020.12.1-py3-none-any.whl
| Download URL | pyplatform_common-2020.12.1-py3-none-any.whl |
|---|---|
| Size | 13.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7ac31a1501ecf51bc759d246d48d52daaf9be1c3f62b4ac4013a7007cfae5558
|
|
BLAKE2b-256 checksum How to use checksums |
991f5a816bbfe77a40e9a2199d78c9b7877def5518d42658e311fbff32a519aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for pyplatform-common 2020.12.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.