{ "info": { "author": "Brandon Mulcahy", "author_email": "brandon@lightcones.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing" ], "description": "Readlike\n========\n\nA Python module that provides `GNU Readline`_-like line editing functions (the\ndefault Emacs-style ones). If you just want to use Readline, use the readline_\npackage in the standard library--but this package allows access to those\ncapabilties in settings outside of a standard CLI.\n\nCurrently, all stateless Readline commands are implemented. This means that\nyanking and history are not supported.\n\nThis module is especially well-suited to interfacing with Urwid_ due to a\nshared syntax for describing key inputs.\n\nInstallation\n------------\n\nInstall or upgrade to the latest version from PyPI_::\n\n\t[sudo] pip install -U readlike\n\nQuick example\n-------------\n\nTranspose words::\n\n\t>>> import readlike\n\t>>> readlike.edit('perilous siege', 9, 'meta t')\n\t('siege perilous', 14)\n\nCommands\n--------\n\nImplemented commands and their correspondings keys are as follows::\n\n backward-char ctrl b, left\n backward-delete-char ctrl h, backspace\n backward-kill-word ctrl meta h, meta backspace\n backward-word meta b, meta left\n beginning-of-line ctrl a, home\n capitalize-word meta c\n delete-char ctrl d, delete\n delete-horizontal-space meta \\\n downcase-word meta l\n end-of-line ctrl e, end\n forward-char ctrl f, right\n forward-word meta f, meta right\n kill-line ctrl k\n kill-word meta d, meta delete\n transpose-chars ctrl t\n transpose-words meta t\n unix-line-discard ctrl u\n unix-word-rubout ctrl w\n upcase-word meta u\n\nFor more information about each command, see readline(3) or see the doc\nstrings in readlike.py_.\n\nProjects using Readlike\n-----------------------\n\n- hangups_\n\n.. _GNU Readline: http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html\n.. _readline: https://docs.python.org/3/library/readline.html\n.. _PyPI: https://pypi.python.org/pypi/readlike\n.. _Urwid: http://urwid.org/\n.. _readlike.py: https://github.com/jangler/readlike/blob/master/readlike.py\n.. _hangups: https://github.com/tdryer/hangups\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jangler/readlike", "keywords": "line editing", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "readlike", "package_url": "https://pypi.org/project/readlike/", "platform": "", "project_url": "https://pypi.org/project/readlike/", "project_urls": { "Homepage": "https://github.com/jangler/readlike" }, "release_url": "https://pypi.org/project/readlike/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "GNU Readline-like line editing module", "version": "0.1.3" }, "last_serial": 3910534, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "54f06e224784e8370fd896d0a4c05ca1", "sha256": "46373f011c950d35d8fc3c859d8ca48b1e806fc8271ef4d8c0e2d1d7ffef037a" }, "downloads": -1, "filename": "readlike-0.1.0.tar.gz", "has_sig": false, "md5_digest": "54f06e224784e8370fd896d0a4c05ca1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2495, "upload_time": "2015-06-13T05:22:53", "url": "https://files.pythonhosted.org/packages/d3/6e/aa521ad8d4b3189ff35093b5352162b48f4b50cb8d71a33fdedf75ba41fa/readlike-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "f117959028adf3a11be76117b488a787", "sha256": "c17e052958d5fd698ce87d00b0567a8d49df4a9787ff6cd685a2f7d98d674495" }, "downloads": -1, "filename": "readlike-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f117959028adf3a11be76117b488a787", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5745, "upload_time": "2015-06-13T05:36:12", "url": "https://files.pythonhosted.org/packages/28/83/aa73ab931741ae7aaa95fee6622d7c6f9c4af2fd5650759c72c0b8e1c33c/readlike-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "368292c5a247285774c356d6ece83894", "sha256": "c0a25514dbff18f106a13c7893d1cdbc1e87e347e9d6f803e84c05cc2fe56d8a" }, "downloads": -1, "filename": "readlike-0.1.1.tar.gz", "has_sig": false, "md5_digest": "368292c5a247285774c356d6ece83894", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4810, "upload_time": "2015-06-13T05:36:15", "url": "https://files.pythonhosted.org/packages/03/14/f477fb87151ff717a8cc9882c577af7a297df17240d76cbdc80ac63fec2d/readlike-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "11f8cd7481490bc6e6534169031c549e", "sha256": "b043b8868e25a5635b17e2e56e0917c3f904860c272992df7f3b2bfb7ffa2518" }, "downloads": -1, "filename": "readlike-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "11f8cd7481490bc6e6534169031c549e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6476, "upload_time": "2016-02-23T18:00:58", "url": "https://files.pythonhosted.org/packages/df/b0/746b47e871f034f6c6d14d1e46514540a9f77230a6f565e0e9e551ca2725/readlike-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "26caff8f77a1646996a3bd303c79ce18", "sha256": "08645493a24eecbcad70a5ed7fbf1a3820ba5e57e9690297edc485c2992f66b2" }, "downloads": -1, "filename": "readlike-0.1.2.tar.gz", "has_sig": false, "md5_digest": "26caff8f77a1646996a3bd303c79ce18", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5068, "upload_time": "2016-02-23T18:01:08", "url": "https://files.pythonhosted.org/packages/03/a4/8267929e370c0167b138df47ee120fc79f820b2f4d0791f611d934921552/readlike-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "c518ab884431859ba413d8cff219b858", "sha256": "a87a179ac7badc174883d88baddb37a5f8cbb4fe533a5fa2ffc3563b14fe2601" }, "downloads": -1, "filename": "readlike-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "c518ab884431859ba413d8cff219b858", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 4641, "upload_time": "2018-05-29T21:07:44", "url": "https://files.pythonhosted.org/packages/71/02/d639167c3ed84b9c3040bc99ed97be67796b53635f0c4f23392918428324/readlike-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "95fe69ddd0f17ba88e63419bb4310ea1", "sha256": "4486ba5f1c1770dc6458316ecb95ea12e1ba7f59f328804fa17a8212b743fc08" }, "downloads": -1, "filename": "readlike-0.1.3.tar.gz", "has_sig": false, "md5_digest": "95fe69ddd0f17ba88e63419bb4310ea1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5023, "upload_time": "2018-05-29T21:07:43", "url": "https://files.pythonhosted.org/packages/2b/2d/8b281b3c2c14efd4105f90a83d886a69c8a1f6d6c2c20f1c55a8d65822ce/readlike-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c518ab884431859ba413d8cff219b858", "sha256": "a87a179ac7badc174883d88baddb37a5f8cbb4fe533a5fa2ffc3563b14fe2601" }, "downloads": -1, "filename": "readlike-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "c518ab884431859ba413d8cff219b858", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 4641, "upload_time": "2018-05-29T21:07:44", "url": "https://files.pythonhosted.org/packages/71/02/d639167c3ed84b9c3040bc99ed97be67796b53635f0c4f23392918428324/readlike-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "95fe69ddd0f17ba88e63419bb4310ea1", "sha256": "4486ba5f1c1770dc6458316ecb95ea12e1ba7f59f328804fa17a8212b743fc08" }, "downloads": -1, "filename": "readlike-0.1.3.tar.gz", "has_sig": false, "md5_digest": "95fe69ddd0f17ba88e63419bb4310ea1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5023, "upload_time": "2018-05-29T21:07:43", "url": "https://files.pythonhosted.org/packages/2b/2d/8b281b3c2c14efd4105f90a83d886a69c8a1f6d6c2c20f1c55a8d65822ce/readlike-0.1.3.tar.gz" } ] }