{
"info": {
"author": "Jacky Zhao",
"author_email": "j.zhao2k19@gmail.com",
"bugtrack_url": null,
"classifiers": [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6"
],
"description": "# ThrowColour\n\nThrowColour is a small Python module to make printing messages with formatting and colours easier! This module is mostly just practice with creating a working pip module for learning purposes.\n\n## Features\n\n - Supports different types of print messages with colour coding\n - Support basic formatting (bold, italics)\n - Supports timestamp printing\n\n## Usage\n### Getting it\n\nTo download throwcolour, either fork this Github repo or simply use Pypi via pip.\n```sh\n$ pip install throwcolour\n```\n\n### Using it\n\nA few functional examples of how to use ThrowColour.\n\n##### Basic Functionality\n\nA basic example of how to use the ```cthrow``` function.\n\n```Python\nfrom throwcolour import cthrow\ncthrow('Test 1,2')\n```\n\nThis would print the message ```DATETIME - [INFO] Test 1,2``` in a nice looking purple with ```DATETIME``` replaced with the current timestamp.\n\n\n\n
\n\n##### The ```cthrow``` function\n\nThe full ```cthrow``` function is as follows:\n```Python\ncthrow(message, type='INFO', formatting=None, addPrefix=True, dateTime=True)\n```\n\n##### Setting the ```type``` argument\n\nAs you can see, a flag can be specified. This specifies the colour of the message and the message type. When setting flags, ensure the strings match exactly the name of the flag detailed below.\n * INFO - A nice aesthetic purple message\n * OK - A satisfying green message\n * WARN - A cautionary yellow message\n * ERR - A not-so-good red message\n\n
\n\nFor example:\n\n```Python\ncthrow(\"This probably isn't good\", type=\"WARN\")\n```\n\n\n\n
\n\n##### The ```addPrefix``` and ```dateTime``` arguments\n\nWe can also disable the prefix (the stuff inside the []) and timestamp as follows.\n\n```Python\ncthrow(\"Look Mom, no prefix and timestamp!\", addPrefix=False, dateTime=False)\n```\n\n
\n\n##### Setting formatting flags\n\nWith ThrowColour it is also possible to set multiple formatting flags such as bold and italics. It is important to note that the argument ```formatting``` takes a list containing strings of different formatting options.\n\n```Python\ncthrow(\"Bold and Underlined\", formatting=['BOLD','UNDERLINE'])\n```\n\n\nOr just bolded,\n```Python\ncthrow(\"Nice and bold\", formatting=['BOLD'])\n```\n\n\n\n\n",
"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/jackyzha0/ThrowColour",
"keywords": "",
"license": "",
"maintainer": "",
"maintainer_email": "",
"name": "throwcolour",
"package_url": "https://pypi.org/project/throwcolour/",
"platform": "",
"project_url": "https://pypi.org/project/throwcolour/",
"project_urls": {
"Homepage": "https://github.com/jackyzha0/ThrowColour"
},
"release_url": "https://pypi.org/project/throwcolour/1.0.7/",
"requires_dist": null,
"requires_python": "",
"summary": "A small package to make printing pretty things easier!",
"version": "1.0.7"
},
"last_serial": 5112089,
"releases": {
"0.0.1": [
{
"comment_text": "",
"digests": {
"md5": "ceb70a3ddcb54a8406d1115fe6a6bfd9",
"sha256": "d4ed62624e7f9638df70071c0f8df635966a7056c57622899886060f5b796e75"
},
"downloads": -1,
"filename": "ThrowColour-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "ceb70a3ddcb54a8406d1115fe6a6bfd9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1374,
"upload_time": "2019-04-08T03:24:55",
"url": "https://files.pythonhosted.org/packages/29/53/924ab7eb7e495cfc0690e7b58305236a3d4eaf1bdf96f1cfa0860f1259dd/ThrowColour-0.0.1.tar.gz"
}
],
"1.0.0": [
{
"comment_text": "",
"digests": {
"md5": "d82b1348f0da51004ac7e45d5694d6aa",
"sha256": "2ce37ad5d28c69382ffd67eac67c08f34ecb242359e1bdeac7f10738412a5a45"
},
"downloads": -1,
"filename": "ThrowColour-1.0.0-py2-none-any.whl",
"has_sig": false,
"md5_digest": "d82b1348f0da51004ac7e45d5694d6aa",
"packagetype": "bdist_wheel",
"python_version": "py2",
"requires_python": null,
"size": 3048,
"upload_time": "2019-04-08T04:38:29",
"url": "https://files.pythonhosted.org/packages/fc/39/c1f77e9bd0370134a6856e952797b8e7ec22092c71127ec0048b14533e0c/ThrowColour-1.0.0-py2-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "ed93899e68d4abc698685e58eb87923b",
"sha256": "d2474a799c76a472e02588dbb688046f996ba44957f614f1b6dc5cafdea50d47"
},
"downloads": -1,
"filename": "ThrowColour-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "ed93899e68d4abc698685e58eb87923b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2244,
"upload_time": "2019-04-08T04:24:54",
"url": "https://files.pythonhosted.org/packages/b5/3e/6bff6c176502da420269e009c7dfe73be06e5dc05774c7381925fe5a5fd9/ThrowColour-1.0.0.tar.gz"
}
],
"1.0.1": [
{
"comment_text": "",
"digests": {
"md5": "547cb5b68b83706fcb438bf70d810440",
"sha256": "bbe70b57172e3e80b6bde518b90c0a723eb6a1b7cd5a831baf956fb4c3277db0"
},
"downloads": -1,
"filename": "ThrowColour-1.0.1-py2-none-any.whl",
"has_sig": false,
"md5_digest": "547cb5b68b83706fcb438bf70d810440",
"packagetype": "bdist_wheel",
"python_version": "py2",
"requires_python": null,
"size": 3046,
"upload_time": "2019-04-08T04:47:54",
"url": "https://files.pythonhosted.org/packages/16/c6/2c63676d27558ab1523bc5c64b53175ad6f6d5bdb9e65c962ed02202c336/ThrowColour-1.0.1-py2-none-any.whl"
}
],
"1.0.2": [
{
"comment_text": "",
"digests": {
"md5": "cc53f5edb15c848c003037d6bf8746a7",
"sha256": "e7d23359fa669bfd7ea31de562b154f11a92be1c839b3273c17b9bbc4db46aed"
},
"downloads": -1,
"filename": "ThrowColour-1.0.2-py2-none-any.whl",
"has_sig": false,
"md5_digest": "cc53f5edb15c848c003037d6bf8746a7",
"packagetype": "bdist_wheel",
"python_version": "py2",
"requires_python": null,
"size": 3047,
"upload_time": "2019-04-08T04:47:56",
"url": "https://files.pythonhosted.org/packages/70/a4/42a5b0532dbb3f0eb7e37bcd1e9022e099c63aa4e238cea0fc1567959516/ThrowColour-1.0.2-py2-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "52a8a0c133e4d31257c98b46885c5730",
"sha256": "38811e93c13800a5cf332a1a230a801e6b3d9416dc100ddb4741f4e2e4863c55"
},
"downloads": -1,
"filename": "ThrowColour-1.0.2.tar.gz",
"has_sig": false,
"md5_digest": "52a8a0c133e4d31257c98b46885c5730",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2245,
"upload_time": "2019-04-08T04:48:13",
"url": "https://files.pythonhosted.org/packages/0b/d1/2da288cb738b553f117d9cc0f5fdcb720ddcdb23c02504b7fc6bd2b7f4a1/ThrowColour-1.0.2.tar.gz"
}
],
"1.0.3": [
{
"comment_text": "",
"digests": {
"md5": "654f2f4906eb05bb0659d34b61b8aa3d",
"sha256": "8aec59b181388b05e1c3f0b4929c549abd78064f0bfb4fa7daf8ce3b496c75e5"
},
"downloads": -1,
"filename": "throwcolour-1.0.3-py2-none-any.whl",
"has_sig": false,
"md5_digest": "654f2f4906eb05bb0659d34b61b8aa3d",
"packagetype": "bdist_wheel",
"python_version": "py2",
"requires_python": null,
"size": 3046,
"upload_time": "2019-04-08T04:51:10",
"url": "https://files.pythonhosted.org/packages/d6/d4/2262c895fb56a087d030ee2018d02eb1d4a5fd86dca80f0b2036b96d9a81/throwcolour-1.0.3-py2-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "e16bcb25474192779caa7f791f13d1e4",
"sha256": "7d6b49c5b2a60823f0c79d84997cf7545b4c1448d6db0d26dce0b7ad7551786d"
},
"downloads": -1,
"filename": "throwcolour-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "e16bcb25474192779caa7f791f13d1e4",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2241,
"upload_time": "2019-04-08T04:51:11",
"url": "https://files.pythonhosted.org/packages/57/0f/f7191bf3c158a515c328a38a6dcf401c57d2bdf055a70e0746c1f5709865/throwcolour-1.0.3.tar.gz"
}
],
"1.0.5": [
{
"comment_text": "",
"digests": {
"md5": "22b6ca502f4d9d4df37a09f8593fcaa6",
"sha256": "500b387ad15b05ceb1caf735899611a40373d9ddb353c0075a0ce1944d8053e5"
},
"downloads": -1,
"filename": "throwcolour-1.0.5-py2-none-any.whl",
"has_sig": false,
"md5_digest": "22b6ca502f4d9d4df37a09f8593fcaa6",
"packagetype": "bdist_wheel",
"python_version": "py2",
"requires_python": null,
"size": 3674,
"upload_time": "2019-04-08T05:37:14",
"url": "https://files.pythonhosted.org/packages/f8/32/74e73c725c80bc6a3edae57eb741c92bb618101ad785a1ec1043b0bc4609/throwcolour-1.0.5-py2-none-any.whl"
}
],
"1.0.6": [
{
"comment_text": "",
"digests": {
"md5": "68b8d140d05972127ae0b734067487f0",
"sha256": "c5a98faa6b0b204ca8a1cf53b830d7fa7216494d56fde60f9480ef1b4304f506"
},
"downloads": -1,
"filename": "throwcolour-1.0.6-py2-none-any.whl",
"has_sig": false,
"md5_digest": "68b8d140d05972127ae0b734067487f0",
"packagetype": "bdist_wheel",
"python_version": "py2",
"requires_python": null,
"size": 3675,
"upload_time": "2019-04-08T05:42:50",
"url": "https://files.pythonhosted.org/packages/4c/34/ed259f9ae9aa3b13280a943b026eb4902be6522961d18ef3daa97462bcaa/throwcolour-1.0.6-py2-none-any.whl"
}
],
"1.0.7": [
{
"comment_text": "",
"digests": {
"md5": "dcd1625e575c21035087ddae4f4cd9f3",
"sha256": "4ba1282b7439ab0dccc37da5093c6ea3ca4f0ae68d4bf0bceab0b4546c0ee4b5"
},
"downloads": -1,
"filename": "throwcolour-1.0.7-py2-none-any.whl",
"has_sig": false,
"md5_digest": "dcd1625e575c21035087ddae4f4cd9f3",
"packagetype": "bdist_wheel",
"python_version": "py2",
"requires_python": null,
"size": 3679,
"upload_time": "2019-04-08T05:52:43",
"url": "https://files.pythonhosted.org/packages/52/92/c28909f3674a48521de53661d1e6065ef526ac1b8c5c0db271b229bd6ee2/throwcolour-1.0.7-py2-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "106e107c8956de2b0bc212c1b487c522",
"sha256": "d5c20451130101d5c553f01d3290a0aa5171edebbfadd4a117af4369ed2ba6e9"
},
"downloads": -1,
"filename": "throwcolour-1.0.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "106e107c8956de2b0bc212c1b487c522",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4731,
"upload_time": "2019-04-08T05:56:28",
"url": "https://files.pythonhosted.org/packages/43/65/10f88c11e4bee097140c5e98b0d819ccedfec180fd60f8a67f887be05faa/throwcolour-1.0.7-py3-none-any.whl"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "dcd1625e575c21035087ddae4f4cd9f3",
"sha256": "4ba1282b7439ab0dccc37da5093c6ea3ca4f0ae68d4bf0bceab0b4546c0ee4b5"
},
"downloads": -1,
"filename": "throwcolour-1.0.7-py2-none-any.whl",
"has_sig": false,
"md5_digest": "dcd1625e575c21035087ddae4f4cd9f3",
"packagetype": "bdist_wheel",
"python_version": "py2",
"requires_python": null,
"size": 3679,
"upload_time": "2019-04-08T05:52:43",
"url": "https://files.pythonhosted.org/packages/52/92/c28909f3674a48521de53661d1e6065ef526ac1b8c5c0db271b229bd6ee2/throwcolour-1.0.7-py2-none-any.whl"
},
{
"comment_text": "",
"digests": {
"md5": "106e107c8956de2b0bc212c1b487c522",
"sha256": "d5c20451130101d5c553f01d3290a0aa5171edebbfadd4a117af4369ed2ba6e9"
},
"downloads": -1,
"filename": "throwcolour-1.0.7-py3-none-any.whl",
"has_sig": false,
"md5_digest": "106e107c8956de2b0bc212c1b487c522",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 4731,
"upload_time": "2019-04-08T05:56:28",
"url": "https://files.pythonhosted.org/packages/43/65/10f88c11e4bee097140c5e98b0d819ccedfec180fd60f8a67f887be05faa/throwcolour-1.0.7-py3-none-any.whl"
}
]
}