1- Python Client for Google Cloud Storage API
2- ==========================================
1+ Python Client for Google Cloud Storage
2+ ======================================
33
44|stable | |pypi | |versions |
55
6- `Google Cloud Storage API `_: is a durable and highly available object storage service. Google Cloud Storage is almost infinitely scalable and guarantees consistency: when a write succeeds, the latest copy of the object will be returned to any GET, globally.
6+ `Google Cloud Storage `_ is a managed service for storing unstructured data. Cloud Storage
7+ allows world-wide storage and retrieval of any amount of data at any time. You can use
8+ Cloud Storage for a range of scenarios including serving website content, storing data
9+ for archival and disaster recovery, or distributing large data objects to users via direct download.
10+
11+ A comprehensive list of changes in each version may be found in the `CHANGELOG `_.
712
8- - `Client Library Documentation `_
913- `Product Documentation `_
14+ - `Client Library Documentation `_
15+ - `github.com/googleapis/python-storage `_
16+
17+ Read more about the client libraries for Cloud APIs, including the older
18+ Google APIs Client Libraries, in `Client Libraries Explained `_.
1019
1120.. |stable | image :: https://img.shields.io/badge/support-stable-gold.svg
1221 :target: https://github.com/googleapis/google-cloud-python/blob/main/README.rst#stability-levels
1322.. |pypi | image :: https://img.shields.io/pypi/v/google-cloud-storage.svg
1423 :target: https://pypi.org/project/google-cloud-storage/
1524.. |versions | image :: https://img.shields.io/pypi/pyversions/google-cloud-storage.svg
1625 :target: https://pypi.org/project/google-cloud-storage/
17- .. _Google Cloud Storage API : https://cloud.google.com/storage
26+ .. _Google Cloud Storage : https://cloud.google.com/storage
1827.. _Client Library Documentation : https://cloud.google.com/python/docs/reference/storage/latest
1928.. _Product Documentation : https://cloud.google.com/storage
29+ .. _CHANGELOG : https://github.com/googleapis/python-storage/blob/main/CHANGELOG.md
30+ .. _github.com/googleapis/python-storage : https://github.com/googleapis/python-storage
31+ .. _Client Libraries Explained : https://cloud.google.com/apis/docs/client-libraries-explained
2032
2133Quick Start
2234-----------
2335
24- In order to use this library, you first need to go through the following steps:
36+ In order to use this library, you first need to go through the following steps.
37+ A step-by-step guide may also be found in `Get Started with Client Libraries `_.
2538
26391. `Select or create a Cloud Platform project. `_
27402. `Enable billing for your project. `_
28413. `Enable the Google Cloud Storage API. `_
29424. `Setup Authentication. `_
3043
44+ .. _Get Started with Client Libraries : https://cloud.google.com/storage/docs/reference/libraries#client-libraries-install-python
3145.. _Select or create a Cloud Platform project. : https://console.cloud.google.com/project
3246.. _Enable billing for your project. : https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
33- .. _Enable the Google Cloud Storage API. : https://cloud.google.com/storage
34- .. _Setup Authentication. : https://googleapis.dev/python/ google-api-core/latest/auth.html
47+ .. _Enable the Google Cloud Storage API. : https://console. cloud.google.com/flows/enableapi?apiid= storage-api.googleapis.com
48+ .. _Setup Authentication. : https://cloud. google.com/docs/authentication/client-libraries
3549
3650Installation
3751~~~~~~~~~~~~
3852
39- Install this library in a `virtualenv `_ using pip. `virtualenv `_ is a tool to
40- create isolated Python environments. The basic problem it addresses is one of
41- dependencies and versions, and indirectly permissions.
53+ Install this library in a virtual environment using `venv `_. `venv `_ is a tool that
54+ creates isolated Python environments. These isolated environments can have separate
55+ versions of Python packages, which allows you to isolate one project's dependencies
56+ from the dependencies of other projects.
4257
43- With `virtualenv `_, it's possible to install this library without needing system
58+ With `venv `_, it's possible to install this library without needing system
4459install permissions, and without clashing with the installed system
4560dependencies.
4661
47- .. _`virtualenv ` : https://virtualenv.pypa.io/en/latest/
62+ .. _`venv ` : https://docs.python.org/3/library/venv.html
4863
4964
5065Code samples and snippets
5166~~~~~~~~~~~~~~~~~~~~~~~~~
5267
53- Code samples and snippets live in the `samples/ ` folder.
68+ Code samples and snippets live in the `samples/ `_ folder.
69+
70+ .. _`samples/` : https://github.com/googleapis/python-storage/tree/main/samples
5471
5572
5673Supported Python Versions
@@ -77,31 +94,29 @@ Mac/Linux
7794
7895.. code-block :: console
7996
80- pip install virtualenv
81- virtualenv <your-env>
97+ python3 -m venv <your-env>
8298 source <your-env>/bin/activate
83- <your-env>/bin/ pip install google-cloud-storage
99+ pip install google-cloud-storage
84100
85101
86102 Windows
87103^^^^^^^
88104
89105.. code-block :: console
90106
91- pip install virtualenv
92- virtualenv <your-env>
93- <your-env>\Scripts\activate
94- <your-env>\Scripts\pip.exe install google-cloud-storage
107+ py -m venv <your-env>
108+ .\<your-env>\Scripts\activate
109+ pip install google-cloud-storage
95110
96111 Next Steps
97112~~~~~~~~~~
98113
114+ - Read the `Google Cloud Storage Product documentation `_ to learn
115+ more about the product and see How-to Guides.
99116- Read the `Client Library Documentation `_ for Google Cloud Storage API
100117 to see other available methods on the client.
101- - Read the `Google Cloud Storage API Product documentation `_ to learn
102- more about the product and see How-to Guides.
103118- View this `README `_ to see the full list of Cloud
104119 APIs that we cover.
105120
106- .. _Google Cloud Storage API Product documentation : https://cloud.google.com/storage
121+ .. _Google Cloud Storage Product documentation : https://cloud.google.com/storage
107122.. _README : https://github.com/googleapis/google-cloud-python/blob/main/README.rst
0 commit comments