{ "info": { "author": "Arnelle Balane", "author_email": "arnellebalane@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "prettylogger\n============\n\nLogs things (dicts, tuples, lists, etc) in color and beautiful format.\n\n####Installation\n\nThis package can be installed from PyPI using `pip`. Make sure you have `pip` \ninstalled then run:\n\n```\n$ pip install prettylogger\n```\n\n#####Installation Using Buildout\n\nIf you're using Buildout and want to use prettylogger you can do so by adding \nthe following lines to your `buildout.cfg` file:\n\n```\n[prettylogger]\nrecipe = zc.recipe.egg\neggs = prettylogger\n```\n\nand appending `prettylogger` to your `buildout:parts`.\n\n####Usage\n\nLogging beautifully formatted things is as easy as:\n\n```\nfrom prettylogger.utils import log\n\nthing = {'name': 'prettylogger', 'version': '0.1.0'}\nmode = 'rb' # Discussion below\nlog(thing, mode)\n```\n\nAnd it will log the following: \n\n![prettylogger output](http://i.imgur.com/HnbrCtj.png \"prettylogger output\")\n\n#####Formatting Options\n\nThe `mode` parameter for the `log` function is a string with each character \nbeing one of the following:\n\n- `p`: print the thing in purple\n- `c`: print the thing in cyan\n- `y`: print the thing in yellow\n- `g`: print the thing in green\n- `r`: print the thing in red\n- `b`: print the thing in bold characters\n\nSo the `mode` used in the example above, `rb`, tells the `log` method to print\nthe thing in color red and bold characters.\n\n####Contributing\n\nTo contribute to this mini-project just fork this repository, clone your forked \nrepository and run buildout inside the project directory.\n\n```\n$ git clone git@github.com:arnellebalane/prettylogger.git\n$ cd prettylogger\n$ ./bin/buildout\n```\n\nThis will take care of retrieving the project's dependencies.\n\nWhen contributing new code to the project, please test your code. The test specs\nare in the `src/prettylogger/tests.py` file. To run the tests simply do:\n\n```\n$ ./bin/test\n```\n\nMerging your code into this main repository must be done through pull requests.\n\n####Bugs and Issues\n\nIf you find any bugs and issues in this project, please report them by opening \nan issue here.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/arnellebalane/prettylogger", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "prettylogger", "package_url": "https://pypi.org/project/prettylogger/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/prettylogger/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/arnellebalane/prettylogger" }, "release_url": "https://pypi.org/project/prettylogger/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Logs things in color and beautiful format.", "version": "0.1.0" }, "last_serial": 1172577, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "12ec96e0bde6e1e029941802a77085ad", "sha256": "be2f55e1628dce1cae10ad32fbef59d84aa026bd19fd8639bedf0719bed450b4" }, "downloads": -1, "filename": "prettylogger-0.1.0-py2.7.egg", "has_sig": false, "md5_digest": "12ec96e0bde6e1e029941802a77085ad", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4891, "upload_time": "2014-07-29T04:52:17", "url": "https://files.pythonhosted.org/packages/2b/a6/a68d1b0f181ea11a41a2806bdd55d41972c1240f5e2d3cf9953f11a96ca8/prettylogger-0.1.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "a3f3f4e75658ebb3d06065c8f7e91c85", "sha256": "d43da2bb57020f88bac2e572b364e7da33f4bb10a80615a53a8ff9adfe003e0c" }, "downloads": -1, "filename": "prettylogger-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a3f3f4e75658ebb3d06065c8f7e91c85", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2694, "upload_time": "2014-07-29T04:52:13", "url": "https://files.pythonhosted.org/packages/03/6d/1d9c5369860f578dd2f0cb41281ab928876f527cf6ae37a422d2a79c9820/prettylogger-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "12ec96e0bde6e1e029941802a77085ad", "sha256": "be2f55e1628dce1cae10ad32fbef59d84aa026bd19fd8639bedf0719bed450b4" }, "downloads": -1, "filename": "prettylogger-0.1.0-py2.7.egg", "has_sig": false, "md5_digest": "12ec96e0bde6e1e029941802a77085ad", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4891, "upload_time": "2014-07-29T04:52:17", "url": "https://files.pythonhosted.org/packages/2b/a6/a68d1b0f181ea11a41a2806bdd55d41972c1240f5e2d3cf9953f11a96ca8/prettylogger-0.1.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "a3f3f4e75658ebb3d06065c8f7e91c85", "sha256": "d43da2bb57020f88bac2e572b364e7da33f4bb10a80615a53a8ff9adfe003e0c" }, "downloads": -1, "filename": "prettylogger-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a3f3f4e75658ebb3d06065c8f7e91c85", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2694, "upload_time": "2014-07-29T04:52:13", "url": "https://files.pythonhosted.org/packages/03/6d/1d9c5369860f578dd2f0cb41281ab928876f527cf6ae37a422d2a79c9820/prettylogger-0.1.0.tar.gz" } ] }