Spaces:
No application file
No application file
Metadata-Version: 2.1 | |
Name: ansicon | |
Version: 1.89.0 | |
Summary: Python wrapper for loading Jason Hood's ANSICON | |
Home-page: https://github.com/Rockhopper-Technologies/ansicon | |
Author: Avram Lubkin | |
Author-email: [email protected] | |
Maintainer: Avram Lubkin | |
Maintainer-email: [email protected] | |
License: MPLv2.0 | |
Keywords: ansicon terminal console | |
Platform: UNKNOWN | |
Classifier: Development Status :: 5 - Production/Stable | |
Classifier: Environment :: Console | |
Classifier: Intended Audience :: Developers | |
Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0) | |
Classifier: Operating System :: Microsoft :: Windows | |
Classifier: Programming Language :: Python | |
Classifier: Programming Language :: Python :: 2.7 | |
Classifier: Programming Language :: Python :: 3.4 | |
Classifier: Programming Language :: Python :: 3.5 | |
Classifier: Programming Language :: Python :: 3.6 | |
Classifier: Programming Language :: Python :: 3.7 | |
Classifier: Programming Language :: Python :: Implementation :: CPython | |
Classifier: Programming Language :: Python :: Implementation :: PyPy | |
Classifier: Topic :: Utilities | |
.. 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 | |