gituser/docker/: backports-shutil-get-terminal-size-1.0.0 metadata and description

Homepage Simple index

A backport of the get_terminal_size function from Python 3.3's shutil.

author Christopher Rosell
author_email chrippa@tanuki.se
classifiers
  • Development Status :: 5 - Production/Stable
  • License :: OSI Approved :: MIT License
  • Programming Language :: Python :: 2.6
  • Programming Language :: Python :: 2.7
  • Programming Language :: Python :: 3.2
license MIT
File Tox results History
backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl
Size
5 KB
Type
Python Wheel
Python
2.7

backports.shutil_get_terminal_size

A backport of the get_terminal_size function from Python 3.3’s shutil.

Unlike the original version it is written in pure Python rather than C, so it might be a tiny bit slower.

Example usage

>>> from backports.shutil_get_terminal_size import get_terminal_size
>>> get_terminal_size()
terminal_size(columns=105, lines=33)

History

1.0.0 (2014-08-19)

First release.