Skip to main content

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.

Metadata

Release files for backports.shutil_get_terminal_size 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for backports.shutil_get_terminal_size 1.0.0
File Size Uploaded
backports.shutil_get_terminal_size-1.0.0.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for backports.shutil_get_terminal_size 1.0.0
File Interpreter ABI Platform
backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 10.8 kB

Release files / backports.shutil_get_terminal_size-1.0.0.tar.gz

Download URL backports.shutil_get_terminal_size-1.0.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
713e7a8228ae80341c70586d1cc0a8caa5207346927e23d09dcbcaf18eadec80
BLAKE2b-256 checksum
How to use checksums
ec9c368086faa9c016efce5da3e0e13ba392c9db79e3ab740b763fe28620b18b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl

Download URL backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl
Size 6.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0975ba55054c15e346944b38956a4c9cbee9009391e41b86c68990effb8c1f64
BLAKE2b-256 checksum
How to use checksums
7dcd1750d6c35fe86d35f8562091737907f234b78fdffab42b29c72b1dd861f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page