django-log-outgoing-requests


Namedjango-log-outgoing-requests JSON
Version 0.6.1 PyPI version JSON
download
home_pagehttps://github.com/maykinmedia/django-log-outgoing-requests
SummaryLog outgoing requests made by the requests python library
upload_time2024-02-12 10:38:10
maintainer
docs_urlNone
authorMaykin Media
requires_python
licenseMIT
keywords logging
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            django-log-outgoing-requests
=================================================

:Version: 0.6.1
:Source: https://github.com/maykinmedia/django-log-outgoing-requests
:Keywords: logging, django, requests
:PythonVersion: 3.8+

|build-status| |code-quality| |black| |coverage| |docs|

|python-versions| |django-versions| |pypi-version|

A logging solution for outgoing requests made via the requests_ library.

django-log-outgoing-requests provides a custom formatter and handler for the Python
``logging`` standard library. It integrates with existing logging configuration and
provides (configuration) options to save the log records to the database.

You would typically use this as a tool to debug integration with external HTTP services,
via log shipping solutions and/or the Django admin.


.. contents::

.. section-numbering::

Features
========

* log formatter for a readable representation of a request and response
* log handler to persist relevant log records to the database
* configurable via Django settings
* runtime configuration in the admin, overriding defaults from Django settings.

Usage
=====

Please see the hosted documentation_ for installation, configuration and usage
instructions.

Local development
=================

To install and develop the library locally, use:

.. code-block:: bash

    pip install -e --no-build-isolation .[tests,coverage,docs,pep8,release]


.. _`requests`: https://pypi.org/project/requests/

.. _`documentation`: https://docs.djangoproject.com/en/4.1/topics/logging/

.. |build-status| image:: https://github.com/maykinmedia/django-log-outgoing-requests/workflows/Run%20CI/badge.svg
    :alt: Build status
    :target: https://github.com/maykinmedia/django-log-outgoing-requests/actions?query=workflow%3A%22Run+CI%22

.. |code-quality| image:: https://github.com/maykinmedia/django-log-outgoing-requests/workflows/Code%20quality%20checks/badge.svg
     :alt: Code quality checks
     :target: https://github.com/maykinmedia/django-log-outgoing-requests/actions?query=workflow%3A%22Code+quality+checks%22

.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/psf/black

.. |coverage| image:: https://codecov.io/gh/maykinmedia/django-log-outgoing-requests/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/maykinmedia/django-log-outgoing-requests
    :alt: Coverage status

.. |docs| image:: https://readthedocs.org/projects/django-log-outgoing-requests/badge/?version=latest
    :target: https://django-log-outgoing-requests.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

.. |python-versions| image:: https://img.shields.io/pypi/pyversions/django-log-outgoing-requests.svg

.. |django-versions| image:: https://img.shields.io/pypi/djversions/django-log-outgoing-requests.svg

