Python Client for Pub/Sub Lite API
==================================
|stable| |pypi| |versions|
`Pub/Sub Lite API`_: is designed to provide reliable,
many-to-many, asynchronous messaging between applications. Publisher
applications can send messages to a topic and other applications can
subscribe to that topic to receive the messages. By decoupling senders and
receivers, Google Cloud Pub/Sub allows developers to communicate between
independently written applications.
Compared to Google Pub/Sub, Pub/Sub Lite provides partitioned zonal data
storage with predefined capacity. Both products present a similar API, but
Pub/Sub Lite has more usage caveats.
See the [Google Pub/Sub Lite docs](https://cloud.google.com/pubsub/quickstart-console#before-you-begin) for more details on how to activate
Pub/Sub Lite for your project, as well as guidance on how to choose between
Cloud Pub/Sub and Pub/Sub Lite.
- `Client Library Documentation`_
- `Product Documentation`_
.. |stable| image:: https://img.shields.io/badge/support-stable-gold.svg
:target: https://github.com/googleapis/google-cloud-python/blob/main/README.rst#stability-levels
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-pubsublite.svg
:target: https://pypi.org/project/google-cloud-pubsublite/
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-pubsublite.svg
:target: https://pypi.org/project/google-cloud-pubsublite/
.. _Pub/Sub Lite API: https://cloud.google.com/pubsub/lite
.. _Client Library Documentation: https://cloud.google.com/python/docs/reference/pubsublite/latest
.. _Product Documentation: https://cloud.google.com/pubsub/lite
Quick Start
-----------
In order to use this library, you first need to go through the following steps:
1. `Select or create a Cloud Platform project.`_
2. `Enable billing for your project.`_
3. `Enable the Pub/Sub Lite API.`_
4. `Setup Authentication.`_
.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
.. _Enable the Pub/Sub Lite API.: https://cloud.google.com/pubsub/lite
.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
Installation
~~~~~~~~~~~~
Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to
create isolated Python environments. The basic problem it addresses is one of
dependencies and versions, and indirectly permissions.
With `virtualenv`_, it's possible to install this library without needing system
install permissions, and without clashing with the installed system
dependencies.
.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
Code samples and snippets
~~~~~~~~~~~~~~~~~~~~~~~~~
Code samples and snippets live in the `samples/` folder.
Supported Python Versions
^^^^^^^^^^^^^^^^^^^^^^^^^
Our client libraries are compatible with all current `active`_ and `maintenance`_ versions of
Python.
Python >= 3.7
.. _active: https://devguide.python.org/devcycle/#in-development-main-branch
.. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches
Unsupported Python Versions
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Python <= 3.6
If you are using an `end-of-life`_
version of Python, we recommend that you update as soon as possible to an actively supported version.
.. _end-of-life: https://devguide.python.org/devcycle/#end-of-life-branches
Mac/Linux
^^^^^^^^^
.. code-block:: console
pip install virtualenv
virtualenv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install google-cloud-pubsublite
Windows
^^^^^^^
.. code-block:: console
pip install virtualenv
virtualenv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install google-cloud-pubsublite
Next Steps
~~~~~~~~~~
- Read the `Client Library Documentation`_ for Pub/Sub Lite API
to see other available methods on the client.
- Read the `Pub/Sub Lite API Product documentation`_ to learn
more about the product and see How-to Guides.
- View this `README`_ to see the full list of Cloud
APIs that we cover.
.. _Pub/Sub Lite API Product documentation: https://cloud.google.com/pubsub/lite
.. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
Raw data
{
"_id": null,
"home_page": "https://github.com/googleapis/python-pubsublite",
"name": "google-cloud-pubsublite",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": null,
"author": "Google LLC",
"author_email": "googleapis-packages@google.com",
"download_url": "https://files.pythonhosted.org/packages/00/67/11831785df5b78c93b3ba6d9f2cea516ec89661533ed03f37dc076a3fc27/google_cloud_pubsublite-1.11.1.tar.gz",
"platform": "Posix; MacOS X; Windows",
"description": "Python Client for Pub/Sub Lite API\n==================================\n\n|stable| |pypi| |versions|\n\n`Pub/Sub Lite API`_: is designed to provide reliable,\nmany-to-many, asynchronous messaging between applications. Publisher\napplications can send messages to a topic and other applications can\nsubscribe to that topic to receive the messages. By decoupling senders and\nreceivers, Google Cloud Pub/Sub allows developers to communicate between\nindependently written applications.\n\nCompared to Google Pub/Sub, Pub/Sub Lite provides partitioned zonal data\nstorage with predefined capacity. Both products present a similar API, but\nPub/Sub Lite has more usage caveats.\n\nSee the [Google Pub/Sub Lite docs](https://cloud.google.com/pubsub/quickstart-console#before-you-begin) for more details on how to activate\nPub/Sub Lite for your project, as well as guidance on how to choose between\nCloud Pub/Sub and Pub/Sub Lite.\n\n- `Client Library Documentation`_\n- `Product Documentation`_\n\n.. |stable| image:: https://img.shields.io/badge/support-stable-gold.svg\n :target: https://github.com/googleapis/google-cloud-python/blob/main/README.rst#stability-levels\n.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-pubsublite.svg\n :target: https://pypi.org/project/google-cloud-pubsublite/\n.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-pubsublite.svg\n :target: https://pypi.org/project/google-cloud-pubsublite/\n.. _Pub/Sub Lite API: https://cloud.google.com/pubsub/lite\n.. _Client Library Documentation: https://cloud.google.com/python/docs/reference/pubsublite/latest\n.. _Product Documentation: https://cloud.google.com/pubsub/lite\n\nQuick Start\n-----------\n\nIn order to use this library, you first need to go through the following steps:\n\n1. `Select or create a Cloud Platform project.`_\n2. `Enable billing for your project.`_\n3. `Enable the Pub/Sub Lite API.`_\n4. `Setup Authentication.`_\n\n.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project\n.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project\n.. _Enable the Pub/Sub Lite API.: https://cloud.google.com/pubsub/lite\n.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html\n\nInstallation\n~~~~~~~~~~~~\n\nInstall this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to\ncreate isolated Python environments. The basic problem it addresses is one of\ndependencies and versions, and indirectly permissions.\n\nWith `virtualenv`_, it's possible to install this library without needing system\ninstall permissions, and without clashing with the installed system\ndependencies.\n\n.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/\n\n\nCode samples and snippets\n~~~~~~~~~~~~~~~~~~~~~~~~~\n\nCode samples and snippets live in the `samples/` folder.\n\n\nSupported Python Versions\n^^^^^^^^^^^^^^^^^^^^^^^^^\nOur client libraries are compatible with all current `active`_ and `maintenance`_ versions of\nPython.\n\nPython >= 3.7\n\n.. _active: https://devguide.python.org/devcycle/#in-development-main-branch\n.. _maintenance: https://devguide.python.org/devcycle/#maintenance-branches\n\nUnsupported Python Versions\n^^^^^^^^^^^^^^^^^^^^^^^^^^^\nPython <= 3.6\n\nIf you are using an `end-of-life`_\nversion of Python, we recommend that you update as soon as possible to an actively supported version.\n\n.. _end-of-life: https://devguide.python.org/devcycle/#end-of-life-branches\n\nMac/Linux\n^^^^^^^^^\n\n.. code-block:: console\n\n pip install virtualenv\n virtualenv <your-env>\n source <your-env>/bin/activate\n <your-env>/bin/pip install google-cloud-pubsublite\n\n\nWindows\n^^^^^^^\n\n.. code-block:: console\n\n pip install virtualenv\n virtualenv <your-env>\n <your-env>\\Scripts\\activate\n <your-env>\\Scripts\\pip.exe install google-cloud-pubsublite\n\nNext Steps\n~~~~~~~~~~\n\n- Read the `Client Library Documentation`_ for Pub/Sub Lite API\n to see other available methods on the client.\n- Read the `Pub/Sub Lite API Product documentation`_ to learn\n more about the product and see How-to Guides.\n- View this `README`_ to see the full list of Cloud\n APIs that we cover.\n\n.. _Pub/Sub Lite API Product documentation: https://cloud.google.com/pubsub/lite\n.. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "Google Cloud Pubsublite API client library",
"version": "1.11.1",
"project_urls": {
"Homepage": "https://github.com/googleapis/python-pubsublite"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "038bf0cd7f3b16fe8ab0f449868b5d62868d7c03cd10326acd3472476305c2e3",
"md5": "3f6e682e29b0c6c8165fd327d2a9dae5",
"sha256": "8aa76f709d18c5bf730b3c6e49f0eefe80323d6c48972126ae02d032ce1a892d"
},
"downloads": -1,
"filename": "google_cloud_pubsublite-1.11.1-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "3f6e682e29b0c6c8165fd327d2a9dae5",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.8",
"size": 304636,
"upload_time": "2024-08-01T16:50:07",
"upload_time_iso_8601": "2024-08-01T16:50:07.471501Z",
"url": "https://files.pythonhosted.org/packages/03/8b/f0cd7f3b16fe8ab0f449868b5d62868d7c03cd10326acd3472476305c2e3/google_cloud_pubsublite-1.11.1-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "006711831785df5b78c93b3ba6d9f2cea516ec89661533ed03f37dc076a3fc27",
"md5": "938e4b054f93a76eead51d1f64d455e0",
"sha256": "ead04b2826e6426d49d6eee0cec5049cfbea5daed6adab276b64856f4dd7b87e"
},
"downloads": -1,
"filename": "google_cloud_pubsublite-1.11.1.tar.gz",
"has_sig": false,
"md5_digest": "938e4b054f93a76eead51d1f64d455e0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 272005,
"upload_time": "2024-08-01T16:50:09",
"upload_time_iso_8601": "2024-08-01T16:50:09.637717Z",
"url": "https://files.pythonhosted.org/packages/00/67/11831785df5b78c93b3ba6d9f2cea516ec89661533ed03f37dc076a3fc27/google_cloud_pubsublite-1.11.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-01 16:50:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "googleapis",
"github_project": "python-pubsublite",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "google-cloud-pubsublite"
}