# pvt100
A fistful of ANSI terminal escape codes for your terminal.
They're actually just ANSI escape codes, but I like to call them pvt100 because it sounds cooler.
These are all grouped under the name "ANSI escape codes", which is a bit
misleading, as ANSI is a standards body, and these are not all standards.
## Usage
Easiest to just read pvt100.py to see what constants are available, as well as `example.py` in this repo.
```python
import pvt100
print(f"{pvt100.color_bg_blue} Hello, world! {pvt100.style_reset}")
```
## Installation
```bash
pip install pvt100
```
See also:
- https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797
- https://bluesock.org/~willg/dev/ansi.html#ansicodes
For fun:
- https://xn--rpa.cc/irl/term.html
- https://github.com/jart/cosmopolitan/blob/master/tool/build/lib/pty.c
Raw data
{
"_id": null,
"home_page": "https://github.com/SinaKhalili/pvt100",
"name": "pvt100",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.11,<4.0",
"maintainer_email": "",
"keywords": "vt100,terminal,escape,codes",
"author": "sina",
"author_email": "khalili@sfu.ca",
"download_url": "https://files.pythonhosted.org/packages/ea/00/a0916eb5d9a293c479e453ec69671e6595b61d1079db671367fe2f7b739a/pvt100-0.1.5.tar.gz",
"platform": null,
"description": "# pvt100\n\nA fistful of ANSI terminal escape codes for your terminal. \n\nThey're actually just ANSI escape codes, but I like to call them pvt100 because it sounds cooler.\n\nThese are all grouped under the name \"ANSI escape codes\", which is a bit\nmisleading, as ANSI is a standards body, and these are not all standards.\n\n## Usage\n\nEasiest to just read pvt100.py to see what constants are available, as well as `example.py` in this repo.\n\n```python\nimport pvt100\nprint(f\"{pvt100.color_bg_blue} Hello, world! {pvt100.style_reset}\")\n```\n\n## Installation\n\n```bash\npip install pvt100\n```\n\n\nSee also:\n- https://gist.github.com/fnky/458719343aabd01cfb17a3a4f7296797\n- https://bluesock.org/~willg/dev/ansi.html#ansicodes\n\nFor fun:\n- https://xn--rpa.cc/irl/term.html\n- https://github.com/jart/cosmopolitan/blob/master/tool/build/lib/pty.c",
"bugtrack_url": null,
"license": "MIT",
"summary": "VT100 terminal escape codes for Python",
"version": "0.1.5",
"split_keywords": [
"vt100",
"terminal",
"escape",
"codes"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "ce664eecd119521b476cabe5d6327dfb31de2b81b706f211a28213b519f09ac4",
"md5": "baeaabd60c74a97c688a8220b8b336b5",
"sha256": "7b50eef2ecfa8ce3afdd05ebf6d5520d41e6886c0b8b31f97922b81c53bfacd7"
},
"downloads": -1,
"filename": "pvt100-0.1.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "baeaabd60c74a97c688a8220b8b336b5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11,<4.0",
"size": 4699,
"upload_time": "2023-01-24T08:37:11",
"upload_time_iso_8601": "2023-01-24T08:37:11.469392Z",
"url": "https://files.pythonhosted.org/packages/ce/66/4eecd119521b476cabe5d6327dfb31de2b81b706f211a28213b519f09ac4/pvt100-0.1.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ea00a0916eb5d9a293c479e453ec69671e6595b61d1079db671367fe2f7b739a",
"md5": "925c88d8014d0013e2556c16a5faff0a",
"sha256": "7e5c19d05e688822b99e08f543f6802c3622ef5009695717ae18007990e42923"
},
"downloads": -1,
"filename": "pvt100-0.1.5.tar.gz",
"has_sig": false,
"md5_digest": "925c88d8014d0013e2556c16a5faff0a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11,<4.0",
"size": 3797,
"upload_time": "2023-01-24T08:37:12",
"upload_time_iso_8601": "2023-01-24T08:37:12.889455Z",
"url": "https://files.pythonhosted.org/packages/ea/00/a0916eb5d9a293c479e453ec69671e6595b61d1079db671367fe2f7b739a/pvt100-0.1.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-24 08:37:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "SinaKhalili",
"github_project": "pvt100",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pvt100"
}