Skip to content

jakyns/cloud-services-portal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloud Services Portal

Repository that try to gather several frequently used services from each cloud providers and make it simpler.

Dependencies

Installation

Initiate virtual environment and generate Pipfile and Pipfile.lock by running:

pipenv lock

Install dependencies and get into virtual environment.

pipenv install && pipenv shell

Usage

It might need to have credential files from each cloud provider to be set in environment variable.

eg.

export GOOGLE_APPLICATION_CREDENTIALS=

Storage

available for

  • GCP Storage
>>> from services.storage import StorageService
>>> service = StorageService("GCP")

Set and get bucket

>>> service.set_bucket("bucket")
>>> service.get_bucket()
'bucket'

Upload

>>> service.request_upload("remote_path/file.txt", "local_path/file.txt")

Delete

>>> service.request_delete("remote_path/file.txt")

Vision

available for

  • GCP Vision API

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages