Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit 2986864

Browse files
authored
docs: connect Python Translate client library to nebulous serverless example (#162)
Not adding new code but linking to another repo with a sample app using this API as another sample for users; added folder with README per @busunkim96
1 parent 0f3dd89 commit 2986864

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

README.rst

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,4 +82,25 @@ Windows
8282
pip install virtualenv
8383
virtualenv <your-env>
8484
<your-env>\Scripts\activate
85-
<your-env>\Scripts\pip.exe install google-cloud-translate
85+
<your-env>\Scripts\pip.exe install google-cloud-translate
86+
87+
Samples
88+
-----------
89+
90+
The `samples folder`_ contains all of the Cloud Translation API code snippets
91+
found in `its documentation`_ as well as complete sample apps:
92+
93+
- `Mini Google Translate "MVP"`_ app
94+
95+
- Shows how to use the API in a Python/Flask web app
96+
- Deployable locally or any on-prem or cloud host supporting Flask apps
97+
- Also deployable to `Google Cloud serverless hosting platforms`_ (`App Engine`_, `Cloud Functions`_, or `Cloud Run`_) with only minor configuration changes
98+
99+
.. _samples folder: samples
100+
.. _its documentation: https://cloud.google.com/translate/docs
101+
.. _Mini Google Translate "MVP": https://github.com/googlecodelabs/cloud-nebulous-serverless-python
102+
.. _Google Cloud serverless hosting platforms: https://cloud.google.com/serverless#serverless-products
103+
.. _App Engine: https://cloud.google.com/appengine
104+
.. _Cloud Functions: https://cloud.google.com/functions
105+
.. _Cloud Run: https://cloud.google.com/run
106+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This sample can be found at <https://github.com/googlecodelabs/cloud-nebulous-serverless-python>.

0 commit comments

Comments
 (0)