Skip to content

N5 library implementation using Google Cloud Storage backend.

License

Notifications You must be signed in to change notification settings

saalfeldlab/n5-google-cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

N5 Google Cloud

N5 library implementation using Google Cloud Storage backend.

N5 containers can be represented by either a Google Cloud Storage bucket, or a path (directory) within a bucket.

Implementation specifics

  • In Google Cloud Storage, buckets are created within user projects. If you want to create a bucket using the API, you would need to select one of your projects when creating Storage. Although N5GoogleCloudStorageWriter supports bucket creation, it's recommended that the bucket already exists before creating an instance of N5GoogleCloudStorageWriter.

For reading a bucket or writing into an existing bucket, project id is not required as all buckets have unique names.

Authentication

Access to non-public buckets requires a few steps to set up the security credentials.

  1. Create a project in the Google Cloud console.
  2. Install Google Cloud SDK.
  3. Run gcloud auth application-default login to login using OAuth 2.0 and store the credentials. Then, the credentials will be picked up by the code automatically.

About

N5 library implementation using Google Cloud Storage backend.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages