Skip to content

Commit bc11ccb

Browse files
authored
Merge pull request #2685 from dhermes/add-package-badges
Adding PyPI badges to package READMEs.
2 parents 5840bab + 623f4e1 commit bc11ccb

File tree

14 files changed

+98
-0
lines changed

14 files changed

+98
-0
lines changed

bigquery/README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Python Client for Google BigQuery
55

66
.. _Google BigQuery: https://cloud.google.com/bigquery/what-is-bigquery
77

8+
|pypi| |versions|
9+
810
- `Documentation`_
911

1012
.. _Documentation: https://googlecloudplatform.github.io/google-cloud-python/stable/bigquery-usage.html
@@ -85,3 +87,8 @@ See the ``google-cloud-python`` API `BigQuery documentation`_ to learn how
8587
to connect to BigQuery using this Client Library.
8688

8789
.. _BigQuery documentation: https://googlecloudplatform.github.io/google-cloud-python/stable/bigquery-usage.html
90+
91+
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-bigquery.svg
92+
:target: https://pypi.python.org/pypi/google-cloud-bigquery
93+
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-bigquery.svg
94+
:target: https://pypi.python.org/pypi/google-cloud-bigquery

bigtable/README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Python Client for Google Cloud Bigtable
55

66
.. _Google Cloud Bigtable: https://cloud.google.com/bigtable/docs/
77

8+
|pypi| |versions|
9+
810
- `Documentation`_
911

1012
.. _Documentation: https://googlecloudplatform.github.io/google-cloud-python/stable/bigtable-usage.html
@@ -40,3 +42,8 @@ See the ``google-cloud-python`` API `Bigtable documentation`_ to learn
4042
how to manage your data in Bigtable tables.
4143

4244
.. _Bigtable documentation: https://google-cloud-python.readthedocs.io/en/stable/bigtable-usage.html
45+
46+
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-bigtable.svg
47+
:target: https://pypi.python.org/pypi/google-cloud-bigtable
48+
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-bigtable.svg
49+
:target: https://pypi.python.org/pypi/google-cloud-bigtable

core/README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ This library is not meant to stand-alone. Instead it defines
55
common helpers (e.g. base ``Client`` and ``Connection`` classes)
66
used by all of the ``google-cloud-*``.
77

8+
|pypi| |versions|
9+
810
- `Documentation`_
911

1012
.. _Documentation: https://googlecloudplatform.github.io/google-cloud-python/stable/google-cloud-api.html
@@ -15,3 +17,8 @@ Quick Start
1517
.. code-block:: console
1618
1719
$ pip install --upgrade google-cloud-core
20+
21+
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-core.svg
22+
:target: https://pypi.python.org/pypi/google-cloud-core
23+
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-core.svg
24+
:target: https://pypi.python.org/pypi/google-cloud-core

datastore/README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Python Client for Google Cloud Datastore
55

66
.. _Google Cloud Datastore: https://cloud.google.com/datastore/docs
77

8+
|pypi| |versions|
9+
810
- `Documentation`_
911

1012
.. _Documentation: https://googlecloudplatform.github.io/google-cloud-python/stable/datastore-client.html
@@ -63,3 +65,8 @@ how to activate Cloud Datastore for your project.
6365
query = datastore.Query(kind='EntityKind')
6466
for result in query.fetch():
6567
print(result)
68+
69+
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-datastore.svg
70+
:target: https://pypi.python.org/pypi/google-cloud-datastore
71+
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-datastore.svg
72+
:target: https://pypi.python.org/pypi/google-cloud-datastore

dns/README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Python Client for Google Cloud DNS
55

66
.. _Google Cloud DNS: https://cloud.google.com/dns/
77

8+
|pypi| |versions|
9+
810
- `Documentation`_
911

1012
.. _Documentation: https://googlecloudplatform.github.io/google-cloud-python/stable/dns-usage.html
@@ -40,3 +42,8 @@ See the ``google-cloud-python`` API `DNS documentation`_ to learn
4042
how to manage DNS records using this Client Library.
4143

4244
.. _DNS documentation: https://google-cloud-python.readthedocs.io/en/stable/dns-usage.html
45+
46+
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-dns.svg
47+
:target: https://pypi.python.org/pypi/google-cloud-dns
48+
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-dns.svg
49+
:target: https://pypi.python.org/pypi/google-cloud-dns

