{ "info": { "author": "Matthias Bussonnier", "author_email": "bussonniermatthias@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License" ], "description": "Withlog\n=======\n\nLogging as a context manager.\n\nVisually inspired by how `Credo `__\nlooks like, I always find difficult to communicate with user in command\nline interface. So this is a logging/printing system which is more block\nbased than line base, and with color also.\n\nThe following will show a nice formatted message :\n\n.. code:: python\n\n with Message('Hello there') as log:\n log('This is a Logging message context manager')\n log('it support nesting and will render in a User friendly way')\n log('I need to fix multi \\nline \\nstring')\n\n.. figure:: ./screenshot/single_message.png\n :alt: \n\nYou can nest these:\n\n.. code:: python\n\n with Message('Hello there') as log:\n log('This is a Logging message context manager')\n log('it support nesting and will render in a User friendly way')\n log('I need to fix multi \\nline \\nstring')\n with Warning('Nested it does support') as log1:\n log1('like Yoda speach order ')\n log1('of words are')\n\n with Critical('Come to the dark side') as log2:\n log2('we have cookies')\n\n with OK(\"Paternity test\") as log3:\n log3('I am your father')\n\nTo get nested messages:\n\n.. figure:: ./screenshot/nested.png\n :alt:", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/Carreau/withlog", "keywords": null, "license": null, "maintainer": null, "maintainer_email": null, "name": "withlog", "package_url": "https://pypi.org/project/withlog/", "platform": null, "project_url": "https://pypi.org/project/withlog/", "project_urls": { "Homepage": "https://github.com/Carreau/withlog" }, "release_url": "https://pypi.org/project/withlog/0.0.3/", "requires_dist": [ "colorama" ], "requires_python": null, "summary": "A context manager to deal with logging level as context manager.", "version": "0.0.3" }, "last_serial": 1850110, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "c769062474701472ca00c532977b5314", "sha256": "db7e7e66e227d1049acd57edbf54ee1e54a3f41dd8c747141fd7840c0d178201" }, "downloads": -1, "filename": "withlog-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c769062474701472ca00c532977b5314", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 2787, "upload_time": "2015-12-02T16:36:19", "url": "https://files.pythonhosted.org/packages/3e/c6/93013faa5b8ba9745d2109bb7ce44d1b7c08b5745c7fa058871a3d14b5e2/withlog-0.0.1-py2.py3-none-any.whl" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "a0d63b23c1ce42933d8a1b9c61b21e08", "sha256": "168b8afea114aebd79cd910212297a215068427d9c9a81b49829ce39f95fd857" }, "downloads": -1, "filename": "withlog-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a0d63b23c1ce42933d8a1b9c61b21e08", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3610, "upload_time": "2015-12-06T18:52:54", "url": "https://files.pythonhosted.org/packages/70/de/fbacd671f5ff603d25c2d51648a480f13af8c425125f4755c64673119794/withlog-0.0.2-py2.py3-none-any.whl" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "8fa4343feb7b9f83cccf44881051436b", "sha256": "3800d684ce1dca5a3ee895cbaf3d405238b8611755b037873e28b5d62ba7d8ed" }, "downloads": -1, "filename": "withlog-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8fa4343feb7b9f83cccf44881051436b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10501, "upload_time": "2015-12-07T13:54:51", "url": "https://files.pythonhosted.org/packages/d7/c8/19bccf635e7a8e2dbeb9d032120c40c2ef91bcc7a16588d67164fc015f74/withlog-0.0.3-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8fa4343feb7b9f83cccf44881051436b", "sha256": "3800d684ce1dca5a3ee895cbaf3d405238b8611755b037873e28b5d62ba7d8ed" }, "downloads": -1, "filename": "withlog-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8fa4343feb7b9f83cccf44881051436b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10501, "upload_time": "2015-12-07T13:54:51", "url": "https://files.pythonhosted.org/packages/d7/c8/19bccf635e7a8e2dbeb9d032120c40c2ef91bcc7a16588d67164fc015f74/withlog-0.0.3-py2.py3-none-any.whl" } ] }