Skip to content

libranet/httpclient-logging

Repository files navigation

Testing Linting Read the Docs Codecov PyPi Package MIT License

Installation

Install via pip:

> bin/pip install httpclient-logging

Install via uv:

> uv add httpclient-logging

Install via poetry:

> poetry add httpclient-logging

Usage

The only thing left to do for you is the create a .env in the root of your project.

Registered sitecustomize-entrypoint

The httpclient_logging.entrypoint-function is registered as a sitecustomize-entrypoint in our pyproject.toml_:

via uv:

    [project.entry-points."sitecustomize"]
    httpclient_logging = "httpclient_logging.patch:configure"

via poetry:

    [tool.poetry.plugins]
    [tool.poetry.plugins."sitecustomize"]
    httpclient_logging = "httpclient_logging:entrypoint"

Sitecustomize and all its registered entrypoints will be executed at the start of every python-process. For more information, please see sitecustomize-entrypoints

Compatibility

Python Version PyPI - Implementation

httpclient-logging works on Python 3.8+, including PyPy3. Tested until Python 3.13,

Notable dependencies

About

Monkeypatch httpclient's print-statement in python standard lib to use a logcall.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Contributors 2

  •  
  •