.. |pypi-version| image:: https://img.shields.io/pypi/v/django-log-outgoing-requests.svg
    :target: https://pypi.org/project/django-log-outgoing-requests/

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/maykinmedia/django-log-outgoing-requests",
    "name": "django-log-outgoing-requests",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "logging",
    "author": "Maykin Media",
    "author_email": "support@maykinmedia.nl",
    "download_url": "https://files.pythonhosted.org/packages/19/9b/e88d51fa1ae93b8effae090874f25784dc8dc49288f529419eff7fcaf557/django-log-outgoing-requests-0.6.1.tar.gz",
    "platform": null,
    "description": "django-log-outgoing-requests\n=================================================\n\n:Version: 0.6.1\n:Source: https://github.com/maykinmedia/django-log-outgoing-requests\n:Keywords: logging, django, requests\n:PythonVersion: 3.8+\n\n|build-status| |code-quality| |black| |coverage| |docs|\n\n|python-versions| |django-versions| |pypi-version|\n\nA logging solution for outgoing requests made via the requests_ library.\n\ndjango-log-outgoing-requests provides a custom formatter and handler for the Python\n``logging`` standard library. It integrates with existing logging configuration and\nprovides (configuration) options to save the log records to the database.\n\nYou would typically use this as a tool to debug integration with external HTTP services,\nvia log shipping solutions and/or the Django admin.\n\n\n.. contents::\n\n.. section-numbering::\n\nFeatures\n========\n\n* log formatter for a readable representation of a request and response\n* log handler to persist relevant log records to the database\n* configurable via Django settings\n* runtime configuration in the admin, overriding defaults from Django settings.\n\nUsage\n=====\n\nPlease see the hosted documentation_ for installation, configuration and usage\ninstructions.\n\nLocal development\n=================\n\nTo install and develop the library locally, use:\n\n.. code-block:: bash\n\n    pip install -e --no-build-isolation .[tests,coverage,docs,pep8,release]\n\n\n.. _`requests`: https://pypi.org/project/requests/\n\n.. _`documentation`: https://docs.djangoproject.com/en/4.1/topics/logging/\n\n.. |build-status| image:: https://github.com/maykinmedia/django-log-outgoing-requests/workflows/Run%20CI/badge.svg\n    :alt: Build status\n    :target: https://github.com/maykinmedia/django-log-outgoing-requests/actions?query=workflow%3A%22Run+CI%22\n\n.. |code-quality| image:: https://github.com/maykinmedia/django-log-outgoing-requests/workflows/Code%20quality%20checks/badge.svg\n     :alt: Code quality checks\n     :target: https://github.com/maykinmedia/django-log-outgoing-requests/actions?query=workflow%3A%22Code+quality+checks%22\n\n.. |black| image:: https://img.shields.io/badge/code%20style-black-000000.svg\n    :target: https://github.com/psf/black\n\n.. |coverage| image:: https://codecov.io/gh/maykinmedia/django-log-outgoing-requests/branch/master/graph/badge.svg\n    :target: https://codecov.io/gh/maykinmedia/django-log-outgoing-requests\n    :alt: Coverage status\n\n.. |docs| image:: https://readthedocs.org/projects/django-log-outgoing-requests/badge/?version=latest\n    :target: https://django-log-outgoing-requests.readthedocs.io/en/latest/?badge=latest\n    :alt: Documentation Status\n\n.. |python-versions| image:: https://img.shields.io/pypi/pyversions/django-log-outgoing-requests.svg\n\n.. |django-versions| image:: https://img.shields.io/pypi/djversions/django-log-outgoing-requests.svg\n\n.. |pypi-version| image:: https://img.shields.io/pypi/v/django-log-outgoing-requests.svg\n    :target: https://pypi.org/project/django-log-outgoing-requests/\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Log outgoing requests made by the requests python library",
    "version": "0.6.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/maykinmedia/django-log-outgoing-requests/issues",
        "Changelog": "https://github.com/maykinmedia/django-log-outgoing-requests/blob/main/CHANGELOG.rst",
        "Documentation": "http://django-log-outgoing-requests.readthedocs.io/en/latest/",
        "Homepage": "https://github.com/maykinmedia/django-log-outgoing-requests",
        "Source Code": "https://github.com/maykinmedia/django-log-outgoing-requests"
    },
    "split_keywords": [
        "logging"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c3b1859781bb3d41f6e7a143a74a9e5004714289d14401458cbbfd8df5511317",
                "md5": "a9bb6e89569f8f59c89cc5616ad79289",
                "sha256": "6e39bb530f760104437117acf279bc76b2a5cc9b2304e35fffa117b28c15b11c"
            },
            "downloads": -1,
            "filename": "django_log_outgoing_requests-0.6.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a9bb6e89569f8f59c89cc5616ad79289",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 29046,
            "upload_time": "2024-02-12T10:38:07",
            "upload_time_iso_8601": "2024-02-12T10:38:07.460134Z",
            "url": "https://files.pythonhosted.org/packages/c3/b1/859781bb3d41f6e7a143a74a9e5004714289d14401458cbbfd8df5511317/django_log_outgoing_requests-0.6.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "199be88d51fa1ae93b8effae090874f25784dc8dc49288f529419eff7fcaf557",
                "md5": "3a320b4c057c70d254c77834a3ab618e",
                "sha256": "8d8bc94994099f27704e50854e6cda7d1be05631b81197b195d764e6c568c2f7"
            },
            "downloads": -1,
            "filename": "django-log-outgoing-requests-0.6.1.tar.gz",
            "has_sig": false,
            "md5_digest": "3a320b4c057c70d254c77834a3ab618e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 26660,
            "upload_time": "2024-02-12T10:38:10",
            "upload_time_iso_8601": "2024-02-12T10:38:10.444617Z",
            "url": "https://files.pythonhosted.org/packages/19/9b/e88d51fa1ae93b8effae090874f25784dc8dc49288f529419eff7fcaf557/django-log-outgoing-requests-0.6.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-12 10:38:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "maykinmedia",
    "github_project": "django-log-outgoing-requests",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "django-log-outgoing-requests"
}
        
Elapsed time: 0.96647s