skip to navigation
skip to content

Not Logged In

backports.shutil_get_terminal_size 1.0.0

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

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.

 
File Type Py Version Uploaded on Size
backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl (md5) Python Wheel 3.4 2014-08-19 6KB
backports.shutil_get_terminal_size-1.0.0.tar.gz (md5) Source 2014-08-19 4KB
  • Downloads (All Versions):
  • 26 downloads in the last day
  • 160 downloads in the last week
  • 471 downloads in the last month