Name | py-anansi JSON |
Version |
0.0.0.0
JSON |
| download |
home_page | None |
Summary | `anansi` (`ANother ANSI`) is yet antoher python library for ANSI escape characters. |
upload_time | 2024-09-14 00:11:42 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.7 |
license | None |
keywords |
ansi
color
escape
terminal
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# anansi
`anansi` (`ANother ANSI`) is yet antoher python library for ANSI escape characters. The name "anansi" was inspired by the Akan folktale character Anansi.
# Install
```bash
python3 -m pip install py-anansi --upgrade
```
# Usage
## Colors
```python
from anansi.font.colors import background as bg
from anansi.font.colors import foreground as fg
print(fg.red+bg.blue + "Hello" + bg.off + " World!" + fg.off)
```
## Effects
```python
from anansi.font import effects as eff
print(eff.underline + "Hello" + eff.underline_off+eff.blink + " World!" + eff.blink_off)
```
# License
MIT
Raw data
{
"_id": null,
"home_page": null,
"name": "py-anansi",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "ansi, color, escape, terminal",
"author": null,
"author_email": "Anthony Garcia <anthonygarcia918@hotmail.com>",
"download_url": "https://files.pythonhosted.org/packages/01/d1/98ae749ddadad9366bc3d93619377a7a5b63594dc3a9708f74c6e66a51f3/py_anansi-0.0.0.0.tar.gz",
"platform": null,
"description": "# anansi\n`anansi` (`ANother ANSI`) is yet antoher python library for ANSI escape characters. The name \"anansi\" was inspired by the Akan folktale character Anansi.\n\n# Install\n```bash\npython3 -m pip install py-anansi --upgrade\n```\n\n# Usage\n\n## Colors\n```python\nfrom anansi.font.colors import background as bg\nfrom anansi.font.colors import foreground as fg\n\nprint(fg.red+bg.blue + \"Hello\" + bg.off + \" World!\" + fg.off)\n```\n\n## Effects\n```python\nfrom anansi.font import effects as eff\n\nprint(eff.underline + \"Hello\" + eff.underline_off+eff.blink + \" World!\" + eff.blink_off)\n```\n\n# License\nMIT\n",
"bugtrack_url": null,
"license": null,
"summary": "`anansi` (`ANother ANSI`) is yet antoher python library for ANSI escape characters.",
"version": "0.0.0.0",
"project_urls": {
"Repository": "https://github.com/solidtony/py-anansi.git"
},
"split_keywords": [
"ansi",
" color",
" escape",
" terminal"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "55fd559fb72a1e1eaa9a3837495267f986ebc4ab95e11b32e849015f6d1eaa13",
"md5": "78220a3fe5f312ace7e1cfa4812b177b",
"sha256": "31475997767479eb973077558d07aca8cf4dacf4d5e06be68a907fe4915632e1"
},
"downloads": -1,
"filename": "py_anansi-0.0.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "78220a3fe5f312ace7e1cfa4812b177b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 6949,
"upload_time": "2024-09-14T00:11:40",
"upload_time_iso_8601": "2024-09-14T00:11:40.431000Z",
"url": "https://files.pythonhosted.org/packages/55/fd/559fb72a1e1eaa9a3837495267f986ebc4ab95e11b32e849015f6d1eaa13/py_anansi-0.0.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "01d198ae749ddadad9366bc3d93619377a7a5b63594dc3a9708f74c6e66a51f3",
"md5": "4bc558b5df2f0d66d13e515b06f645df",
"sha256": "3575f9f3595314e19a2fbe0d763fadbdc609557266048b4f4df24020ca6a69a6"
},
"downloads": -1,
"filename": "py_anansi-0.0.0.0.tar.gz",
"has_sig": false,
"md5_digest": "4bc558b5df2f0d66d13e515b06f645df",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 4490,
"upload_time": "2024-09-14T00:11:42",
"upload_time_iso_8601": "2024-09-14T00:11:42.089915Z",
"url": "https://files.pythonhosted.org/packages/01/d1/98ae749ddadad9366bc3d93619377a7a5b63594dc3a9708f74c6e66a51f3/py_anansi-0.0.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-14 00:11:42",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "solidtony",
"github_project": "py-anansi",
"github_not_found": true,
"lcname": "py-anansi"
}