/usr/share/pyshared/python_termstyle-0.1.10.egg-info/PKG-INFO is in python-termstyle 0.1.10-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | Metadata-Version: 1.1
Name: python-termstyle
Version: 0.1.10
Summary: console colouring for python
Home-page: http://gfxmonk.net/dist/0install/python-termstyle.xml
Author: UNKNOWN
Author-email: UNKNOWN
License: BSD
Description:
**Note**: This package has been built automatically by
`zero2pypi <http://gfxmonk.net/dist/0install/zero2pypi.xml>`_.
If possible, you should use the zero-install feed instead:
http://gfxmonk.net/dist/0install/python-termstyle.xml
----------------
=========
termstyle
=========
termstyle is a simple python library for adding coloured output to
terminal (console) programs. The definitions come from ECMA-048_, the
"Control Functions for Coded Character Sets" standard.
Installation:
-------------
I thoroughly recommend using the zero-install feed (see the project homepage) to manage your dependencies if at all possible. zero-install_ provides a much better system than pip or easy_install, and works with absolutely any language and allows decentralised package management that requires no special privileges to install.
Example Usage:
--------------
::
from termstyle import *
print "%s:%s" % (red('Hey'), green('how are you?'))
print blue('How ', bold('you'), ' doin?')
or, you can use a colour just as a string::
print "%sBlue!%s" % (blue, reset)
Styles:
-------
::
reset or default (no colour / style)
colour::
black
red
green
yellow
blue
magenta
cyan
white
background colour::
bg_black
bg_red
bg_green
bg_yellow
bg_blue
bg_magenta
bg_cyan
bg_white
bg_default
In terminals supporting transparency ``bg_default`` is often used to set
the background to transparent [#]_.
weight::
bold
inverted
style::
italic
underscore
Controls:
---------
::
auto() - sets colouring on only if sys.stdout is a terminal
disabe() - disable colours
enable() - enable colours
.. [#] Supporting terminals include rxvt-unicode_, and Eterm_.
.. _ECMA-048: http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-048.pdf
.. _rxvt-unicode: http://software.schmorp.de/
.. _Eterm: http://www.eterm.org/
.. _zero-install: http://0install.net/
Keywords: output colour console ansi
Platform: UNKNOWN
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|