{ "info": { "author": "syscon", "author_email": "py syscon gmail com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "License :: Public Domain", "Operating System :: MacOS", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: C", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Software Development :: User Interfaces", "Topic :: Terminals", "Topic :: Utilities" ], "description": "The getch module does single-char input by providing wrappers for the conio.h library functions getch() (gets a character from user input, no output - this is useful for password input) and getche() (also outputs to the screen), if conio.h does not exist, it uses a stub-library using termios.h and other headers to emulate this behaviour: ::\r\n\r\n import getch\r\n # ...\r\n char = getch.getch() # User input, but not displayed on the screen\r\n # or\r\n char = getch.getche() # also displayed on the screen\r\n\r\nHint: On Windows, you can use: ::\r\n\r\n import msvcrt\r\n # ...\r\n char = msvcrt.getch()\r\n # or, to display it on the screen\r\n char = msvcrt.getche()\r\n\r\nas a standard library alternative to this module", "description_content_type": null, "docs_url": "https://pythonhosted.org/getch/", "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/getch", "keywords": "getch, char, single char, password, pass, read, stdin, input, one char", "license": "Public domain (it really is just a small utility)", "maintainer": "", "maintainer_email": "", "name": "getch", "package_url": "https://pypi.org/project/getch/", "platform": "Linux/UNIX (Windows unknown...)", "project_url": "https://pypi.org/project/getch/", "project_urls": { "Homepage": "http://pypi.python.org/pypi/getch" }, "release_url": "https://pypi.org/project/getch/1.0/", "requires_dist": null, "requires_python": null, "summary": "Does single char input, like C getch/getche", "version": "1.0" }, "last_serial": 792350, "releases": { "1.0": [ { "comment_text": "For Python 2.x", "digests": { "md5": "586ea0f1f16aa094ff6a30736ba03c50", "sha256": "be451438f7a2b389f96753aea39b6ed2540a390f1b9a12badcbc110cf9a5ce7f" }, "downloads": -1, "filename": "getch-1.0-python2.tar.gz", "has_sig": false, "md5_digest": "586ea0f1f16aa094ff6a30736ba03c50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1197, "upload_time": "2013-05-03T01:59:16", "url": "https://files.pythonhosted.org/packages/56/f7/cde35f44d267df7122005c40f1a15cf5e3c60ffc83a2ab00d11d99e9d8c4/getch-1.0-python2.tar.gz" }, { "comment_text": "Version 3 upwards (due to changes in the C extension interface)", "digests": { "md5": "57519f64807285bdfff8e7b62844d3ef", "sha256": "a6c22717c10051ce65b8fb7bddb171af705b1175e694a73be956990f6089d8b1" }, "downloads": -1, "filename": "getch-1.0.tar.gz", "has_sig": false, "md5_digest": "57519f64807285bdfff8e7b62844d3ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1302, "upload_time": "2013-05-03T01:54:41", "url": "https://files.pythonhosted.org/packages/cc/a4/c696c05e0ff9d05b1886cb0210101083db7d330ff964a6d7cd98ad2b2064/getch-1.0.tar.gz" } ] }, "urls": [ { "comment_text": "For Python 2.x", "digests": { "md5": "586ea0f1f16aa094ff6a30736ba03c50", "sha256": "be451438f7a2b389f96753aea39b6ed2540a390f1b9a12badcbc110cf9a5ce7f" }, "downloads": -1, "filename": "getch-1.0-python2.tar.gz", "has_sig": false, "md5_digest": "586ea0f1f16aa094ff6a30736ba03c50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1197, "upload_time": "2013-05-03T01:59:16", "url": "https://files.pythonhosted.org/packages/56/f7/cde35f44d267df7122005c40f1a15cf5e3c60ffc83a2ab00d11d99e9d8c4/getch-1.0-python2.tar.gz" }, { "comment_text": "Version 3 upwards (due to changes in the C extension interface)", "digests": { "md5": "57519f64807285bdfff8e7b62844d3ef", "sha256": "a6c22717c10051ce65b8fb7bddb171af705b1175e694a73be956990f6089d8b1" }, "downloads": -1, "filename": "getch-1.0.tar.gz", "has_sig": false, "md5_digest": "57519f64807285bdfff8e7b62844d3ef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1302, "upload_time": "2013-05-03T01:54:41", "url": "https://files.pythonhosted.org/packages/cc/a4/c696c05e0ff9d05b1886cb0210101083db7d330ff964a6d7cd98ad2b2064/getch-1.0.tar.gz" } ] }