# getkey
A Python module to get the pressed key
## Installation
### From PyPI
```sh
pip3 install pygetkey
```
### From GitHub
```sh
pip3 install git+https://github.com/donno2048/getkey
```
## Usage
```py
import getkey
getkey.get_key() # Wait for a key to be pressed and return it
getkey.get_last_key() # Don't wait for a key to be pressed and return the last pressed key (mainly for "async" loops)
```
Raw data
{
"_id": null,
"home_page": "https://github.com/donno2048/getkey",
"name": "pygetkey",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "Elisha Hollander",
"author_email": "just4now666666@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/a0/df/8aabbcb603e089911a4b7d145b3a1ada94a8a6b3402fa0b0fa293bdcb801/pygetkey-1.0.0.tar.gz",
"platform": null,
"description": "# getkey\n\nA Python module to get the pressed key\n\n## Installation\n\n### From PyPI\n\n```sh\npip3 install pygetkey\n```\n\n### From GitHub\n\n```sh\npip3 install git+https://github.com/donno2048/getkey\n```\n\n## Usage\n\n```py\nimport getkey\ngetkey.get_key() # Wait for a key to be pressed and return it\ngetkey.get_last_key() # Don't wait for a key to be pressed and return the last pressed key (mainly for \"async\" loops)\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Python module to get the pressed key",
"version": "1.0.0",
"project_urls": {
"Bug Reports": "https://github.com/donno2048/getkey/issues",
"Documentation": "https://github.com/donno2048/getkey#readme",
"Homepage": "https://github.com/donno2048/getkey",
"Source Code": "https://github.com/donno2048/getkey"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "a0df8aabbcb603e089911a4b7d145b3a1ada94a8a6b3402fa0b0fa293bdcb801",
"md5": "aa690547d37cc72eb9f330d34ea7f979",
"sha256": "725ff535d937c553527e7662f9e1d3cd63233d53de5ff22b5dd746a96db89feb"
},
"downloads": -1,
"filename": "pygetkey-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "aa690547d37cc72eb9f330d34ea7f979",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2824,
"upload_time": "2022-09-28T18:23:07",
"upload_time_iso_8601": "2022-09-28T18:23:07.250988Z",
"url": "https://files.pythonhosted.org/packages/a0/df/8aabbcb603e089911a4b7d145b3a1ada94a8a6b3402fa0b0fa293bdcb801/pygetkey-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2022-09-28 18:23:07",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "donno2048",
"github_project": "getkey",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pygetkey"
}