GeezerVison is showing github.com — Generate most non-appengine readmes · michaelMath/python-docs-samples@2b7c061
File tree
Expand file treeCollapse file tree
Open diff view settings
scripts/readme-gen/templates
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: bigquery/README.md -35Lines changed: 0 additions & 35 deletions Collapse file
Copy file name to clipboardExpand all lines: bigquery/cloud-client/README.rst +2-1Lines changed: 2 additions & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -128,7 +128,8 @@ To run this sample: |
128 | 128 | For more information, see the README.md under /bigquery. |
129 | 129 | |
130 | 130 | Example invocation: |
131 | | - $ python async_query.py 'SELECT corpus FROM `publicdata.samples.shakespeare` GROUP BY corpus' |
| 131 | + $ python async_query.py \ |
| 132 | + 'SELECT corpus FROM `publicdata.samples.shakespeare` GROUP BY corpus' |
132 | 133 | |
133 | 134 | positional arguments: |
134 | 135 | query BigQuery SQL Query. |
|
Collapse file
Copy file name to clipboardExpand all lines: language/api/README.md -87Lines changed: 0 additions & 87 deletions Collapse file
Copy file name to clipboard +20Lines changed: 20 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +# This file is used to generate README.rst |
| 2 | + |
| 3 | +product: |
| 4 | + name: Google Cloud Natural Language API |
| 5 | + short_name: Cloud Natural Language API |
| 6 | + url: https://cloud.google.com/natural-language/docs/ |
| 7 | + description: > |
| 8 | + The `Google Cloud Natural Language API`_ provides natural language |
| 9 | + understanding technologies to developers, including sentiment analysis, |
| 10 | + entity recognition, and syntax analysis. This API is part of the larger |
| 11 | + Cloud Machine Learning API. |
| 12 | + |
| 13 | +setup: |
| 14 | +- auth |
| 15 | +- install_deps |
| 16 | + |
| 17 | +samples: |
| 18 | +- name: Analyze syntax |
| 19 | + file: analyze.py |
| 20 | + show_help: true |
Collapse file
Copy file name to clipboard +21Lines changed: 21 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +# This file is used to generate README.rst |
| 2 | + |
| 3 | +product: |
| 4 | + name: Google Cloud Natural Language API |
| 5 | + short_name: Cloud Natural Language API |
| 6 | + url: https://cloud.google.com/natural-language/docs/ |
| 7 | + description: > |
| 8 | + The `Google Cloud Natural Language API`_ provides natural language |
| 9 | + understanding technologies to developers, including sentiment analysis, |
| 10 | + entity recognition, and syntax analysis. This API is part of the larger |
| 11 | + Cloud Machine Learning API. |
| 12 | + |
| 13 | +setup: |
| 14 | +- auth |
| 15 | +- install_deps |
| 16 | + |
| 17 | +samples: |
| 18 | +- name: Quickstart |
| 19 | + file: quickstart.py |
| 20 | + |
| 21 | +cloud_client_library: true |
Collapse file
Copy file name to clipboardExpand all lines: logging/api-client/README.md -38Lines changed: 0 additions & 38 deletions Collapse file
Copy file name to clipboard +14Lines changed: 14 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +Authentication |
| 2 | +++++++++++++++ |
| 3 | + |
| 4 | +Authentication for this service is done via an `API Key`_. To obtain an API |
| 5 | +Key: |
| 6 | + |
| 7 | +1. Open the `Cloud Platform Console`_ |
| 8 | +2. Make sure that billing is enabled for your project. |
| 9 | +3. From the **Credentials** page, create a new **API Key** or use an existing |
| 10 | + one for your project. |
| 11 | + |
| 12 | +.. _API Key: |
| 13 | + https://developers.google.com/api-client-library/python/guide/aaa_apikeys |
| 14 | +.. _Cloud Console: https://console.cloud.google.com/project?_ |
Collapse file
Copy file name to clipboard +26Lines changed: 26 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +Install PortAudio |
| 2 | ++++++++++++++++++ |
| 3 | + |
| 4 | +Install `PortAudio`_. This is required by the `PyAudio`_ library to stream |
| 5 | +audio from your computer's microphone. PyAudio depends on PortAudio for cross-platform compatibility, and is installed differently depending on the |
| 6 | +platform. |
| 7 | + |
| 8 | +For Mac OS X, you can use `Homebrew`_:: |
| 9 | + |
| 10 | + brew install portaudio |
| 11 | + |
| 12 | +For Debian / Ubuntu Linux:: |
| 13 | + |
| 14 | + apt-get install portaudio19-dev python-all-dev |
| 15 | + |
| 16 | +Windows may work without having to install PortAudio explicitly (it will get |
| 17 | +installed with PyAudio). |
| 18 | + |
| 19 | +For more details, see the `PyAudio installation`_ page. |
| 20 | + |
| 21 | + |
| 22 | +.. _PyAudio: https://people.csail.mit.edu/hubert/pyaudio/ |
| 23 | +.. _PortAudio: http://www.portaudio.com/ |
| 24 | +.. _PyAudio installation: |
| 25 | + https://people.csail.mit.edu/hubert/pyaudio/#downloads |
| 26 | +.. _Homebrew: http://brew.sh |
Collapse file
Copy file name to clipboardExpand all lines: speech/README.md -14Lines changed: 0 additions & 14 deletions Collapse file
Copy file name to clipboardExpand all lines: speech/api-client/README.md -85Lines changed: 0 additions & 85 deletions