Name | tercol JSON |
Version |
0.1.4.post1
JSON |
| download |
home_page | |
Summary | TerCol is a library that colors your text. |
upload_time | 2023-08-01 20:11:09 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.7 |
license | |
keywords |
terminal styling
colors
style
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
# **[TerCol](https://pypi.org/project/tercol/)**
TerCol is a small, pure Python library that allows you to color and style text output. TerCol has no dependencies and only requires Python 3.7 or newer. It also supports true color.
## Usage
```python
import tercol
print(tercol.red('Red text'))
print(tercol.blue('Blue text'))
print(tercol.rgb(255, 215, 0, 'Gold text using RGB'))
print(tercol.hexa(0xffd700, 'Gold text using HEX'))
print(tercol.hsv(51, 100, 100, 'Gold text using HSV'))
print(tercol.rainbowtext('Rainbow text'))
```
## Requirements
TerCol only requires Python 3.7 or newer. No additional dependencies are needed.
## Pros
- Small size
- Pure Python
- No dependencies
- Simple automatic reset handling
- IDE-autocomplete friendly
- True color support
## Cons
- Limited support of nested styles
- Only supports Python 3.7+
## License
TerCol is licensed under the MIT license. See the LICENSE file for more info.
Raw data
{
"_id": null,
"home_page": "",
"name": "tercol",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "terminal styling,colors,style",
"author": "",
"author_email": "Butterroach <epicnoobcontactemail@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/e8/ea/9189e41e7bce09bb0e9e1a6d7139b4ab484b9fa4f3e737e63397c7132e9c/tercol-0.1.4.post1.tar.gz",
"platform": null,
"description": "[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\r\n\r\n# **[TerCol](https://pypi.org/project/tercol/)**\r\n\r\nTerCol is a small, pure Python library that allows you to color and style text output. TerCol has no dependencies and only requires Python 3.7 or newer. It also supports true color.\r\n\r\n## Usage\r\n\r\n```python\r\nimport tercol\r\n\r\nprint(tercol.red('Red text'))\r\nprint(tercol.blue('Blue text'))\r\nprint(tercol.rgb(255, 215, 0, 'Gold text using RGB'))\r\nprint(tercol.hexa(0xffd700, 'Gold text using HEX'))\r\nprint(tercol.hsv(51, 100, 100, 'Gold text using HSV'))\r\nprint(tercol.rainbowtext('Rainbow text'))\r\n```\r\n\r\n## Requirements\r\n\r\nTerCol only requires Python 3.7 or newer. No additional dependencies are needed.\r\n\r\n## Pros\r\n\r\n- Small size\r\n- Pure Python\r\n- No dependencies\r\n- Simple automatic reset handling\r\n- IDE-autocomplete friendly\r\n- True color support\r\n\r\n## Cons\r\n\r\n- Limited support of nested styles\r\n- Only supports Python 3.7+\r\n\r\n## License\r\n\r\nTerCol is licensed under the MIT license. See the LICENSE file for more info.\r\n",
"bugtrack_url": null,
"license": "",
"summary": "TerCol is a library that colors your text.",
"version": "0.1.4.post1",
"project_urls": {
"Bug Tracker": "https://github.com/butterroach/tercol/issues",
"Homepage": "https://butterroach.github.io/tercol",
"Source Code": "https://github.com/butterroach/tercol"
},
"split_keywords": [
"terminal styling",
"colors",
"style"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "443f3e994d21305aafcb05db6863934b94dc559fdb18cadbe60acd6a24a12336",
"md5": "64e981d8d195ad465ad1cd771fb5a296",
"sha256": "f5b77ebabe3199155b314903929ee4a1151767c84f4af61e78fe3f6fb346ea3a"
},
"downloads": -1,
"filename": "tercol-0.1.4.post1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "64e981d8d195ad465ad1cd771fb5a296",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 5674,
"upload_time": "2023-08-01T20:10:58",
"upload_time_iso_8601": "2023-08-01T20:10:58.978231Z",
"url": "https://files.pythonhosted.org/packages/44/3f/3e994d21305aafcb05db6863934b94dc559fdb18cadbe60acd6a24a12336/tercol-0.1.4.post1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e8ea9189e41e7bce09bb0e9e1a6d7139b4ab484b9fa4f3e737e63397c7132e9c",
"md5": "5aacae9c6435cb49198feeb469093978",
"sha256": "59d340d232d6bec6945f359b8b1e3bbb1b92d6f6945b087e159eecb99caaac39"
},
"downloads": -1,
"filename": "tercol-0.1.4.post1.tar.gz",
"has_sig": false,
"md5_digest": "5aacae9c6435cb49198feeb469093978",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 5217,
"upload_time": "2023-08-01T20:11:09",
"upload_time_iso_8601": "2023-08-01T20:11:09.143518Z",
"url": "https://files.pythonhosted.org/packages/e8/ea/9189e41e7bce09bb0e9e1a6d7139b4ab484b9fa4f3e737e63397c7132e9c/tercol-0.1.4.post1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-01 20:11:09",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "butterroach",
"github_project": "tercol",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "tercol"
}