
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Makes working with GCP Storage bucket a breeze
Documentation | Source Code | Issue Tracker
The goal of this package is to make it easy to work with GCP Storage Bucket. We felt that using googles package(google-cloud-storage) was a horrible experience and we believe that this package abstracts away the object oriented approach taken by google and introduces a more functional approach.
Get the package
pip install storage-bucket
Or better with poetry
poetry add storage-bucket
Download your keyfile and save it as key.json and point to it with env var:
gcloud iam service-accounts keys create key.json --iam-account your_service_account@your_project.iam.gserviceaccount.com
export GOOGLE_APPLICATION_CREDENTIALS='key.json'
from storage_bucket import download_file
file_data = download_file('bucket', 'filename')
print(file_data)
from storage_bucket import upload_file
upload_file(b'data', 'bucket_name', 'filename')
Download
, Upload
, List
, Delete
Create
, Delete
, List
Like the library and want to help us, check: contributing
FAQs
Easy to work with Google Cloud Platform Storage Bucket wrapper
We found that storage-bucket demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.