Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5f6459b

Browse filesBrowse files
authored
Merge pull request #2269 from daspecster/updates-from-rename-2
Update index.html back to sphinx version.
2 parents 84aeb72 + 4083d9f commit 5f6459b
Copy full SHA for 5f6459b

359 files changed

+205-23,666Lines changed: 205 additions & 23666 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎home.html‎

Copy file name to clipboardExpand all lines: home.html
-130Lines changed: 0 additions & 130 deletions
This file was deleted.
Collapse file

‎index.html‎

Copy file name to clipboard
+201-22Lines changed: 201 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,201 @@
1-
<!doctype html><html><head><meta charset="utf-8"><title>gcloud</title><meta name="description" content="Google Cloud Platform's client library documentation"><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="shortcut icon" href="https://cloud.google.com/images/gcp-favicon.ico"><link rel="stylesheet" href="src/vendor-d362a4bbd8.css"><link rel="stylesheet" href="src/app-5c7e5ca3ea.css"></head><body><!--[if lt IE 10]>
2-
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
3-
<![endif]--><main ui-view="" autoscroll="true"></main><script src="src/vendor-359b6ce0aa.js"></script><script src="src/app-b2dde8c381.js"></script><script>
4-
(function() {
5-
var $injector = angular.injector(['ng']);
6-
var $http = $injector.get('$http');
7-
8-
$http.get('manifest.json')
9-
.then(function(response) {
10-
angular
11-
.module('gcloud.manifest', [])
12-
.constant('manifest', angular.extend({
13-
defaultModule: ''
14-
}, response.data));
15-
16-
angular.element(document)
17-
.ready(function() {
18-
angular.bootstrap(document, ['gcloud']);
19-
});
20-
});
21-
}());
22-
</script></body></html>
1+
<!doctype html>
2+
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
3+
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
4+
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
5+
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
6+
<head>
7+
<meta charset="utf-8">
8+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
9+
<title>google-cloud</title>
10+
<meta name="description" content="Node idiomatic client for Google Cloud services.">
11+
<meta name="viewport" content="width=device-width, initial-scale=1">
12+
<link rel="shortcut icon" href="https://cloud.google.com/images/gcp-favicon.ico">
13+
<link rel="stylesheet" href="_landing-page-static/css/normalize.css">
14+
<link rel="stylesheet" href="_landing-page-static/css/main.css">
15+
<link rel="stylesheet" href="_landing-page-static/pygments.css">
16+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Droid+Sans+Mono|Roboto:300,400,700,700italic,400italic|Open+Sans:300">
17+
<link rel="stylesheet" href="https://yandex.st/highlightjs/8.0/styles/github.min.css">
18+
</head>
19+
<body>
20+
<header class="page-header" role="banner">
21+
<h1 class="logo"><img src="_landing-page-static/images/logo-full.svg" alt="Google Cloud Platform" /></h1>
22+
<!-- start of language-switcher -->
23+
<nav class="main-nav">
24+
<div class="nav-current">Python</div>
25+
<ul class="menu">
26+
<li>
27+
<a href="http://googlecloudplatform.github.io/google-cloud-dotnet" title="google-cloud-dotnet">
28+
<img src="_landing-page-static/images/icon-lang-dotnet.svg" alt=".NET icon" class="menu-icon" />
29+
.NET
30+
</a>
31+
</li>
32+
<li>
33+
<a href="https://googlecloudplatform.github.io/google-cloud-java/" title="google-cloud-java">
34+
<img src="_landing-page-static/images/icon-lang-java-duke.svg" alt="Duke icon" class="menu-icon">
35+
Java
36+
</a>
37+
</li>
38+
<li>
39+
<a href="https://googlecloudplatform.github.io/google-cloud-node/" title="google-cloud-node">
40+
<img src="_landing-page-static/images/icon-lang-nodejs.svg" alt="Node.js icon" class="menu-icon">
41+
Node.js
42+
</a>
43+
</li>
44+
<li>
45+
<a href="https://googlecloudplatform.github.io/google-cloud-php/" title="google-cloud-php">
46+
<img src="_landing-page-static/images/icon-lang-php.svg" alt="PHP icon" class="menu-icon">
47+
PHP
48+
</a>
49+
</li>
50+
<li>
51+
<a href="#" title="google-cloud-python">
52+
<img src="_landing-page-static/images/icon-lang-python-white.svg" alt="Python icon" class="menu-icon">
53+
Python
54+
</a>
55+
</li>
56+
<li>
57+
<a href="https://googlecloudplatform.github.io/google-cloud-ruby/" title="google-cloud-ruby">
58+
<img src="_landing-page-static/images/icon-lang-ruby.svg" alt="Ruby icon" class="menu-icon" width="24">
59+
Ruby
60+
</a>
61+
</li>
62+
</ul>
63+
</nav>
64+
<!-- end of language-switcher -->
65+
</header><!-- end of .page-header -->
66+
67+
<article class="main" role="main">
68+
<section class="hero-banner">
69+
<div class="container clearfix">
70+
<div class="col col-left">
71+
<h1>google-cloud</h1>
72+
<p>Google Cloud Client Library for Python
73+
- an idiomatic, intuitive, and natural way for Python developers to
74+
integrate with Google Cloud Platform services, like Cloud Datastore
75+
and Cloud Storage.</p>
76+
</div><!-- end of .col.col-left -->
77+
78+
<div class="col col-right">
79+
<h2>One-line install</h2>
80+
<pre>$ pip install --upgrade google-cloud</pre>
81+
</div>
82+
</div><!-- end of .container -->
83+
</section><!-- end of .hero-banner -->
84+
85+
<section class="block featuring">
86+
<div class="container">
87+
<ul class="featuring-links">
88+
<li>
89+
<a href="stable/" title="google-cloud-python docs" class="btn btn-docs">
90+
<img src="_landing-page-static/images/icon-lang-python.svg" alt="Python icon" />
91+
Read the Docs
92+
</a>
93+
</li>
94+
<li>
95+
<a href="https://github.com/GoogleCloudPlatform/google-cloud-python" title="google-cloud-python on GitHub" class="ext-link">
96+
<img src="_landing-page-static/images/icon-link-github.svg" alt="GitHub icon" />
97+
GitHub
98+
</a>
99+
</li>
100+
<li>
101+
<a href="https://github.com/GoogleCloudPlatform/google-cloud-python/issues" title="google-cloud-python issues on Github" class="ext-link">
102+
<img src="_landing-page-static/images/icon-link-github.svg" alt="GitHub icon" />
103+
Issues
104+
</a>
105+
</li>
106+
<li>
107+
<a href="http://stackoverflow.com/questions/tagged/google-cloud-python" title="google-cloud-python on StackOverflow" class="ext-link">
108+
<img src="_landing-page-static/images/icon-link-stackoverflow.svg" alt="StackOverflow icon" />
109+
StackOverflow
110+
</a>
111+
</li>
112+
<li>
113+
<a href="https://pypi.python.org/pypi/google-cloud" title="google-cloud-python on PyPI" class="ext-link">
114+
<img src="_landing-page-static/images/icon-link-package-manager.svg" alt="PyPI icon" />
115+
PyPI
116+
</a>
117+
</li>
118+
</ul>
119+
</div><!-- end of .container -->
120+
</section><!-- end of .featuring -->
121+
122+
<section class="block about">
123+
<div class="container clearfix">
124+
<div class="col col-left">
125+
<h3 class="block-title">What is it?</h3>
126+
127+
<p><code>google-cloud</code> is a client library for accessing Google
128+
Cloud Platform services that significantly reduces the boilerplate
129+
code you have to write. The library provides high-level API
130+
abstractions so they're easier to understand. It embraces
131+
idioms of Python, works well with the standard library, and
132+
integrates better with your codebase.
133+
All this means you spend more time creating code that matters
134+
to you.</p>
135+
136+
<p><code>google-cloud</code> is configured to access Google Cloud Platform
137+
services and authorize (OAuth 2.0) automatically on your behalf.
138+
With a one-line install and a private key, you are up and ready
139+
to go. Better yet, if you are running on a Google Compute Engine
140+
instance, the one-line install is enough!</p>
141+
142+
</div><!-- end of .col.col-left -->
143+
144+
<div class="col col-right">
145+
<h4>Retrieve Datastore Entities</h4>
146+
147+
<div class="highlight-python"><div class="highlight"><pre><span class="kn">from</span> <span class="nn">google.cloud</span> <span class="kn">import</span> <span class="n">datastore</span>
148+
149+
<span class="n">client</span> <span class="o">=</span> <span class="n">datastore</span><span class="o">.</span><span class="n">Client</span><span class="p">()</span>
150+
<span class="n">product_key</span> <span class="o">=</span> <span class="n">client</span><span class="o">.</span><span class="n">key</span><span class="p">(</span><span class="s">'Product'</span><span class="p">,</span> <span class="mi">123</span><span class="p">)</span>
151+
<span class="k">print</span><span class="p">(</span><span class="n">client</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="n">product_key</span><span class="p">))</span>
152+
</pre></div>
153+
</div>
154+
155+
</div><!-- end of .col.col-right -->
156+
</div><!-- end of .container -->
157+
</section><!-- end of .featuring -->
158+
159+
<section class="block examples">
160+
<div class="container clearfix">
161+
<h3 class="block-title">Examples</h3>
162+
163+
<ul>
164+
<li>
165+
<a href="https://github.com/GoogleCloudPlatform/gcloud-python-expenses-demo"><code>gcloud-python-expenses-demo</code></a> - Use google-cloud-python with the Datastore and Cloud Storage to manage expenses
166+
</li>
167+
</ul>
168+
</div>
169+
</section>
170+
171+
<section class="block">
172+
<div class="container clearfix">
173+
<h3 class="block-title">FAQ</h3>
174+
175+
<h4>What is the relationship between the <code>google-cloud</code> package
176+
and the <code>gcloud</code> command-line tool?</h4>
177+
<p>Both the <code>gcloud</code> command-line tool and
178+
<code>google-cloud</code> package are a part of the Google Cloud SDK: a collection
179+
of tools and libraries that enable you to easily create and manage
180+
resources on the Google Cloud Platform. The <code>gcloud</code> command-line
181+
tool can be used to manage both your development workflow and your
182+
Google Cloud Platform resources while the <code>google-cloud</code> package is the
183+
Google Cloud Client Library for Python.</p>
184+
185+
<h4>What is the relationship between <code>google-cloud</code>
186+
and the Google APIs Python Client?</h4>
187+
<p>The <a href="https://github.com/google/google-api-python-client">
188+
Google APIs Python Client</a> is a client library for
189+
using the broad set of Google APIs.
190+
<code>google-cloud</code> is built specifically for the Google Cloud Platform
191+
and is the recommended way to integrate Google Cloud APIs into your
192+
Python applications. If your application requires both Google Cloud Platform and
193+
other Google APIs, the 2 libraries may be used by your application.</p>
194+
</div>
195+
</section> <!-- end of FAQ -->
196+
197+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
198+
<script>window.jQuery || document.write('<script src="_landing-page-static/js/vendor/jquery-1.10.2.min.js"><\/script>')</script>
199+
<script src="_landing-page-static/js/main.js"></script>
200+
</article><!-- end of .main -->
201+
</body>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.