A backport of the get_terminal_size function from Python 3.3's shutil.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for backports.shutil_get_terminal_size-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 713e7a8228ae80341c70586d1cc0a8caa5207346927e23d09dcbcaf18eadec80 |
|
MD5 | 03267762480bd86b50580dc19dff3c66 |
|
BLAKE2b-256 | ec9c368086faa9c016efce5da3e0e13ba392c9db79e3ab740b763fe28620b18b |
Close
Hashes for backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0975ba55054c15e346944b38956a4c9cbee9009391e41b86c68990effb8c1f64 |
|
MD5 | 5ca283ed87cdba75602d1f276b2519a1 |
|
BLAKE2b-256 | 7dcd1750d6c35fe86d35f8562091737907f234b78fdffab42b29c72b1dd861f4 |