Package for any cloud apis
Project description
Welcome to Cloud Utility
A python based cloud utility for multiple cloud providers under one CLI/API
Supported Cloud Platform
- Google Cloud Platform
- Google Cloud Storage API
Installation
pip install cloud_utility
Prerequisite
-
Please make sure you have setup environment variable "GOOGLE_APPLICATION_CREDENTIALS" with the google service account json key inside your code
import os os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "/path/to/key.json"
from oauth2client.client import GoogleCredentials # Grab the application's default credentials from the environment. credentials = GoogleCredentials.get_application_default()
or, explicitly set-up the environment variable:
bash export GOOGLE_APPLICATION_CREDENTIALS=key.json
How to use?
from google_storage_utility import Google_Storage_Utility as gsu
a = gsu("<google-project-id>")
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
cloud_utility-0.0.2.tar.gz
(3.2 kB
view details)
Built Distribution
File details
Details for the file cloud_utility-0.0.2.tar.gz
.
File metadata
- Download URL: cloud_utility-0.0.2.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bceff24da1222f7824053142ea94d49ddb9e8e1828f4e5d5de41ee071d8ea0e8 |
|
MD5 | a8150b3f323aa0b689d87f44c6b79d75 |
|
BLAKE2b-256 | b278ddb1b67cf7deffbd961b7e13773627da104ca66d4a58d51c07ed83ac2e6c |
File details
Details for the file cloud_utility-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: cloud_utility-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50f0b4088dd93d4f323838aaa871f4d60eb29fa7126a29aee3a28226eb16b7af |
|
MD5 | 4916fcd5ea4e4b067dd851b540de0734 |
|
BLAKE2b-256 | d4b2bfe0e53a85b3eac91fe89c3b47574f2a47cc1fc85119e75a7e1f570fab05 |