• Home
Name Date Size #Lines LOC

..--

README.tmpl.rstD03-May-20242.4 KiB8757

auth.tmpl.rstD03-May-2024308 107

auth_api_key.tmpl.rstD03-May-2024463 1511

install_deps.tmpl.rstD03-May-2024882 3017

install_portaudio.tmpl.rstD03-May-20241.1 KiB3624

README.tmpl.rst

1{# The following line is a lie. BUT! Once jinja2 is done with it, it will
2    become truth! #}
3.. This file is automatically generated. Do not edit this file directly.
4
5{{product.name}} Python Samples
6===============================================================================
7
8.. image:: https://gstatic.com/cloudssh/images/open-btn.png
9   :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor={{folder}}/README.rst
10
11
12This directory contains samples for {{product.name}}. {{product.description}}
13
14{{description}}
15
16.. _{{product.name}}: {{product.url}}
17
18{% if required_api_url %}
19To run the sample, you need to enable the API at: {{required_api_url}}
20{% endif %}
21
22{% if required_role %}
23To run the sample, you need to have `{{required_role}}` role.
24{% endif %}
25
26{{other_required_steps}}
27
28{% if setup %}
29Setup
30-------------------------------------------------------------------------------
31
32{% for section in setup %}
33
34{% include section + '.tmpl.rst' %}
35
36{% endfor %}
37{% endif %}
38
39{% if samples %}
40Samples
41-------------------------------------------------------------------------------
42
43{% for sample in samples %}
44{{sample.name}}
45+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
46
47{% if not sample.hide_cloudshell_button %}
48.. image:: https://gstatic.com/cloudssh/images/open-btn.png
49   :target: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/GoogleCloudPlatform/python-docs-samples&page=editor&open_in_editor={{folder}}/{{sample.file}},{{folder}}/README.rst
50{% endif %}
51
52
53{{sample.description}}
54
55To run this sample:
56
57.. code-block:: bash
58
59    $ python {{sample.file}}
60{% if sample.show_help %}
61
62    {{get_help(sample.file)|indent}}
63{% endif %}
64
65
66{% endfor %}
67{% endif %}
68
69{% if cloud_client_library %}
70
71The client library
72-------------------------------------------------------------------------------
73
74This sample uses the `Google Cloud Client Library for Python`_.
75You can read the documentation for more details on API usage and use GitHub
76to `browse the source`_ and  `report issues`_.
77
78.. _Google Cloud Client Library for Python:
79    https://googlecloudplatform.github.io/google-cloud-python/
80.. _browse the source:
81    https://github.com/GoogleCloudPlatform/google-cloud-python
82.. _report issues:
83    https://github.com/GoogleCloudPlatform/google-cloud-python/issues
84
85{% endif %}
86
87.. _Google Cloud SDK: https://cloud.google.com/sdk/