{ "info": { "author": "David Garcia Garzon", "author_email": "voki@canvoki.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "consolemsg\n==========\n\nSemantically colorifies console output messages with ANSI codes.\n\nThe goal of the module is to centralize how console messages\nare printed depending on the intent.\nInstead of `print()` you can use:\n\n- `step()`\n- `error()`\n- `warn()`\n- `success()`\n- `out()`\n\nAlso `fail()` prints an error and exits.\n\nAll consolemsg functions, but `out`, output to `sys.stderr`,\nso they will be separated from your `stdout` when piping.\n\nExtra arguments, will be inserted into the message with format.\n\nFor serious logging you should use the `logging` standard module.\nThis is a quick and simple solution make the user aware of the\nrelevance of the outputs.\n\nAlso those functions are Py2 backwards compatible,\nso you can use them instead of regular `print` to make\nyour code portable.\n\n# Changelog\n\n## consolemsg 0.3.3 2019-07-27\n\n- Fix: Not incluiding CHANGES into the sdist prevented to install\n\n## consolemsg 0.3.2 2019-07-26\n\n- Minor package metadata fixes\n\t- Appending changelog properly\n\t- Added classifiers Python 2 and Console environment\n\n## consolemsg 0.3.1 2019-07-26\n\n- Minor package metadata fixes\n\t- Added changelog to the description\n\n## consolemsg 0.3.0 2019-07-26\n\n- Dropped support for Python 2 < 2.7.1 and Python 3 < 3.3\n- Two helpers `u` and `b` that ensure a nice conversion to `unicode` and `bytes`\n regardles being in Py2 or Py3 and using UTF-8 as default encoding.\n- New `out` function to send undecorated content, but still portable and unicode safe, to stdout\n- Unicode over pipes without needing PYTHONIOENCODING, defaulting to utf-8 instead of ASCII\n\t- Respects stdout/stderr encoding when PYTHONIOENCODING or any other local settings sets it\n- When first parameter is a Py2 str's is decoded as unicode using using UTF-8\n- First parameter can be any formatable type instead of text\n\n## consolemsg 0.2.1 2018-02-06\n\n- Minor package metadata fixes\n\n## consolemsg 0.2.0 2018-02-06\n\n- Extra arguments are inserted into the first one using `format` templating\n\n## consolemsg 0.1.0 2016-01-12\n\n- Backward support for Py2 (avoid using print to stderr)\n- New function `success` to show up successful end of tasks messages (green)\n\n## consolemsg 0.0.0 unreleased\n\n- First version with `step`, `error`, `warn` and `fail`\n- As part of GuifiBaix software 'suro'", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/GuifiBaix/python-consolemsg", "keywords": "", "license": "GNU General Public License v3 or later (GPLv3+)", "maintainer": "", "maintainer_email": "", "name": "consolemsg", "package_url": "https://pypi.org/project/consolemsg/", "platform": "", "project_url": "https://pypi.org/project/consolemsg/", "project_urls": { "Homepage": "https://github.com/GuifiBaix/python-consolemsg" }, "release_url": "https://pypi.org/project/consolemsg/0.3.3/", "requires_dist": null, "requires_python": "", "summary": "Simple semantic functions for colorfull console messages", "version": "0.3.3" }, "last_serial": 5593955, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "23fd2bc6a92785012b6a9f3f6f1a4596", "sha256": "af5f7f26093b706996bd1197938ad79ecebcddf9de443ffbc6f320a3b85af954" }, "downloads": -1, "filename": "consolemsg-0.1.tar.gz", "has_sig": false, "md5_digest": "23fd2bc6a92785012b6a9f3f6f1a4596", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1868, "upload_time": "2016-01-12T17:07:30", "url": "https://files.pythonhosted.org/packages/35/1b/7137b0a973b7644ff454b78b676e4fd093a7ba22ff5945340823a0778e4e/consolemsg-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "07063cb6158cebaaa24253e0a2d25557", "sha256": "9ad155d644adb4f81bb2e18cd126118943831b8cab41a0b9800d8e10512bf14d" }, "downloads": -1, "filename": "consolemsg-0.2.tar.gz", "has_sig": false, "md5_digest": "07063cb6158cebaaa24253e0a2d25557", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1973, "upload_time": "2018-02-06T18:57:03", "url": "https://files.pythonhosted.org/packages/53/43/ed81aff0a2dbc975feb27a5673dcf1e7a2389747dd86213bc0d08e40e34d/consolemsg-0.2.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "5fe7878d2dd3ddaf73f5a7d8a4931e2b", "sha256": "24388863148c4bf306009e240f26195d1a38b6e40ee99670ff90185e97dc99ea" }, "downloads": -1, "filename": "consolemsg-0.2.1.tar.gz", "has_sig": false, "md5_digest": "5fe7878d2dd3ddaf73f5a7d8a4931e2b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2011, "upload_time": "2018-02-06T19:01:10", "url": "https://files.pythonhosted.org/packages/98/b6/5e6ae6cf7504837d38dfc9d54dbf8622fd5c69a795a963fa9973cc9b1aba/consolemsg-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "487e8f15b04c38a97cb941a607ec31fe", "sha256": "37d3f0440e7aec4f37a8208f95a5f8c95e884d260250d7ecb72a7f598f897d32" }, "downloads": -1, "filename": "consolemsg-0.3.0.tar.gz", "has_sig": false, "md5_digest": "487e8f15b04c38a97cb941a607ec31fe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2523, "upload_time": "2019-07-26T09:12:18", "url": "https://files.pythonhosted.org/packages/7f/77/8cee5880ed978aed07ec56b0d86ce6e2156e58c39d2c2b5db72779ebf951/consolemsg-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "6f4da509de2ff546379dde950f4c9cc7", "sha256": "63c6ef9fe235a3513aca2d3e55b9fcc168d8041ae660827bea1a2a8b18413800" }, "downloads": -1, "filename": "consolemsg-0.3.1.tar.gz", "has_sig": false, "md5_digest": "6f4da509de2ff546379dde950f4c9cc7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3169, "upload_time": "2019-07-26T09:30:15", "url": "https://files.pythonhosted.org/packages/bf/e2/29ebc48ea1673152ac8d97e22c3408b55519d6eb6e86dbcdd9bfe4820b95/consolemsg-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "0ab02d1fbddb9e9645ed1d00f37834bc", "sha256": "4d1e21b7b4cdab12ba51092d4176f2f3e913d3d906d67941018d4709c0116f11" }, "downloads": -1, "filename": "consolemsg-0.3.2.tar.gz", "has_sig": false, "md5_digest": "0ab02d1fbddb9e9645ed1d00f37834bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3238, "upload_time": "2019-07-26T09:54:46", "url": "https://files.pythonhosted.org/packages/6a/15/b3cf11f9f0f5a1c0444b4ce9285923061c288442a49266ebab8df3cb2d12/consolemsg-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "4030b62b0ed2dfe489b74d2067c184b8", "sha256": "cf6ca90f1fe398896a79031395d8f9cd4e3cb022f31f69f3f0445eb1061f3a48" }, "downloads": -1, "filename": "consolemsg-0.3.3.tar.gz", "has_sig": false, "md5_digest": "4030b62b0ed2dfe489b74d2067c184b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3358, "upload_time": "2019-07-27T20:35:41", "url": "https://files.pythonhosted.org/packages/e8/b0/b2c535a562af8eac7edb657670cea7f2e27a249b9229a5c2d4c44f54416b/consolemsg-0.3.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4030b62b0ed2dfe489b74d2067c184b8", "sha256": "cf6ca90f1fe398896a79031395d8f9cd4e3cb022f31f69f3f0445eb1061f3a48" }, "downloads": -1, "filename": "consolemsg-0.3.3.tar.gz", "has_sig": false, "md5_digest": "4030b62b0ed2dfe489b74d2067c184b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3358, "upload_time": "2019-07-27T20:35:41", "url": "https://files.pythonhosted.org/packages/e8/b0/b2c535a562af8eac7edb657670cea7f2e27a249b9229a5c2d4c44f54416b/consolemsg-0.3.3.tar.gz" } ] }