{ "info": { "author": "Kevin Sacca", "author_email": "ssriceboat@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Build Tools" ], "description": "riceprint\n=========\n\n|shield1| |shield2| |shield3| |shield4| |shield5|\n\n.. |shield1| image:: https://img.shields.io/github/release/ssriceboat/riceprint.svg?color=blue\n :width: 20%\n\n.. |shield2| image:: https://img.shields.io/badge/Python-%3E=3.5-blue.svg?color=e6ac00\n :width: 20%\n\n.. |shield3| image:: https://img.shields.io/badge/platform-Windows%20%7C%20macOS%20%7C%20Linux-lightgrey.svg\n :width: 24%\n\n.. |shield4| image:: https://img.shields.io/github/license/ssriceboat/riceprint.svg?color=blue\n :width: 20%\n\n.. |shield5| image:: https://img.shields.io/pypi/dm/riceprint.svg?color=blueviolet\n :width: 20%\n\n|gifdemo|\n\n.. |gifdemo| image:: https://github.com/ssriceboat/riceprint/raw/master/screenshots/demo.gif\n :width: 60%\n\nAbout\n=====\n\nAuthor: Kevin Sacca ssriceboat@gmail.com\n\nSimple Python package to replace the built-in print() function. This\nmodule contains functions for colored print statements and temporary\nprint statements. Also contained in this package is a full-featured\nexample usage of this package's tprint() function to create a beautiful\nprogressbar in the console.\n\nWorks on Linux, macOS, Windows. For Windows, install colorama. (https://pypi.org/project/colorama/)\n\nLicense\n=======\n\nMIT License\n\nCopyright (c) 2019 ssriceboat\n\nPermission is hereby granted, free of charge, to any person obtaining a\ncopy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be included\nin all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\nOR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nInstallation\n============\n\nUsing pip\n~~~~~~~~~\n\n.. code:: bash\n\n pip install riceprint\n\nUsage:\n======\n\nAfter you have installed the package, check that its working by running\nthe module directly. This will show you all the vailable print colors:\n\n.. code:: bash\n\n cd /path/to/riceprint-package/src/riceprint/\n python riceprint.py\n\nBelow is an example of how you can use the functions:\n\n.. code:: python\n\n from riceprint import tprint, pprint, progressbar\n import time\n\n # Simple pprint, tprint demo\n print('This is not using riceprint.')\n pprint('This is using riceprint. (Same unless you add some spice)')\n pprint('This is using riceprint with style.', 'c')\n tprint('This message will be erased by the next line.', 'b')\n tprint('This message overwrites the previous tprint and will also be overwritten.', 'r')\n pprint('This message overwrites the previous tprint and is permanent.', 'g')\n\n # Overwriting previous messages, like status changes.\n message = 'This is an example of something you can do with tprint().'\n elements = message.split(' ')\n some_colors = ['r', 'g', 'b', 'c', 'm', 'y', 'k', 'w', 'dr', 'dk', 'dc']\n for i in range(len(elements)):\n msg = ''\n for y in range(i + 1):\n msg += elements[y] + ' '\n\n color = some_colors[i]\n\n tprint(msg, color)\n time.sleep(0.25)\n\n # Progress bar example\n for x in range(100 + 1):\n progressbar(x, 100, color='dg', char='\\u2587', lend='|', rend='|')\n time.sleep(0.01)\n\n # Adding keep=True here will leave the completed progressbar in the console\n progressbar(x, 100, color='dg', char='\\u2587', lend='|', rend='|', keep=True)\n\n pprint('Done! I hope you use this package!', 'dm')", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ssriceboat/riceprint", "keywords": "print console terminal shell python pprint color progress bar", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "riceprint", "package_url": "https://pypi.org/project/riceprint/", "platform": "", "project_url": "https://pypi.org/project/riceprint/", "project_urls": { "Homepage": "https://github.com/ssriceboat/riceprint" }, "release_url": "https://pypi.org/project/riceprint/1.5.6/", "requires_dist": null, "requires_python": "", "summary": "OS-agnostic colored & custom Python console print() functions.", "version": "1.5.6" }, "last_serial": 5543925, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "80ce7db9716dd5546fada9126bd07f4a", "sha256": "2bb8349e5b75c19cd1366784a0885fc7b76b13da7095275dc4d2350ac17d6c96" }, "downloads": -1, "filename": "riceprint-1.0.0.tar.gz", "has_sig": false, "md5_digest": "80ce7db9716dd5546fada9126bd07f4a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6731, "upload_time": "2019-07-15T00:16:54", "url": "https://files.pythonhosted.org/packages/5a/47/3287c56c43c6554317f9289db122192f968b76b65c6380a9101c41e4199c/riceprint-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "92ce78519bdd6b47afa4ec794999a96e", "sha256": "eeb01ef549c1c696f837ef8968ede57a5b32ddebecd24084b23c0ad3c4432cf6" }, "downloads": -1, "filename": "riceprint-1.0.1.tar.gz", "has_sig": false, "md5_digest": "92ce78519bdd6b47afa4ec794999a96e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6741, "upload_time": "2019-07-15T00:20:48", "url": "https://files.pythonhosted.org/packages/3b/7d/a94e4fc6ab2463dc7f1af351fa35f0d07c9451938e85aa62b7e8e174ec22/riceprint-1.0.1.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "6457e61e1005be0826339397c231edf8", "sha256": "5db9cf18e1023c8aad741c861ad0f174f3ecd20e00f1d1e3380b61a15883412d" }, "downloads": -1, "filename": "riceprint-1.1.0.tar.gz", "has_sig": false, "md5_digest": "6457e61e1005be0826339397c231edf8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6723, "upload_time": "2019-07-15T00:29:05", "url": "https://files.pythonhosted.org/packages/25/ca/4cf69536506df2b657b0af9cb053c60ad1799ca45cab544e79bebf05690a/riceprint-1.1.0.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "2569e01a21a38cb9231645c504ad11f7", "sha256": "0e43d5a2c74d001f4ee8b1daf45665b8e8d71168261358ddbee77f113276424f" }, "downloads": -1, "filename": "riceprint-1.2.0.tar.gz", "has_sig": false, "md5_digest": "2569e01a21a38cb9231645c504ad11f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6723, "upload_time": "2019-07-15T00:34:12", "url": "https://files.pythonhosted.org/packages/11/fb/b0f4e0b2a2cf3efbd96234850deeae9d55981b077f242302f860e75307c4/riceprint-1.2.0.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "17c524e7b3d86a6e4c7cd90a7e0d8ca7", "sha256": "e1bed8941695162fa63ec78612a2dfb6838702fb2408455022bf360dbc4579a4" }, "downloads": -1, "filename": "riceprint-1.3.0.tar.gz", "has_sig": false, "md5_digest": "17c524e7b3d86a6e4c7cd90a7e0d8ca7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6723, "upload_time": "2019-07-15T00:59:29", "url": "https://files.pythonhosted.org/packages/a3/c5/11dd4d14db04807bebde64725cc57b9f535e3da1d0ae1a2fb728643653db/riceprint-1.3.0.tar.gz" } ], "1.4.0": [ { "comment_text": "", "digests": { "md5": "ad805de711d706bf7d213d23cac6c7b1", "sha256": "02b102e8e699ccc4425ab8f8132c06e9ad364780c7cf621a91f5a5a8b23e6c1f" }, "downloads": -1, "filename": "riceprint-1.4.0.tar.gz", "has_sig": false, "md5_digest": "ad805de711d706bf7d213d23cac6c7b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6953, "upload_time": "2019-07-15T03:01:14", "url": "https://files.pythonhosted.org/packages/06/c6/b5d36a80a99e4c83eeee60f788491f0513a079a06a8ee4f47e3857f22360/riceprint-1.4.0.tar.gz" } ], "1.5.0": [ { "comment_text": "", "digests": { "md5": "711ce33db4ace4592f7b9789ab2d7d0a", "sha256": "30ec8aca1ed962b34b077aeb516399b7ca5a378a69ac9b5013741cbd2c8b3030" }, "downloads": -1, "filename": "riceprint-1.5.0.tar.gz", "has_sig": false, "md5_digest": "711ce33db4ace4592f7b9789ab2d7d0a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7070, "upload_time": "2019-07-15T03:05:37", "url": "https://files.pythonhosted.org/packages/82/4a/dcab78e0e4b8e584f676ffd918912436a0d3798f433a451e859c58c601eb/riceprint-1.5.0.tar.gz" } ], "1.5.1": [ { "comment_text": "", "digests": { "md5": "47bfb585aa4ac942e1d540534cceaa2b", "sha256": "136b43cc9e18a600b0ce308d4d1dc2c6e3ac376512465b6dc34af0c1578c9cc4" }, "downloads": -1, "filename": "riceprint-1.5.1.tar.gz", "has_sig": false, "md5_digest": "47bfb585aa4ac942e1d540534cceaa2b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7059, "upload_time": "2019-07-16T01:33:24", "url": "https://files.pythonhosted.org/packages/43/e5/2e2f9cba3ff7de98d902397c8a9d8e5cddb0a871a99b5d6d90c47cc3fdfa/riceprint-1.5.1.tar.gz" } ], "1.5.2": [ { "comment_text": "", "digests": { "md5": "fc0fbf72a0f2c254429d7b49a67a6aad", "sha256": "16a001be80bb05fdc40499586b4bf3a3d72b1ca79e596aa0dc97ce99efbe92fd" }, "downloads": -1, "filename": "riceprint-1.5.2.tar.gz", "has_sig": false, "md5_digest": "fc0fbf72a0f2c254429d7b49a67a6aad", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7196, "upload_time": "2019-07-17T03:31:11", "url": "https://files.pythonhosted.org/packages/42/75/3f43d70e0c046e545cf26717c2859ce6b47a625bdfbe081c3223b6286b02/riceprint-1.5.2.tar.gz" } ], "1.5.3": [ { "comment_text": "", "digests": { "md5": "8101164ee8c4bb5439480d7437bcf827", "sha256": "3a44accbdf1a25b4cde8b4a8b29fa592cc6c398921dc3fd43624f38cab851b1d" }, "downloads": -1, "filename": "riceprint-1.5.3.tar.gz", "has_sig": false, "md5_digest": "8101164ee8c4bb5439480d7437bcf827", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7192, "upload_time": "2019-07-17T03:47:50", "url": "https://files.pythonhosted.org/packages/38/2e/eed33f8139a757f74dfbeedc420b28e8ba00b1beafe1a9c069b8f49cffb7/riceprint-1.5.3.tar.gz" } ], "1.5.4": [ { "comment_text": "", "digests": { "md5": "3fa90f7014d163177af3855a76fc9f73", "sha256": "02aad82d72b24edfe63c9fbcc5c424f498ef22045330e8118d03ce02d89c27b0" }, "downloads": -1, "filename": "riceprint-1.5.4.tar.gz", "has_sig": false, "md5_digest": "3fa90f7014d163177af3855a76fc9f73", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7189, "upload_time": "2019-07-17T04:00:20", "url": "https://files.pythonhosted.org/packages/c4/7b/ed734d243041a4352bbb91117b34620816e7d26eed44d127374f118b686b/riceprint-1.5.4.tar.gz" } ], "1.5.5": [ { "comment_text": "", "digests": { "md5": "4bf223dc079f416a71497e495ea57e77", "sha256": "2028a8fc26c5fdc72e55088eedcb28f837cc6f3eb7c97674510198d1da68a5a2" }, "downloads": -1, "filename": "riceprint-1.5.5.tar.gz", "has_sig": false, "md5_digest": "4bf223dc079f416a71497e495ea57e77", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7224, "upload_time": "2019-07-17T04:07:06", "url": "https://files.pythonhosted.org/packages/17/34/3791074c772b9dc26ceacc22f387302e8fde494fb8737e1f9cfc8675c1f5/riceprint-1.5.5.tar.gz" } ], "1.5.6": [ { "comment_text": "", "digests": { "md5": "444dcc458842f3b34fe1fdadaf1d5506", "sha256": "bfd955c9ae3170b5a35638da88f1f600f8ea3488c527a1e142cdd2f32b69585a" }, "downloads": -1, "filename": "riceprint-1.5.6.tar.gz", "has_sig": false, "md5_digest": "444dcc458842f3b34fe1fdadaf1d5506", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7247, "upload_time": "2019-07-17T04:10:37", "url": "https://files.pythonhosted.org/packages/29/60/b58028bd7a4789d73c3bb1524d57a0cbe428d573a29a1efdba8d90718ff1/riceprint-1.5.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "444dcc458842f3b34fe1fdadaf1d5506", "sha256": "bfd955c9ae3170b5a35638da88f1f600f8ea3488c527a1e142cdd2f32b69585a" }, "downloads": -1, "filename": "riceprint-1.5.6.tar.gz", "has_sig": false, "md5_digest": "444dcc458842f3b34fe1fdadaf1d5506", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7247, "upload_time": "2019-07-17T04:10:37", "url": "https://files.pythonhosted.org/packages/29/60/b58028bd7a4789d73c3bb1524d57a0cbe428d573a29a1efdba8d90718ff1/riceprint-1.5.6.tar.gz" } ] }