{ "info": { "author": "Rahul Chatterjee", "author_email": "rahul@cs.cornell.edu", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Topic :: Utilities" ], "description": "Convert word to keypress-sequence\n=================================\n\n|Build Status|\n\nI made this as a submodule for my project on correcting password typos. I found this very cool, and\nmight be useful in many scenarios where one has to find vairations of word due to mistyping.\n\nHere we define typo as purely mistyping a key, and not due to ignorance. Hence, finding possible\ntypos of a word require converting the word into sequence of key presses. This module provides those\nfunctionality to convert word into and from sequence of key presses. Also, given a word find the\npossible typo of that word tuned to the typos due to mistyping.\n\nDependency\n----------\n\nRight now it needs cython. I will remove it in future. \\* Cython.\n\nInstall\n-------\n\n.. code:: bash\n\n $ pip install word2keypress\n\n # or\n\n $ python setup.py install\n\nHow to Use?\n-----------\n\nRefer to the ``HowToRun.ipynb`` file.\n\n.. code:: python\n\n from word2keypress import distance, Keyboard\n kb = Keyboard(u'US') # making unicode is mandatory (weird Cython)\n kseq = kb.word_to_keyseq('Password')\n print \"\\nRaw sequence:\", repr(kseq)\n\n print \"\\nReadable sequence:\", repr(kb.print_keyseq(kseq))\n\n print \"\\nkeyseq->word:\", kb.keyseq_to_word(kseq)\n\n print \"\\ndistance:\", distance('Password1', 'PASSWORD1')\n\nHow to test/develop ?\n~~~~~~~~~~~~~~~~~~~~~\n\n(For myself, as I keep forgetting how to deal with cython. Stupid Idea) Don't forget to regenerate\nthe ``src/word2keypress/_keyboard.c`` file in Option 1.\n\n::\n\n $ python setup.py pytest # Option 1\n $ tox # Option 2\n $ python -m pytest tests/ # Option 3\n\nIn any case have to regenerate the ``_keyboard.c`` to test with the new code.\n\n.. |Build Status| image:: https://travis-ci.org/rchatterjee/word2keypress.svg?branch=master\n :target: https://travis-ci.org/rchatterjee/word2keypress", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rchatterjee/word2keypress.git", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "word2keypress", "package_url": "https://pypi.org/project/word2keypress/", "platform": "", "project_url": "https://pypi.org/project/word2keypress/", "project_urls": { "Homepage": "https://github.com/rchatterjee/word2keypress.git" }, "release_url": "https://pypi.org/project/word2keypress/1.0.16/", "requires_dist": null, "requires_python": "", "summary": "Convert word to keypress sequence", "version": "1.0.16" }, "last_serial": 4122020, "releases": { "1.0.10": [ { "comment_text": "", "digests": { "md5": "1f24df08b8f688f67b959d04a72c3979", "sha256": "96877641d05e4722266ed5748e76fafb91f2ba48e812082945f6ca441240e700" }, "downloads": -1, "filename": "word2keypress-1.0.10-cp27-cp27m-macosx_10_11_x86_64.whl", "has_sig": false, "md5_digest": "1f24df08b8f688f67b959d04a72c3979", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 284233, "upload_time": "2017-03-23T16:04:55", "url": "https://files.pythonhosted.org/packages/77/f0/aa8c1c4554cbe27aec18ebd29aca5218bad115f566c4cd71db1aa6cf657c/word2keypress-1.0.10-cp27-cp27m-macosx_10_11_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "d836bc50ff8c78f3f4784d7dd633b8b3", "sha256": "c18aa5908f5d1b5c1aed6508d7ab416ba9da4d0503ccd954722c42ccd0a6d7b0" }, "downloads": -1, "filename": "word2keypress-1.0.10-cp36-cp36m-macosx_10_12_x86_64.whl", "has_sig": false, "md5_digest": "d836bc50ff8c78f3f4784d7dd633b8b3", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 279313, "upload_time": "2017-03-23T16:05:06", "url": "https://files.pythonhosted.org/packages/07/86/a30100d21534284cd757faf05bb5bb12814d75f8040128d2e3f63bebc61f/word2keypress-1.0.10-cp36-cp36m-macosx_10_12_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "4693ee5191695b14466f60b2a350fd38", "sha256": "e88a34b0f401e99940fdc493956fb7999e97eda0c040dc7c5f5586ecf54ce8b6" }, "downloads": -1, "filename": "word2keypress-1.0.10-py2.7-macosx-10.11-x86_64.egg", "has_sig": false, "md5_digest": "4693ee5191695b14466f60b2a350fd38", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 313473, "upload_time": "2017-03-23T16:04:52", "url": "https://files.pythonhosted.org/packages/f4/31/467cce96e49906413a88654ab2818aacd9bb9bc6ac6c4ac99aaf6957b2d5/word2keypress-1.0.10-py2.7-macosx-10.11-x86_64.egg" }, { "comment_text": "", "digests": { "md5": "aa91029e135288b03a980bea081d47e2", "sha256": "7c38adc80f531a72938c83ce1c2215a43b6faa8a8ddc91ae71d830269ae85740" }, "downloads": -1, "filename": "word2keypress-1.0.10-py3.6-macosx-10.12-x86_64.egg", "has_sig": false, "md5_digest": "aa91029e135288b03a980bea081d47e2", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 325325, "upload_time": "2017-03-23T16:05:03", "url": "https://files.pythonhosted.org/packages/b2/5e/4bc40a0bca3ac224701816da34d3ff0e70eaded5b70cdf5fee5bcaa9081d/word2keypress-1.0.10-py3.6-macosx-10.12-x86_64.egg" }, { "comment_text": "", "digests": { "md5": "0f5ace572f817ca31430fce71aa5d07f", "sha256": "e185648474ce380248ada486d49a79852cdb8b9fb5f4ba348fde88a02687e73a" }, "downloads": -1, "filename": "word2keypress-1.0.10.tar.gz", "has_sig": false, "md5_digest": "0f5ace572f817ca31430fce71aa5d07f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 149672, "upload_time": "2017-03-23T16:04:58", "url": "https://files.pythonhosted.org/packages/2a/c3/8e5174c924aae7f88e070c458d588395e3179d54a13791161f1f857b66fc/word2keypress-1.0.10.tar.gz" } ], "1.0.11": [ { "comment_text": "", "digests": { "md5": "81d64cb33f0dcd6142703078471dce9a", "sha256": "367a26264d7b3e3d3dab45414e5fc0fddb51b5d5be702fe4a7be1a320cf336e9" }, "downloads": -1, "filename": "word2keypress-1.0.11.tar.gz", "has_sig": false, "md5_digest": "81d64cb33f0dcd6142703078471dce9a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 192060, "upload_time": "2018-07-31T21:04:06", "url": "https://files.pythonhosted.org/packages/4b/18/8f3e1f3fba9641074246770b89eff6dd9ef4e877e6f4f28123e5b5d9979a/word2keypress-1.0.11.tar.gz" } ], "1.0.16": [ { "comment_text": "", "digests": { "md5": "db02cbe5ee4dc6761d533740a25dbb68", "sha256": "d1cf380b4795e4c0071ce92d388224f910eee16135824151da8328f11be3ed04" }, "downloads": -1, "filename": "word2keypress-1.0.16.tar.gz", "has_sig": false, "md5_digest": "db02cbe5ee4dc6761d533740a25dbb68", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 192454, "upload_time": "2018-07-31T21:29:26", "url": "https://files.pythonhosted.org/packages/f1/31/fe02ab3dc90b7d39869fb3ec89c60b855773ed3b05ec90929aa22a146f26/word2keypress-1.0.16.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "1cff11564718d28c1bb3f2ac0f89aa6f", "sha256": "2dacf0010e3b76fd26258fe2c7470e24f28e90c91e049745b6c3de3d8e89443f" }, "downloads": -1, "filename": "word2keypress-1.0.3.tar.gz", "has_sig": false, "md5_digest": "1cff11564718d28c1bb3f2ac0f89aa6f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 129102, "upload_time": "2016-10-05T21:31:27", "url": "https://files.pythonhosted.org/packages/d7/c7/2ab67e9a3a21f9f06512ec070e55d22b04c6508ce442887f35398666a575/word2keypress-1.0.3.tar.gz" } ], "1.0.4": [ { "comment_text": "", "digests": { "md5": "a0114ddece057c9409d5a4b896069af9", "sha256": "8b47a20c6cc08f50f2aeccc3c96052971965c4ccd89e571f173e5ef7a1588cd4" }, "downloads": -1, "filename": "word2keypress-1.0.4.tar.gz", "has_sig": false, "md5_digest": "a0114ddece057c9409d5a4b896069af9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 129093, "upload_time": "2016-10-05T22:11:27", "url": "https://files.pythonhosted.org/packages/53/59/2d12a1cfb5218d46405e600594bfbfdcb7d7f9a3738638a3322fc90ee5df/word2keypress-1.0.4.tar.gz" } ], "1.0.5": [ { "comment_text": "", "digests": { "md5": "b1965520f41f003ff4486dc0b5069f0b", "sha256": "73cc4f6dcf70cf07966509077a8fe9b54900da0b914f8bf051381a962c2f8cd4" }, "downloads": -1, "filename": "word2keypress-1.0.5-cp27-cp27m-macosx_10_11_x86_64.whl", "has_sig": false, "md5_digest": "b1965520f41f003ff4486dc0b5069f0b", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 270235, "upload_time": "2016-12-14T17:07:51", "url": "https://files.pythonhosted.org/packages/28/43/62579cf6e05dd526bf6fb6862a6214d7a9aa5f93158e0a117896d42ba9c7/word2keypress-1.0.5-cp27-cp27m-macosx_10_11_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "a14b5a6220c788c1ddbbebcd16791711", "sha256": "9c2f2c69935eb41c1552f91ece9ba3f71c76458ce1e49297079f48c89e77db7e" }, "downloads": -1, "filename": "word2keypress-1.0.5.tar.gz", "has_sig": false, "md5_digest": "a14b5a6220c788c1ddbbebcd16791711", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 129114, "upload_time": "2016-10-05T23:40:26", "url": "https://files.pythonhosted.org/packages/b3/0b/7ab9b5a00bfd0000a03a1221e57670112b76c6ae6f5b6aa1fb3fd15d590f/word2keypress-1.0.5.tar.gz" } ], "1.0.6": [ { "comment_text": "", "digests": { "md5": "f598a09ad462a34be1dad2e287ea1bd0", "sha256": "f0b633315aa8f137e1ececb54fe2e5e1b64ddbf5bf6294b67c34f0dedab71891" }, "downloads": -1, "filename": "word2keypress-1.0.6-cp27-cp27m-macosx_10_12_intel.whl", "has_sig": false, "md5_digest": "f598a09ad462a34be1dad2e287ea1bd0", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 369091, "upload_time": "2017-03-01T00:53:18", "url": "https://files.pythonhosted.org/packages/45/5d/f5d52b6c12d1dec6cf24c425b739aea832be2f2615ed622ab4157298abf4/word2keypress-1.0.6-cp27-cp27m-macosx_10_12_intel.whl" }, { "comment_text": "", "digests": { "md5": "52778fec4b0cb59c824620f80355b3a7", "sha256": "5d0ced05599d1736b15be0324921c3c7e0e6d4fe170b54615b534b6ac3b0f0e9" }, "downloads": -1, "filename": "word2keypress-1.0.6.tar.gz", "has_sig": false, "md5_digest": "52778fec4b0cb59c824620f80355b3a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 144691, "upload_time": "2017-03-01T00:53:21", "url": "https://files.pythonhosted.org/packages/92/fb/40c83bedff4aca0bc5b775bc44c2c9860507829a3863b893f683785130a4/word2keypress-1.0.6.tar.gz" } ], "1.0.7": [ { "comment_text": "", "digests": { "md5": "a8ddff3d88f2e64d06c995dfa2f944e2", "sha256": "ca75efc9dbd82403c4b26bac76173772da33fca396c73786cad8d0189d43f304" }, "downloads": -1, "filename": "word2keypress-1.0.7-cp27-cp27m-macosx_10_11_x86_64.whl", "has_sig": false, "md5_digest": "a8ddff3d88f2e64d06c995dfa2f944e2", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 269350, "upload_time": "2017-03-02T21:18:22", "url": "https://files.pythonhosted.org/packages/21/ff/46fcaa1cfed1741e751b31f27343a6ccb83e2e930f86950b420dad1d8167/word2keypress-1.0.7-cp27-cp27m-macosx_10_11_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "4844507ac0505292119259cd7a2e2725", "sha256": "6a2392db2061c989c5720eb057c0ec97e05f6287128112850723f184c2920e8f" }, "downloads": -1, "filename": "word2keypress-1.0.7-py2.7-linux-x86_64.egg", "has_sig": false, "md5_digest": "4844507ac0505292119259cd7a2e2725", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 587417, "upload_time": "2017-03-07T03:47:41", "url": "https://files.pythonhosted.org/packages/5b/47/f4578a17929ebcb379c60be592be04e0263b7ac476c05cce30a43bc5eace/word2keypress-1.0.7-py2.7-linux-x86_64.egg" }, { "comment_text": "", "digests": { "md5": "d40573bbf1dc093b5e8c0f9318550627", "sha256": "b46d8a45f0cab04bd621c8788a7111c73dc8f851edf854d7f5cd6cee4b79b11e" }, "downloads": -1, "filename": "word2keypress-1.0.7.tar.gz", "has_sig": false, "md5_digest": "d40573bbf1dc093b5e8c0f9318550627", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 144742, "upload_time": "2017-03-02T21:18:25", "url": "https://files.pythonhosted.org/packages/aa/db/de5974280ec831667e155406c0ac122ad59d70e3064606056fad5d0fc460/word2keypress-1.0.7.tar.gz" } ], "1.0.8": [ { "comment_text": "", "digests": { "md5": "85c91fe718490218c708a41ee991284e", "sha256": "4969ead46a48908b45cc82a68877e5ef56204b77c4d2779eed2632c0922643be" }, "downloads": -1, "filename": "word2keypress-1.0.8-cp27-cp27m-macosx_10_11_x86_64.whl", "has_sig": false, "md5_digest": "85c91fe718490218c708a41ee991284e", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 269349, "upload_time": "2017-03-08T20:52:21", "url": "https://files.pythonhosted.org/packages/c9/8b/adc53b1283d958d6aeb25542806782c5e76e3bd4f96f83e6bf0d2204565f/word2keypress-1.0.8-cp27-cp27m-macosx_10_11_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "d792d8fe7b6ac20812d7d9db6cdf91af", "sha256": "ecb31b31c56a5420c52aca84831caf67eb9d65310ca9141bc4fba9cddd374a1b" }, "downloads": -1, "filename": "word2keypress-1.0.8-cp27-cp27m-win32.whl", "has_sig": false, "md5_digest": "d792d8fe7b6ac20812d7d9db6cdf91af", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 244306, "upload_time": "2017-03-11T09:59:08", "url": "https://files.pythonhosted.org/packages/81/6a/0a45bf98dd861f289008d7535b2e6a8b18d7da49e5a5efb52eef50fa8f74/word2keypress-1.0.8-cp27-cp27m-win32.whl" }, { "comment_text": "", "digests": { "md5": "dd3264e09cae98ef1ce8e842f7ce8331", "sha256": "2134aa37b61d3944b5c3908033e9046c8fa05939027427c29c94c76de08c5bfc" }, "downloads": -1, "filename": "word2keypress-1.0.8-py2.7-win32.egg", "has_sig": false, "md5_digest": "dd3264e09cae98ef1ce8e842f7ce8331", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 273456, "upload_time": "2017-03-11T10:00:21", "url": "https://files.pythonhosted.org/packages/e0/71/52bab3064a385bca93ad95baee343faf086c663d5789664ceb148f0ff9dd/word2keypress-1.0.8-py2.7-win32.egg" }, { "comment_text": "", "digests": { "md5": "4d5c4907553f2222ee773c51ab5c16fb", "sha256": "43d5b1eed6d737c51e616cb07636c4f169aed55be6289073219b7aab0555dab6" }, "downloads": -1, "filename": "word2keypress-1.0.8.tar.gz", "has_sig": false, "md5_digest": "4d5c4907553f2222ee773c51ab5c16fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 145610, "upload_time": "2017-03-07T03:49:17", "url": "https://files.pythonhosted.org/packages/b1/7f/88912e6eeed36c40968f78a79249a23ffbc9eed76f053581587c8e605e61/word2keypress-1.0.8.tar.gz" } ], "1.0.9": [ { "comment_text": "", "digests": { "md5": "380b3b05b413effbaf6617ae67d216b5", "sha256": "88c56e435c4ccefe6d56b5f710e5ca1965884db1f4a1674379d8360630937903" }, "downloads": -1, "filename": "word2keypress-1.0.9-cp27-cp27m-macosx_10_11_x86_64.whl", "has_sig": false, "md5_digest": "380b3b05b413effbaf6617ae67d216b5", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 284219, "upload_time": "2017-03-23T15:58:32", "url": "https://files.pythonhosted.org/packages/54/70/7757a8cafd0ced0b393d0acbcbd63345ab55b306230f66abbb40644c7841/word2keypress-1.0.9-cp27-cp27m-macosx_10_11_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "0b5b7a58276364be96c3f86bd90ca2bf", "sha256": "27f8e272b9da5b805843e1839fc4897e96fd28a04d7db7e7639b08c39682ea9b" }, "downloads": -1, "filename": "word2keypress-1.0.9-cp27-cp27m-macosx_10_12_intel.whl", "has_sig": false, "md5_digest": "0b5b7a58276364be96c3f86bd90ca2bf", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 445294, "upload_time": "2017-03-23T15:22:18", "url": "https://files.pythonhosted.org/packages/44/21/22b6dfa2e0fbece5cf5ff80a984c1510b3f3cc792e2d91687889b2ff6d3d/word2keypress-1.0.9-cp27-cp27m-macosx_10_12_intel.whl" }, { "comment_text": "", "digests": { "md5": "3342280137573c7c05fc82b6827d2720", "sha256": "9b6858cb2599480181b719209f1a1d4044bcc77d7e8289473566d3eb65509631" }, "downloads": -1, "filename": "word2keypress-1.0.9-cp36-cp36m-macosx_10_12_x86_64.whl", "has_sig": false, "md5_digest": "3342280137573c7c05fc82b6827d2720", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 286543, "upload_time": "2017-03-23T15:42:17", "url": "https://files.pythonhosted.org/packages/ac/fd/039a99f18e3bdf184610eb59401f4e4b6b554f9002b44c11a132c561a695/word2keypress-1.0.9-cp36-cp36m-macosx_10_12_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "39624d6b8577dbe6069c00f5baa0f3d9", "sha256": "c96a30ca2646bf97fba14bdc0f6a09fd565003a252e8411d9b29b8ce0ccc9336" }, "downloads": -1, "filename": "word2keypress-1.0.9-py3.6-macosx-10.12-x86_64.egg", "has_sig": false, "md5_digest": "39624d6b8577dbe6069c00f5baa0f3d9", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 332530, "upload_time": "2017-03-23T15:42:36", "url": "https://files.pythonhosted.org/packages/ff/1c/02f390cb9a43570cb89c5d982b92a17613d87e9222bcc4347c5be4d9fe42/word2keypress-1.0.9-py3.6-macosx-10.12-x86_64.egg" }, { "comment_text": "", "digests": { "md5": "8c0766bc0530ab78f7c6ca24d5e22d73", "sha256": "4c9032e6c7d3fafe5886953b965b8c21e2aa492d6d77861b3d1ff28d32992cae" }, "downloads": -1, "filename": "word2keypress-1.0.9.tar.gz", "has_sig": false, "md5_digest": "8c0766bc0530ab78f7c6ca24d5e22d73", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 156520, "upload_time": "2017-03-23T15:22:32", "url": "https://files.pythonhosted.org/packages/ed/62/72eb7e2cecc24c69cc4c767e4fb448f3837aa3bd25d4f21ad6dd6978cae2/word2keypress-1.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "db02cbe5ee4dc6761d533740a25dbb68", "sha256": "d1cf380b4795e4c0071ce92d388224f910eee16135824151da8328f11be3ed04" }, "downloads": -1, "filename": "word2keypress-1.0.16.tar.gz", "has_sig": false, "md5_digest": "db02cbe5ee4dc6761d533740a25dbb68", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 192454, "upload_time": "2018-07-31T21:29:26", "url": "https://files.pythonhosted.org/packages/f1/31/fe02ab3dc90b7d39869fb3ec89c60b855773ed3b05ec90929aa22a146f26/word2keypress-1.0.16.tar.gz" } ] }