getch


Namegetch JSON
Version 1.0 PyPI version JSON
download
home_pagehttp://pypi.python.org/pypi/getch
SummaryDoes single char input, like C getch/getche
upload_time2013-05-03 01:59:16
maintainer
docs_urlhttps://pythonhosted.org/getch/
authorsyscon
requires_pythonNone
licensePublic domain (it really is just a small utility)
keywords getch char single char password pass read stdin input one char
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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: ::

    import getch
    # ...
    char = getch.getch() # User input, but not displayed on the screen
    # or
    char = getch.getche() # also displayed on the screen

Hint: On Windows, you can use: ::

    import msvcrt
    # ...
    char = msvcrt.getch()
    # or, to display it on the screen
    char = msvcrt.getche()

as a standard library alternative to this module
            

Raw data

            {
    "_id": null,
    "home_page": "http://pypi.python.org/pypi/getch",
    "name": "getch",
    "maintainer": "",
    "docs_url": "https://pythonhosted.org/getch/",
    "requires_python": null,
    "maintainer_email": "",
    "keywords": "getch, char, single char, password, pass, read, stdin, input, one char",
    "author": "syscon",
    "author_email": "py <DOT> syscon <AT> gmail <DOT> com",
    "download_url": "https://files.pythonhosted.org/packages/56/f7/cde35f44d267df7122005c40f1a15cf5e3c60ffc83a2ab00d11d99e9d8c4/getch-1.0-python2.tar.gz",
    "platform": "Linux/UNIX (Windows unknown...)",
    "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",
    "bugtrack_url": null,
    "license": "Public domain (it really is just a small utility)",
    "summary": "Does single char input, like C getch/getche",
    "version": "1.0",
    "split_keywords": [
        "getch",
        " char",
        " single char",
        " password",
        " pass",
        " read",
        " stdin",
        " input",
        " one char"
    ],
    "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",
            "upload_time_iso_8601": "2013-05-03T01:59:16.336528Z",
            "url": "https://files.pythonhosted.org/packages/56/f7/cde35f44d267df7122005c40f1a15cf5e3c60ffc83a2ab00d11d99e9d8c4/getch-1.0-python2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "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",
            "upload_time_iso_8601": "2013-05-03T01:54:41.513419Z",
            "url": "https://files.pythonhosted.org/packages/cc/a4/c696c05e0ff9d05b1886cb0210101083db7d330ff964a6d7cd98ad2b2064/getch-1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2013-05-03 01:59:16",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "getch"
}
        
Elapsed time: 0.01899s