Skip to main content

Python utility for data storage in Google Cloud Environments.

Project description

gc_data_storage lets you easily move data between your development environment (e.g. Jupyter Notebook) and your Google Cloud Workspace bucket. It integrates the command line tool gsutil.

  • Save data from your development environment to the bucket.

  • Read data from the bucket into your development environment, with the option to keep a copy in the persistent disk.

  • Copy data between different directories within the bucket or between two different buckets owned by the user.

  • Obtain a list of data saved in the bucket or the persistent disk.

gc_data_storage was originally written to be used within the All of Us Researcher Workbench environment but can be used in other Google Cloud Environments.

#install the package if not already done
##pip install gc-data-storage 

#import and initialize
## When initializing,  use the default AllofUS Researcher workbench bucket or input your own
from gc_data_storage import gc_data_storage as gs
gs = gs()

#list data in the bucket root directory 
gs.list_saved_data()

More information, including examples, at https://github.com/AymoneKouame/google-cloud-data-storage.

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

gc_data_storage-0.2.0.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file gc_data_storage-0.2.0.tar.gz.

File metadata

  • Download URL: gc_data_storage-0.2.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.12

File hashes

Hashes for gc_data_storage-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fa470fbbc525b5c28f89f379e59c1a4f7d084931bd975cf80c40ddddfe0c69b9
MD5 37bfea100e89a8645d4a4f6194a53e6c
BLAKE2b-256 ef1dd63866abc29a70d54b8b90db9ef997f8622d2267d73b104085b53ee843ab

See more details on using hashes here.

Supported by

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