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.2.tar.gz (4.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: gc_data_storage-0.2.2.tar.gz
  • Upload date:
  • Size: 4.0 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.2.tar.gz
Algorithm Hash digest
SHA256 c58eaa69f05862f1cf88570110c8a4227c38cc0e347e561bba8327eb0c51dd71
MD5 bb0a8e80b1f07d8adba191d717d3d4fa
BLAKE2b-256 80b5ce9e0697dc9a4bf65d4fdc7e9a2ff2828246da2435afebd13be6a8433be7

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