./comms/py-colorama, Cross-platform coloured terminal text

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.4.4nb1, Package name: py38-colorama-0.4.4nb1, Maintainer: kamelderouiche

Makes ANSI escape character sequences for producing colored terminal text and
cursor positioning work under MS Windows.

ANSI escape character sequences have long been used to produce colored terminal
text and cursor positioning on Unix and Macs. Colorama makes this work on
Windows, too, by wrapping stdout, stripping ANSI sequences it finds (which
otherwise show up as gobbledygook in your output), and converting them into the
appropriate win32 calls to modify the state of the terminal. On other platforms,
Colorama does nothing.

Colorama also provides some shortcuts to help generate ANSI sequences but works
fine in conjunction with any other ANSI sequence generation library, such as
Termcolor.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 4591cc4448b3b23dfc958e997b7622e066a57132
RMD160: 7b2251157a315d0fd9d592b838a32d9bf7a6fddc
Filesize: 27.161 KB

Version history: (Expand)


CVS history: (Expand)


   2021-01-09 01:47:07 by Makoto Fujiwara | Files touched by this commit (1)
Log message:
(comms/py-colorama) PKGREVISION++, other than py36 need re-pkg
   2021-01-09 01:43:44 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(comms/py-colorama) Add patch for py36, can't decode byte 0xc2
   2021-01-03 22:51:46 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-colorama: updated to 0.4.4

0.4.4

Re-org of README, to put the most insteresting parts near the top.
Added Linux makefile targets and Windows powershell scripts to automate \ 
bootstrapping a development environment, and automate the process of testing \ 
wheels before they are uploaded to PyPI.
Use stdlib unittest.mock where available
Travis CI now also builds on arm64
Demo06 demonstrates existing cursor positioning feature
Fix OSC regex & handling to prevent hang or crash
Document enterprise support by Tidelift
   2019-12-11 20:01:00 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-colorama: updated to 0.4.3

0.4.3:
tweak Makefile build/upload instructions.
Fix README's link to enterprise docs
   2018-11-30 12:21:37 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-colorama: updated to 0.4.1

0.4.1
* Fix issue 196: prevent exponential number of calls when calling 'init'
  multiple times.
   2018-10-26 10:16:00 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-colorama: updated to 0.4.0

0.4.0:
Fix2: reset LIGHT_EX colors with RESET_ALL.
Fix: ignore invalid "erase" ANSI codes.
Fix stream wrapping under PyCharm.
Added contextlib magic methods to ansitowin32.StreamWrapper.
Fix: don't cache stdio handles, since they might be closed/changed by fd \ 
redirection. This fixes an issue with pytest.
Drop support for EOL Python 2.5, 2.6, 3.1, 3.2 and 3.3, and add 3.6.
   2017-07-20 19:13:13 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
0.3.9
* Revert fix for issue 103 which causes problems for dependent applications

0.3.8
* Fix issue 121: "invalid escape sequence" deprecation fixes on Python 3.6+
* Fix issue 110: fix "set console title" when working with unicode strings
* Fix issue 103: enable color when using "input" function on Python 3.5+
* Fix issue 95: enable color when stderr is a tty but stdout is not
   2017-04-04 16:12:13 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Updated py-colorama to 0.3.7.

0.3.7
  * Fix issue #84: check if stream has 'closed' attribute before testing it
  * Fix issue #74: objects might become None at exit
0.3.6
  * Fix issue #81: fix ValueError when a closed stream was used
0.3.5
  * Bumping version to re-upload a wheel distribution
0.3.4
  * Fix issue #47 and #80 - stream redirection now strips ANSI codes on Linux
  * Fix issue #53 - strip readline markers
  * Fix issue #32 - assign orig_stdout and orig_stderr when initialising
  * Fix issue #57 - Fore.RESET did not reset style of LIGHT_EX colors.
    Fixed by Andy Neff
  * Fix issue #51 - add context manager syntax. Thanks to Matt Olsen.
  * Fix issue #48 - colorama didn't work on Windows when environment
    variable 'TERM' was set.
  * Fix issue #54 - fix pylint errors in client code.
  * Changes to readme and other improvements by Marc Abramowitz and Zearin
0.3.3
  * Fix Google Code issue #13 - support changing the console title with OSC
    escape sequence
  * Fix Google Code issue #16 - Add support for Windows xterm emulators
  * Fix Google Code issue #30 - implement \033[nK (clear line)
  * Fix Google Code issue #49 - no need to adjust for scroll when new position
    is already relative (CSI n A\B\C\D)
  * Fix Google Code issue #55 - erase_data fails on Python 3.x
  * Fix Google Code issue #46 - win32.COORD definition missing
  * Implement \033[0J and \033[1J (clear screen options)
  * Fix default ANSI parameters
  * Fix position after \033[2J (clear screen)
  * Add command shortcuts: colorama.Cursor, colorama.ansi.set_title,
    colorama.ansi.clear_line, colorama.ansi.clear_screen
  * Fix issue #22 - Importing fails for python3 on Windows
  * Thanks to John Szakmeister for adding support for light colors
  * Thanks to Charles Merriam for adding documentation to demos