mirror of
https://github.com/ansible/ansiconv
synced 2026-04-05 19:22:23 +00:00
No description
- Python 100%
|
|
||
|---|---|---|
| docs | ||
| test | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| ansiconv.py | ||
| LICENSE | ||
| README.md | ||
| setup.py | ||
ANSIConv
Version: 1.0.0
A Python module for converting ANSI coded text and converts it to either plain text or HTML.
Documentation: http://pythonhosted.org/ansiconv/
Test Coverage: 100%
Installing
From PyPI
$ pip install ansiconv
From Git
$ git clone https://bitbucket.org/dhrrgn/ansiconv.git
$ cd ansiconv
$ python setup.py install
Testing
You can run the unit tests by running the following command:
$ python setup.py test
Coverage Report
The coverage report requires pytest-cov (pip install pytest-cov).
In the ansicov directory run the following command:
$ py.test --cov=ansiconv.py --cov-report=term
The tests are written using pytest.