ansicon


Nameansicon JSON
Version 1.89.0 PyPI version JSON
download
home_pagehttps://github.com/Rockhopper-Technologies/ansicon
SummaryPython wrapper for loading Jason Hood's ANSICON
upload_time2019-04-29 20:23:57
maintainerAvram Lubkin
docs_urlNone
authorAvram Lubkin
requires_python
licenseMPLv2.0
keywords ansicon terminal console
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            .. start-badges

| |appveyor| |codecov|
| |pypi| |supported-versions| |supported-implementations|

.. |appveyor| image:: https://img.shields.io/appveyor/ci/Rockhopper-Technologies/ansicon.svg?style=plastic
    :target: https://ci.appveyor.com/project/Rockhopper-Technologies/ansicon
    :alt: Appveyor Build Status
.. |codecov| image:: https://img.shields.io/coveralls/github/Rockhopper-Technologies/ansicon.svg?style=plastic
    :target: https://coveralls.io/github/Rockhopper-Technologies/ansicon
    :alt: Coverage Status
.. |pypi| image:: https://img.shields.io/pypi/v/ansicon.svg?style=plastic
    :alt: PyPI Package latest release
    :target: https://pypi.python.org/pypi/ansicon
.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/ansicon.svg?style=plastic
    :alt: Supported versions
    :target: https://pypi.python.org/pypi/ansicon
.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/ansicon.svg?style=plastic
    :alt: Supported implementations
    :target: https://pypi.python.org/pypi/ansicon

.. end-badges

Overview
========
ansicon is a Python wrapper for loading `Jason Hood`_'s ANSICON_


Installation
============

.. code-block:: console

    $ pip install ansicon


Usage
=====

.. code-block:: python

    import ansicon

    # Load ansicon
    ansicon.load()

    # Have fun with terminal codes
    print(u'\x1b[32mGreen\x1b[m')

    # Unload ansicon
    ansicon.unload()

    # Check if ansicon is loaded
    if not ansicon.loaded():
        ansicon.load()
    if ansicon.loaded():
        ansicon.unload()

.. _Jason Hood: https://github.com/adoxa
.. _ANSICON: https://github.com/adoxa/ansicon


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Rockhopper-Technologies/ansicon",
    "name": "ansicon",
    "maintainer": "Avram Lubkin",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "avylove@rockhopper.net",
    "keywords": "ansicon terminal console",
    "author": "Avram Lubkin",
    "author_email": "avylove@rockhopper.net",
    "download_url": "https://files.pythonhosted.org/packages/b6/e2/1c866404ddbd280efedff4a9f15abfe943cb83cde6e895022370f3a61f85/ansicon-1.89.0.tar.gz",
    "platform": "",
    "description": ".. start-badges\n\n| |appveyor| |codecov|\n| |pypi| |supported-versions| |supported-implementations|\n\n.. |appveyor| image:: https://img.shields.io/appveyor/ci/Rockhopper-Technologies/ansicon.svg?style=plastic\n    :target: https://ci.appveyor.com/project/Rockhopper-Technologies/ansicon\n    :alt: Appveyor Build Status\n.. |codecov| image:: https://img.shields.io/coveralls/github/Rockhopper-Technologies/ansicon.svg?style=plastic\n    :target: https://coveralls.io/github/Rockhopper-Technologies/ansicon\n    :alt: Coverage Status\n.. |pypi| image:: https://img.shields.io/pypi/v/ansicon.svg?style=plastic\n    :alt: PyPI Package latest release\n    :target: https://pypi.python.org/pypi/ansicon\n.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/ansicon.svg?style=plastic\n    :alt: Supported versions\n    :target: https://pypi.python.org/pypi/ansicon\n.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/ansicon.svg?style=plastic\n    :alt: Supported implementations\n    :target: https://pypi.python.org/pypi/ansicon\n\n.. end-badges\n\nOverview\n========\nansicon is a Python wrapper for loading `Jason Hood`_'s ANSICON_\n\n\nInstallation\n============\n\n.. code-block:: console\n\n    $ pip install ansicon\n\n\nUsage\n=====\n\n.. code-block:: python\n\n    import ansicon\n\n    # Load ansicon\n    ansicon.load()\n\n    # Have fun with terminal codes\n    print(u'\\x1b[32mGreen\\x1b[m')\n\n    # Unload ansicon\n    ansicon.unload()\n\n    # Check if ansicon is loaded\n    if not ansicon.loaded():\n        ansicon.load()\n    if ansicon.loaded():\n        ansicon.unload()\n\n.. _Jason Hood: https://github.com/adoxa\n.. _ANSICON: https://github.com/adoxa/ansicon\n\n",
    "bugtrack_url": null,
    "license": "MPLv2.0",
    "summary": "Python wrapper for loading Jason Hood's ANSICON",
    "version": "1.89.0",
    "split_keywords": [
        "ansicon",
        "terminal",
        "console"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "ba38e4573bf7b60a0b52a419b784598d",
                "sha256": "f1def52d17f65c2c9682cf8370c03f541f410c1752d6a14029f97318e4b9dfec"
            },
            "downloads": -1,
            "filename": "ansicon-1.89.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ba38e4573bf7b60a0b52a419b784598d",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 63675,
            "upload_time": "2019-04-29T20:23:53",
            "upload_time_iso_8601": "2019-04-29T20:23:53.830942Z",
            "url": "https://files.pythonhosted.org/packages/75/f9/f1c10e223c7b56a38109a3f2eb4e7fe9a757ea3ed3a166754fb30f65e466/ansicon-1.89.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "8ab557441730951c9d957a7b24844133",
                "sha256": "e4d039def5768a47e4afec8e89e83ec3ae5a26bf00ad851f914d1240b444d2b1"
            },
            "downloads": -1,
            "filename": "ansicon-1.89.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8ab557441730951c9d957a7b24844133",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 67312,
            "upload_time": "2019-04-29T20:23:57",
            "upload_time_iso_8601": "2019-04-29T20:23:57.314778Z",
            "url": "https://files.pythonhosted.org/packages/b6/e2/1c866404ddbd280efedff4a9f15abfe943cb83cde6e895022370f3a61f85/ansicon-1.89.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2019-04-29 20:23:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "Rockhopper-Technologies",
    "github_project": "ansicon",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "appveyor": true,
    "tox": true,
    "lcname": "ansicon"
}
        
Elapsed time: 0.01346s