Skip to content

Commit

Permalink
docs: connect Python Translate client library to nebulous serverless …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
wescpy authored May 28, 2021
1 parent 2fdff0a commit 67d0ecd
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
23 changes: 22 additions & 1 deletion packages/google-cloud-translate/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,25 @@ Windows
pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install google-cloud-translate
<your-env>\Scripts\pip.exe install google-cloud-translate
Samples
-----------

The `samples folder`_ contains all of the Cloud Translation API code snippets
found in `its documentation`_ as well as complete sample apps:

- `Mini Google Translate "MVP"`_ app

- Shows how to use the API in a Python/Flask web app
- Deployable locally or any on-prem or cloud host supporting Flask apps
- Also deployable to `Google Cloud serverless hosting platforms`_ (`App Engine`_, `Cloud Functions`_, or `Cloud Run`_) with only minor configuration changes

.. _samples folder: samples
.. _its documentation: https://cloud.google.com/translate/docs
.. _Mini Google Translate "MVP": https://github.com/googlecodelabs/cloud-nebulous-serverless-python
.. _Google Cloud serverless hosting platforms: https://cloud.google.com/serverless#serverless-products
.. _App Engine: https://cloud.google.com/appengine
.. _Cloud Functions: https://cloud.google.com/functions
.. _Cloud Run: https://cloud.google.com/run

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This sample can be found at <https://github.com/googlecodelabs/cloud-nebulous-serverless-python>.

0 comments on commit 67d0ecd

Please sign in to comment.