{ "info": { "author": "Miloslav Pojman", "author_email": "miloslav.pojman@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP :: WSGI", "Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Logging" ], "description": "Kudzu - set of utilities for better logging in WSGI applications\n==================================================================\n\nKudzu provides WSGI middleware and logging handlers which:\n\n - Read or generate unique ID for each request and include this\n request ID in emitted log records.\n - Sends request ID in response using X-Request-ID header.\n This ID is also made globally available and can included when\n calling other applications or components.\n - Logs all requests and responses using Python standard logging.\n\n\nKudzu is framework independent and it is compatible with both\nPython 2 (tested with 2.6 and 2.7) and Python 3 (tested with 3.3 and 3.4).\n\n\nInstallation\n------------\n\nKudzu can be installed using pip_ (or easy_install) from PyPI: ::\n\n $ pip install kudzu\n\nAlternatively you can download and extract tarball and install the package manually: ::\n\n $ python setup.py install\n\nPlacing the package to your PYTHONPATH should also work.\n\n\nExample usage\n-------------\n\n::\n\n # Apply middleware to WSGI application\n application = kudzify_app(application)\n\n # Include request ID and remote address in log records\n kudzify_logger(format='[%(addr)s|%(rid)s] %(levelname)s:%(message)s')\n\n\nSee `example.py` for more information.\n\n\nTesting\n-------\n\nTests for all supported Python versions can be run using Tox_: ::\n\n $ tox\n\nAlternativelly you can install Kudzu with test dependencies pytest\nand `Werkzeug` and run tests manually: ::\n\n $ py.test\n\n\n.. _pip: https://pypi.python.org/pypi/pip\n.. _Tox: https://testrun.org/tox/latest/", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mila/kudzu", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "Kudzu", "package_url": "https://pypi.org/project/Kudzu/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/Kudzu/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mila/kudzu" }, "release_url": "https://pypi.org/project/Kudzu/0.1/", "requires_dist": null, "requires_python": null, "summary": "Set of utilities for better logging in WSGI applications", "version": "0.1" }, "last_serial": 2094882, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "456ce87d1295e738b1d80da309167698", "sha256": "a3659e8d08a9db6606a5da43cf7cc502d498fc1c1c8de77c2850ea2ff258aa43" }, "downloads": -1, "filename": "Kudzu-0.1.tar.gz", "has_sig": false, "md5_digest": "456ce87d1295e738b1d80da309167698", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12201, "upload_time": "2016-05-02T13:44:23", "url": "https://files.pythonhosted.org/packages/ca/7f/00ac678b7f98a0129eee77704e66a9dd1c72724284060541cf70b1c7827d/Kudzu-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "456ce87d1295e738b1d80da309167698", "sha256": "a3659e8d08a9db6606a5da43cf7cc502d498fc1c1c8de77c2850ea2ff258aa43" }, "downloads": -1, "filename": "Kudzu-0.1.tar.gz", "has_sig": false, "md5_digest": "456ce87d1295e738b1d80da309167698", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12201, "upload_time": "2016-05-02T13:44:23", "url": "https://files.pythonhosted.org/packages/ca/7f/00ac678b7f98a0129eee77704e66a9dd1c72724284060541cf70b1c7827d/Kudzu-0.1.tar.gz" } ] }