storage-file-transfer-json-python | downloads files between Google Cloud Storage | Cloud Storage library
kandi X-RAY | storage-file-transfer-json-python Summary
kandi X-RAY | storage-file-transfer-json-python Summary
uploads and downloads files between google cloud storage and the local filesystem using the google python client library. uploads and downloads files between google cloud storage and the local filesystem using the google apis python client library. api: storage keywords: cmdline, media, oauth2. chunked_transfer.py setup: 1. download chunked_transfer.py and client_secrets.json to the same directory. 2. as of august 2012, the google apis interface to google cloud storage (a.k.a. the gcs json api) is in limited preview, so users must request access from the api console services tab: 3. visit the api console access tab to create a client id and secret for an installed application:
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Upload a file .
- Download a media object .
- Returns a Google Cloud Storage service .
- Handle progress errors .
- Prints a string to stdout .
storage-file-transfer-json-python Key Features
storage-file-transfer-json-python Examples and Code Snippets
Community Discussions
Trending Discussions on storage-file-transfer-json-python
QUESTION
I'm migrating a Python service out of Google App Engine over to GCE/GKE and could use some help identifying the current production-grade, SLA'd method for managing objects in Google Cloud Storage.
The one referenced by most of Google's storage docs is the google.cloud.storage
library. This looks nice and simple. However, as of now -- Jan 2017 -- there's a big header at the top that identifies the library as Beta, and has no SLA or deprecation policy. I'd prefer to use an SLA'd service.
After a lot of searching I found this alternative JSON API example: https://github.com/GoogleCloudPlatform/storage-file-transfer-json-python but it's much more cumbersome and isn't clear that it's better supported.
Any advice on which API to use?
Or better examples for bootstrapping?
Thanks in advance
ANSWER
Answered 2017-Jan-12 at 00:46Google Cloud Storage, the service, is not in beta. It has an SLA and a deprecation policy. The client library you've found, the Google Cloud Client Library for Python (google-cloud), is in beta, which means that it's possible that a future version of it might in some cases make backwards-incompatible changes. However, it's also the current gold standard for easiest-to-use client library.
I recommend you use that one. Another option is the Google Python API Client Library, which is not in beta, but I found the Google Cloud Client Library for Python to be substantially easier to use, which is important.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install storage-file-transfer-json-python
You can use storage-file-transfer-json-python like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page