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.
.. _get_terminal_size: https://docs.python.org/3/library/shutil.html#shutil.get_terminal_size
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.
Raw data
{
"_id": null,
"home_page": "https://github.com/chrippa/backports.shutil_get_terminal_size",
"name": "backports.shutil_get_terminal_size",
"maintainer": "",
"docs_url": null,
"requires_python": null,
"maintainer_email": "",
"keywords": "",
"author": "Christopher Rosell",
"author_email": "chrippa@tanuki.se",
"download_url": "https://files.pythonhosted.org/packages/ec/9c/368086faa9c016efce5da3e0e13ba392c9db79e3ab740b763fe28620b18b/backports.shutil_get_terminal_size-1.0.0.tar.gz",
"platform": "UNKNOWN",
"description": "backports.shutil_get_terminal_size\r\n==================================\r\n\r\nA backport of the `get_terminal_size`_ function from Python 3.3's shutil.\r\n\r\nUnlike the original version it is written in pure Python rather than C,\r\nso it might be a tiny bit slower.\r\n\r\n.. _get_terminal_size: https://docs.python.org/3/library/shutil.html#shutil.get_terminal_size\r\n\r\n\r\nExample usage\r\n-------------\r\n\r\n::\r\n\r\n >>> from backports.shutil_get_terminal_size import get_terminal_size\r\n >>> get_terminal_size()\r\n terminal_size(columns=105, lines=33)\r\n\r\n\r\nHistory\r\n=======\r\n\r\n1.0.0 (2014-08-19)\r\n------------------\r\n\r\nFirst release.",
"bugtrack_url": null,
"license": "MIT",
"summary": "A backport of the get_terminal_size function from Python 3.3's shutil.",
"version": "1.0.0",
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"md5": "5ca283ed87cdba75602d1f276b2519a1",
"sha256": "0975ba55054c15e346944b38956a4c9cbee9009391e41b86c68990effb8c1f64"
},
"downloads": -1,
"filename": "backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "5ca283ed87cdba75602d1f276b2519a1",
"packagetype": "bdist_wheel",
"python_version": "3.4",
"requires_python": null,
"size": 6497,
"upload_time": "2014-08-19T18:42:51",
"upload_time_iso_8601": "2014-08-19T18:42:51.908309Z",
"url": "https://files.pythonhosted.org/packages/7d/cd/1750d6c35fe86d35f8562091737907f234b78fdffab42b29c72b1dd861f4/backports.shutil_get_terminal_size-1.0.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"md5": "03267762480bd86b50580dc19dff3c66",
"sha256": "713e7a8228ae80341c70586d1cc0a8caa5207346927e23d09dcbcaf18eadec80"
},
"downloads": -1,
"filename": "backports.shutil_get_terminal_size-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "03267762480bd86b50580dc19dff3c66",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4279,
"upload_time": "2014-08-19T18:42:49",
"upload_time_iso_8601": "2014-08-19T18:42:49.082213Z",
"url": "https://files.pythonhosted.org/packages/ec/9c/368086faa9c016efce5da3e0e13ba392c9db79e3ab740b763fe28620b18b/backports.shutil_get_terminal_size-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2014-08-19 18:42:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "chrippa",
"github_project": "backports.shutil_get_terminal_size",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"tox": true,
"lcname": "backports.shutil_get_terminal_size"
}