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

Uploaded Source

File details

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

File metadata

  • Download URL: gc_data_storage-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 cdb96bb268dedd276b914a18d8373afec1f8dd0b700781cee8c241275b2c2fbd
MD5 53043f228447a783c6c44de9655da055
BLAKE2b-256 35538e71b88d1fa42bc4fd876ec89fe5c988ffcc08167e960118ddb95a710d59

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