ansi-esc


Nameansi-esc JSON
Version 0.0.0.0 PyPI version JSON
download
home_pageNone
Summaryansi-esc is a python library for ANSI escape characters.
upload_time2024-09-12 04:36:04
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseNone
keywords ansi color escape terminal
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ansi-esc
`ansi-esc` is a python library for ANSI escape characters.

# Install
```bash
python3 -m pip install ansi-esc --upgrade
```

# Usage

## Colors
```python
from ansi_esc.font.colors import background as bg
from ansi_esc.font.colors import foreground as fg

print(fg.red+bg.blue + "Hello" + bg.off + " World!")
```

## Effects
```python
from ansi_esc.font import effects as eff

print(eff.underline + "Hello" + eff.underline_off + eff.blink + " World!")
```

# License
MIT

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "ansi-esc",
    "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/c6/a6/feea9f89f319d1919fc7ba6ee6a2123ab2e60ef84a0931c24ab8bd7a3f3b/ansi_esc-0.0.0.0.tar.gz",
    "platform": null,
    "description": "# ansi-esc\n`ansi-esc` is a python library for ANSI escape characters.\n\n# Install\n```bash\npython3 -m pip install ansi-esc --upgrade\n```\n\n# Usage\n\n## Colors\n```python\nfrom ansi_esc.font.colors import background as bg\nfrom ansi_esc.font.colors import foreground as fg\n\nprint(fg.red+bg.blue + \"Hello\" + bg.off + \" World!\")\n```\n\n## Effects\n```python\nfrom ansi_esc.font import effects as eff\n\nprint(eff.underline + \"Hello\" + eff.underline_off + eff.blink + \" World!\")\n```\n\n# License\nMIT\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "ansi-esc is a python library for ANSI escape characters.",
    "version": "0.0.0.0",
    "project_urls": {
        "Repository": "https://github.com/solidtony/ansi_esc.git"
    },
    "split_keywords": [
        "ansi",
        " color",
        " escape",
        " terminal"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d1e5b71a8cdc20b4e0aed94b59e2679d2da73568ea1cd4b73d3eead8cfa2a451",
                "md5": "96ee673716ead03be00aaba16b0e4bba",
                "sha256": "6c66f9c1062f36e1da07d9bd987fe6a9f27f559c09c87f0d074bf71274396ad8"
            },
            "downloads": -1,
            "filename": "ansi_esc-0.0.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "96ee673716ead03be00aaba16b0e4bba",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 6957,
            "upload_time": "2024-09-12T04:36:02",
            "upload_time_iso_8601": "2024-09-12T04:36:02.647377Z",
            "url": "https://files.pythonhosted.org/packages/d1/e5/b71a8cdc20b4e0aed94b59e2679d2da73568ea1cd4b73d3eead8cfa2a451/ansi_esc-0.0.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c6a6feea9f89f319d1919fc7ba6ee6a2123ab2e60ef84a0931c24ab8bd7a3f3b",
                "md5": "c24089d780458887ef3332e246f2d8b1",
                "sha256": "d52d1aa1d152d3bd1f0c643f4c716dddecc689c47507f2ad2146dd705b7b12d9"
            },
            "downloads": -1,
            "filename": "ansi_esc-0.0.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "c24089d780458887ef3332e246f2d8b1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 4393,
            "upload_time": "2024-09-12T04:36:04",
            "upload_time_iso_8601": "2024-09-12T04:36:04.110889Z",
            "url": "https://files.pythonhosted.org/packages/c6/a6/feea9f89f319d1919fc7ba6ee6a2123ab2e60ef84a0931c24ab8bd7a3f3b/ansi_esc-0.0.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-12 04:36:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "solidtony",
    "github_project": "ansi_esc",
    "github_not_found": true,
    "lcname": "ansi-esc"
}
        
Elapsed time: 0.44775s