error_reporting/README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Python Client for Stackdriver Error Reporting
55

66
.. _Stackdriver Error Reporting: https://cloud.google.com/error-reporting/
77

8+
|pypi| |versions|
9+
810
- `Documentation`_
911

1012
.. _Documentation: https://googlecloudplatform.github.io/google-cloud-python/stable/error-reporting-usage.html
@@ -45,3 +47,8 @@ See the ``google-cloud-python`` API `Error Reporting documentation`_ to learn
4547
how to get started using this library.
4648

4749
.. _Error Reporting documentation: https://google-cloud-python.readthedocs.io/en/stable/error-reporting-usage.html
50+
51+
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-error-reporting.svg
52+
:target: https://pypi.python.org/pypi/google-cloud-error-reporting
53+
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-error-reporting.svg
54+
:target: https://pypi.python.org/pypi/google-cloud-error-reporting

language/README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Python Client for Google Cloud Natural Language
55

66
.. _Google Cloud Natural Language: https://cloud.google.com/natural-language/
77

8+
|pypi| |versions|
9+
810
- `Documentation`_
911

1012
.. _Documentation: https://googlecloudplatform.github.io/google-cloud-python/stable/language-usage.html
@@ -44,3 +46,8 @@ See the ``google-cloud-python`` API `Natural Language documentation`_ to learn
4446
how to analyze text with this API.
4547

4648
.. _Natural Language documentation: https://google-cloud-python.readthedocs.io/en/stable/language-usage.html
49+
50+
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-language.svg
51+
:target: https://pypi.python.org/pypi/google-cloud-language
52+
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-language.svg
53+
:target: https://pypi.python.org/pypi/google-cloud-language

logging/README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Python Client for Stackdriver Logging
55

66
.. _Stackdriver Logging: https://cloud.google.com/logging/
77

8+
|pypi| |versions|
9+
810
- `Documentation`_
911

1012
.. _Documentation: https://googlecloudplatform.github.io/google-cloud-python/stable/logging-usage.html
@@ -54,3 +56,8 @@ See the ``google-cloud-python`` API `logging documentation`_ to learn how to
5456
connect to Stackdriver Logging using this Client Library.
5557

5658
.. _logging documentation: https://googlecloudplatform.github.io/google-cloud-python/stable/logging-usage.html
59+
60+
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-logging.svg
61+
:target: https://pypi.python.org/pypi/google-cloud-logging
62+
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-logging.svg
63+
:target: https://pypi.python.org/pypi/google-cloud-logging

monitoring/README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Python Client for Stackdriver Monitoring
55

66
.. _Stackdriver Monitoring: https://cloud.google.com/monitoring/
77

8+
|pypi| |versions|
9+
810
- `Documentation`_
911

1012
.. _Documentation: https://googlecloudplatform.github.io/google-cloud-python/stable/monitoring-usage.html
@@ -64,3 +66,8 @@ See the ``google-cloud-python`` API `monitoring documentation`_ to learn how
6466
to connect to Stackdriver Monitoring using this Client Library.
6567

6668
.. _monitoring documentation: https://googlecloudplatform.github.io/google-cloud-python/stable/monitoring-usage.html
69+
70+
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-monitoring.svg
71+
:target: https://pypi.python.org/pypi/google-cloud-monitoring
72+
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-monitoring.svg
73+
:target: https://pypi.python.org/pypi/google-cloud-monitoring

pubsub/README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ Python Client for Google Cloud Pub / Sub
55

66
.. _Google Cloud Pub / Sub: https://cloud.google.com/pubsub/docs
77

8+
|pypi| |versions|
9+
810
- `Documentation`_
911

1012
.. _Documentation: https://googlecloudplatform.github.io/google-cloud-python/stable/pubsub-usage.html
@@ -57,3 +59,8 @@ To get started with this API, you'll need to create
5759
5860
topic.publish('this is the message_payload',
5961
attr1='value1', attr2='value2')
62+
63+
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-pubsub.svg
64+
:target: https://pypi.python.org/pypi/google-cloud-pubsub
65+
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-pubsub.svg
66+
:target: https://pypi.python.org/pypi/google-cloud-pubsub

0 commit comments

Comments
 (0)