METADATA 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. Metadata-Version: 2.0
  2. Name: backports.shutil-get-terminal-size
  3. Version: 1.0.0
  4. Summary: A backport of the get_terminal_size function from Python 3.3's shutil.
  5. Home-page: https://github.com/chrippa/backports.shutil_get_terminal_size
  6. Author: Christopher Rosell
  7. Author-email: chrippa@tanuki.se
  8. License: MIT
  9. Platform: UNKNOWN
  10. Classifier: Development Status :: 5 - Production/Stable
  11. Classifier: License :: OSI Approved :: MIT License
  12. Classifier: Programming Language :: Python :: 2.6
  13. Classifier: Programming Language :: Python :: 2.7
  14. Classifier: Programming Language :: Python :: 3.2
  15. backports.shutil_get_terminal_size
  16. ==================================
  17. A backport of the `get_terminal_size`_ function from Python 3.3's shutil.
  18. Unlike the original version it is written in pure Python rather than C,
  19. so it might be a tiny bit slower.
  20. .. _get_terminal_size: https://docs.python.org/3/library/shutil.html#shutil.get_terminal_size
  21. Example usage
  22. -------------
  23. >>> from backports.shutil_get_terminal_size import get_terminal_size
  24. >>> get_terminal_size()
  25. terminal_size(columns=105, lines=33)
  26. History
  27. =======
  28. 1.0.0 (2014-08-19)
  29. ------------------
  30. First release.