Python Client for Cloud Logging
=====================================
|pypi| |versions|
`Cloud Logging API`_: Writes log entries and manages your Cloud
Logging configuration.
- `Client Library Documentation`_
- `Product Documentation`_
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-logging.svg
:target: https://pypi.org/project/google-cloud-logging/
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-logging.svg
:target: https://pypi.org/project/google-cloud-logging/
.. _Cloud Logging API: https://cloud.google.com/logging
.. _Client Library Documentation: https://googleapis.dev/python/logging/latest
.. _Product Documentation: https://cloud.google.com/logging/docs
.. _Setting Up Cloud Logging for Python: https://cloud.google.com/logging/docs/setup/python
.. _Python's standard logging library: https://docs.python.org/2/library/logging.html
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 Cloud Logging 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 Cloud Logging API.: https://cloud.google.com/logging
.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
For an interactive walkthrough on how to use this library in a python application, click the Guide Me button below:
|guide|
.. |guide| image:: https://raw.githubusercontent.com/googleapis/python-logging/main/_static/guide-me.png
:target: https://console.cloud.google.com/?walkthrough_id=logging__logging-python
Installation
~~~~~~~~~~~~
Install this library in a `venv`_ using pip. `venv`_ is a tool to
create isolated Python environments. The basic problem it addresses is one of
dependencies and versions, and indirectly permissions.
With `venv`_, it's possible to install this library without needing system
install permissions, and without clashing with the installed system
dependencies.
.. _`venv`: https://docs.python.org/3/library/venv.html
Supported Python Versions
^^^^^^^^^^^^^^^^^^^^^^^^^
Python >= 3.7
Unsupported Python Versions
^^^^^^^^^^^^^^^^^^^^^^^^^^^
| Python == 2.7. The last version of the library compatible with Python 2.7 is ``google-cloud-logging==1.15.1``.
| Python == 3.6. The last version of the library compatible with Python 3.6 is ``google-cloud-logging==3.1.2``.
Mac/Linux
^^^^^^^^^
.. code-block:: console
python -m venv <your-env>
source <your-env>/bin/activate
<your-env>/bin/pip install google-cloud-logging
Windows
^^^^^^^
.. code-block:: console
python -m venv <your-env>
<your-env>\Scripts\activate
<your-env>\Scripts\pip.exe install google-cloud-logging
Next Steps
~~~~~~~~~~
- Read the `Setting Up Cloud Logging for Python`_ How-to Guide
- Read the `Product documentation`_ to learn more about the product and see
other How-to Guides.
- Read the `Client Library Documentation`_ for to see other available
methods on the client.
Raw data
{
"_id": null,
"home_page": "https://github.com/googleapis/python-logging",
"name": "google-cloud-logging",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "",
"author": "Google LLC",
"author_email": "googleapis-packages@google.com",
"download_url": "https://files.pythonhosted.org/packages/78/03/bdc1f36b1a30be8653c91c995b2d8e917e2c0f70f4c7177c6e34af6ddc73/google-cloud-logging-3.10.0.tar.gz",
"platform": "Posix; MacOS X; Windows",
"description": "Python Client for Cloud Logging\n=====================================\n\n|pypi| |versions|\n\n`Cloud Logging API`_: Writes log entries and manages your Cloud\nLogging configuration.\n\n- `Client Library Documentation`_\n- `Product Documentation`_\n\n.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-logging.svg\n :target: https://pypi.org/project/google-cloud-logging/\n.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-logging.svg\n :target: https://pypi.org/project/google-cloud-logging/\n.. _Cloud Logging API: https://cloud.google.com/logging\n.. _Client Library Documentation: https://googleapis.dev/python/logging/latest\n.. _Product Documentation: https://cloud.google.com/logging/docs\n.. _Setting Up Cloud Logging for Python: https://cloud.google.com/logging/docs/setup/python\n.. _Python's standard logging library: https://docs.python.org/2/library/logging.html\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 Cloud Logging 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 Cloud Logging API.: https://cloud.google.com/logging\n.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html\n\nFor an interactive walkthrough on how to use this library in a python application, click the Guide Me button below:\n\n|guide|\n\n.. |guide| image:: https://raw.githubusercontent.com/googleapis/python-logging/main/_static/guide-me.png\n :target: https://console.cloud.google.com/?walkthrough_id=logging__logging-python\n\nInstallation\n~~~~~~~~~~~~\n\nInstall this library in a `venv`_ using pip. `venv`_ is a tool to\ncreate isolated Python environments. The basic problem it addresses is one of\ndependencies and versions, and indirectly permissions.\n\nWith `venv`_, it's possible to install this library without needing system\ninstall permissions, and without clashing with the installed system\ndependencies.\n\n.. _`venv`: https://docs.python.org/3/library/venv.html\n\n\nSupported Python Versions\n^^^^^^^^^^^^^^^^^^^^^^^^^\nPython >= 3.7\n\nUnsupported Python Versions\n^^^^^^^^^^^^^^^^^^^^^^^^^^^\n| Python == 2.7. The last version of the library compatible with Python 2.7 is ``google-cloud-logging==1.15.1``.\n| Python == 3.6. The last version of the library compatible with Python 3.6 is ``google-cloud-logging==3.1.2``.\n\n\nMac/Linux\n^^^^^^^^^\n\n.. code-block:: console\n\n python -m venv <your-env>\n source <your-env>/bin/activate\n <your-env>/bin/pip install google-cloud-logging\n\n\nWindows\n^^^^^^^\n\n.. code-block:: console\n\n python -m venv <your-env>\n <your-env>\\Scripts\\activate\n <your-env>\\Scripts\\pip.exe install google-cloud-logging\n\nNext Steps\n~~~~~~~~~~\n\n- Read the `Setting Up Cloud Logging for Python`_ How-to Guide\n- Read the `Product documentation`_ to learn more about the product and see\n other How-to Guides.\n- Read the `Client Library Documentation`_ for to see other available\n methods on the client.\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "Stackdriver Logging API client library",
"version": "3.10.0",
"project_urls": {
"Homepage": "https://github.com/googleapis/python-logging"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "025174aea3a6134345572064884d01f811afa3f933b31ddca98ac03b2c6bdb14",
"md5": "6ea2ec834c258a1241d81faf0553e6a5",
"sha256": "132192beb45731130a2ffbcd4b2b5cbd87370e7dcfa7397ae4002154f542bd20"
},
"downloads": -1,
"filename": "google_cloud_logging-3.10.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "6ea2ec834c258a1241d81faf0553e6a5",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.7",
"size": 213408,
"upload_time": "2024-03-14T18:19:23",
"upload_time_iso_8601": "2024-03-14T18:19:23.080035Z",
"url": "https://files.pythonhosted.org/packages/02/51/74aea3a6134345572064884d01f811afa3f933b31ddca98ac03b2c6bdb14/google_cloud_logging-3.10.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7803bdc1f36b1a30be8653c91c995b2d8e917e2c0f70f4c7177c6e34af6ddc73",
"md5": "a02055c26182b73e7768a6c87b25b42a",
"sha256": "d93d347351240ddb14cfe201987a2d32cf9d7f478b8b2fabed3015b425b3274f"
},
"downloads": -1,
"filename": "google-cloud-logging-3.10.0.tar.gz",
"has_sig": false,
"md5_digest": "a02055c26182b73e7768a6c87b25b42a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 261732,
"upload_time": "2024-03-14T18:19:25",
"upload_time_iso_8601": "2024-03-14T18:19:25.268936Z",
"url": "https://files.pythonhosted.org/packages/78/03/bdc1f36b1a30be8653c91c995b2d8e917e2c0f70f4c7177c6e34af6ddc73/google-cloud-logging-3.10.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-14 18:19:25",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "googleapis",
"github_project": "python-logging",
"travis_ci": false,
"coveralls": true,
"github_actions": false,
"lcname": "google-cloud-logging"
}