{ "info": { "author": "Bartek Brak", "author_email": "bartek0brak@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Bowerbird - A collection of stdlib logging.Formatter classes using Pygments\n===========================================================================\n\nA `bowerbird `__ is known\nto like colours in its courtship behaviours. I do to, in my logging.\n\nInstall\n=======\n\npip install bowerbird\n\nUse\n===\n\ndictConfig:\n-----------\n\n::\n\n LOGGING = {\n ...\n 'formatters': {\n 'bowerbird_formatter': {\n '()': bowerbird.formatters.PygmentsFormatter,\n },\n ...\n }\n\nThen, in code, use with optional extra params:\n\n- ``data``: any python object, can be nested, will be pygentized and pretty printed\n- ``free``: Any text, will also by pygmentized\n- ``sql``: SQL string, will be formatted and pygmentized\n\n::\n\n free = \"db_counts:\\nauth_user from 0 to 10\"\n logger.debug(\n 'I got this data',\n extra={'data': some_obj.__dict__, 'free': free}\n )\n\n\nTODO / Research\n===============\n\n- Add DjangoColorSQLFormatter - ready, but not tested\n- Add SQLAlchemyColorSQLFormatter - ready but not tested\n- Have a look at pip.utils.logging.ColorizedStreamHandler, does it\n overlap?\n- Add Python3 support\n- Add more examples to configuration\n\nLicense\n=======\n\nMIT\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/bartekbrak/bowerbird/archive/0.4.0.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bartekbrak/bowerbird", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "bowerbird", "package_url": "https://pypi.org/project/bowerbird/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/bowerbird/", "project_urls": { "Download": "https://github.com/bartekbrak/bowerbird/archive/0.4.0.tar.gz", "Homepage": "https://github.com/bartekbrak/bowerbird" }, "release_url": "https://pypi.org/project/bowerbird/0.4.0/", "requires_dist": null, "requires_python": null, "summary": "A collection of stdlib logging.Formatter classes using Pygments", "version": "0.4.0" }, "last_serial": 1978798, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "caeef62549fee07cabfa5e0885b919c7", "sha256": "909b8b17614d8ea00288976463f04ebf03fae742ad1ecb210e5156b031be720f" }, "downloads": -1, "filename": "bowerbird-0.1.1.tar.gz", "has_sig": false, "md5_digest": "caeef62549fee07cabfa5e0885b919c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2211, "upload_time": "2016-01-17T17:37:41", "url": "https://files.pythonhosted.org/packages/a9/dc/84c7cc83f40db1adcc891bbf16a492f8c4bb0bc2f05584c8c5085a874495/bowerbird-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "c7b7a10164a6cf10a959360ae5a775ac", "sha256": "3b771fca61cfa2b5926d539a5e88ce91972b5105d45ecf76c4ffb7f340dd60bb" }, "downloads": -1, "filename": "bowerbird-0.1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "c7b7a10164a6cf10a959360ae5a775ac", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 3119, "upload_time": "2016-01-17T17:55:30", "url": "https://files.pythonhosted.org/packages/d4/79/f98b079f04b522d72b477a889299a63a7fc910220aefd8d07021cba9b4cb/bowerbird-0.1.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "115eeef02eb3b82c11c11877fabea9de", "sha256": "c1815b26984e41e36cb5ce9c0415737ccd163da863e0625bdb5a2c062f78249a" }, "downloads": -1, "filename": "bowerbird-0.1.2.tar.gz", "has_sig": false, "md5_digest": "115eeef02eb3b82c11c11877fabea9de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2294, "upload_time": "2016-01-17T17:54:45", "url": "https://files.pythonhosted.org/packages/96/df/cc549dc317a9bd19fb50eec577e801da6e9e3f0a13db123f0bfc5f491612/bowerbird-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "7fffa0f8884d941865cdad3406173ef1", "sha256": "756c995f4ddd2cda481aeb042383c5025d834429ee3d17dbc5599d1b2528434a" }, "downloads": -1, "filename": "bowerbird-0.2.0-py2-none-any.whl", "has_sig": false, "md5_digest": "7fffa0f8884d941865cdad3406173ef1", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 3101, "upload_time": "2016-01-17T18:58:25", "url": "https://files.pythonhosted.org/packages/1c/a1/549413f7e572ec083d1dc434cd4e51bc9f90a8d180224d7da121a3b7d17a/bowerbird-0.2.0-py2-none-any.whl" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "ad9370313d362bbb43aa1464b96bc42f", "sha256": "aeb80b2e8a5b2c95193fb140f595c6fe5e2a843e4f35b4991d13bcf3cfc147c5" }, "downloads": -1, "filename": "bowerbird-0.2.1-py2-none-any.whl", "has_sig": false, "md5_digest": "ad9370313d362bbb43aa1464b96bc42f", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 3065, "upload_time": "2016-01-17T19:02:43", "url": "https://files.pythonhosted.org/packages/62/07/f1e0768f9f101872363530d690f383ae3ac412414961762a473008d53685/bowerbird-0.2.1-py2-none-any.whl" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "1c1fdc724a7c3dcd73f3b3197c939f14", "sha256": "02eb6f5ab2b7b6d3653502051268717a5c64a43826fed5fc330b5f60c571751b" }, "downloads": -1, "filename": "bowerbird-0.2.2-py2-none-any.whl", "has_sig": false, "md5_digest": "1c1fdc724a7c3dcd73f3b3197c939f14", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 3090, "upload_time": "2016-01-17T19:13:38", "url": "https://files.pythonhosted.org/packages/a8/7e/174f02ddc2f1610eebd8380bb8201832fa1347066b3c73a9ee6630a4d6ff/bowerbird-0.2.2-py2-none-any.whl" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "f8548001905c739a2d3a62d8de81211d", "sha256": "b819d7d8317a5154b60e6b941413784e1a3ee655c300b6a022a4f440c71fdd76" }, "downloads": -1, "filename": "bowerbird-0.3.0-py2-none-any.whl", "has_sig": false, "md5_digest": "f8548001905c739a2d3a62d8de81211d", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 3342, "upload_time": "2016-01-26T08:16:31", "url": "https://files.pythonhosted.org/packages/a4/10/a50900c885cf9203ab77d767bc0ba61095f98e48df07ea945b646b00e665/bowerbird-0.3.0-py2-none-any.whl" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "7ea5c0fad4b56262e7a7fb6bde9ba0e5", "sha256": "747ff507902ca045300dedabd8788c8950b044459a7b144fe5c56be857fd98eb" }, "downloads": -1, "filename": "bowerbird-0.4.0.tar.gz", "has_sig": false, "md5_digest": "7ea5c0fad4b56262e7a7fb6bde9ba0e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2565, "upload_time": "2016-02-26T21:17:32", "url": "https://files.pythonhosted.org/packages/c9/5e/ff387bfb7868aa759792021325cce4dd24fe09925d4311ad8cb06093a1b1/bowerbird-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7ea5c0fad4b56262e7a7fb6bde9ba0e5", "sha256": "747ff507902ca045300dedabd8788c8950b044459a7b144fe5c56be857fd98eb" }, "downloads": -1, "filename": "bowerbird-0.4.0.tar.gz", "has_sig": false, "md5_digest": "7ea5c0fad4b56262e7a7fb6bde9ba0e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2565, "upload_time": "2016-02-26T21:17:32", "url": "https://files.pythonhosted.org/packages/c9/5e/ff387bfb7868aa759792021325cce4dd24fe09925d4311ad8cb06093a1b1/bowerbird-0.4.0.tar.gz" } ] }