{ "info": { "author": "Philip Bjorge", "author_email": "philipbjorge@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "EditREPL\n========\n\nEditREPL is a port of Giles Bowkett's\n`InteractiveEditor `__\ncomponent from his ruby gem `Utility\nBelt `__.\n\nEditREPL allows you to run a terminal based editor inside your REPL\nsession to interactively edit code.\n\n.. figure:: https://raw.github.com/philipbjorge/EditREPL/master/preview.gif\n :alt: video preview\n\n`Video `__\n\nInstallation\n------------\n\nInstallation is easy using either pip or easy\\_install.\n\n::\n\n easy_install EditREPL\n pip install EditREPL\n\nSupported Environments\n----------------------\n\nEditREPL is Python2 and Python3 compatible with the default interactive\nshell.\n\nBasic Usage\n-----------\n\nTo include it in your session, import the module and call the editor\nfunction:\n\n::\n\n import editrepl\n vim()\n\nAfter you save, the buffer will be executed in the current REPL context.\n\nAdvanced Usage\n--------------\n\nCan I edit any file?\n~~~~~~~~~~~~~~~~~~~~\n\nYes, just call the editor function with the filename you want to edit.\n\n::\n\n vim(\"myfile.py\")\n\nHow does EditREPL choose your editor?\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nBy default it uses the editor defined as your EDITOR environment\nvariable, but if that isn't defined it tries the following editors in\norder:\n\n::\n\n [\"vim\", \"vi\", \"emacs\", \"nano\", \"pico\", \"ed\"]\n\nCan I change my editor?\n~~~~~~~~~~~~~~~~~~~~~~~\n\nTo manually set your editor after initialization, supply the name or\nfull path to the executable as follows:\n\n::\n\n ER.editor = \"cli-textmate\"\n\nThis will create a binding to the function cli-textmate for you to call.\n\nWhat REPLs does it work with?\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nOnly the default python interpreter. iPython and bPython are confirmed\nto not work.\n\nHow does it work?\n-----------------\n\nCheck out the literate code\n`here `__\nor clone the repo and checkout out the docs folder.\n\nEtc\n---\n\nBy `Philip Bjorge `__\n\n**Contributors**\n\n- rpk512\n\nReleased under BSD License\n\nhttps://github.com/philipbjorge/EditREPL", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/philipbjorge/EditREPL", "keywords": null, "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "EditREPL", "package_url": "https://pypi.org/project/EditREPL/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/EditREPL/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/philipbjorge/EditREPL" }, "release_url": "https://pypi.org/project/EditREPL/2013.06.20/", "requires_dist": null, "requires_python": null, "summary": "Use your CLI text editor from within the Python REPL.", "version": "2013.06.20" }, "last_serial": 784195, "releases": { "2013.03.17": [ { "comment_text": "", "digests": { "md5": "660f763bd0fe0975ac4b6746ba0a5da9", "sha256": "c5764845bf1942b8c6f3d8c54b5a256b11d4b08978287b682fcc6b83dc555411" }, "downloads": -1, "filename": "EditREPL-2013.03.17.tar.gz", "has_sig": false, "md5_digest": "660f763bd0fe0975ac4b6746ba0a5da9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6404, "upload_time": "2013-03-17T22:13:19", "url": "https://files.pythonhosted.org/packages/ab/4b/efd29a32cfaac97d2bd8618aa5ac60693b38ca2e628f605c4bb2c7b63710/EditREPL-2013.03.17.tar.gz" } ], "2013.03.17.1": [ { "comment_text": "", "digests": { "md5": "8a2cb8c73a9bf493b4fc05ac1f4c66f0", "sha256": "fbd3e98c947e6e1838b5e1950a0ebd94825a778a92a42c63eb95395e451f5b8f" }, "downloads": -1, "filename": "EditREPL-2013.03.17.1.tar.gz", "has_sig": false, "md5_digest": "8a2cb8c73a9bf493b4fc05ac1f4c66f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6918, "upload_time": "2013-03-18T00:36:45", "url": "https://files.pythonhosted.org/packages/1b/31/b5a97e7747134e037a257ae9fca2772bcbf84065f07b260a0fdbd31954fc/EditREPL-2013.03.17.1.tar.gz" } ], "2013.04.05": [ { "comment_text": "", "digests": { "md5": "09cf8c3eb71bf2dc9d87f5b6c08852bc", "sha256": "c7f9f20f432e12dd92289a482911c7236d467a5eb1af85ca2e226099d4d91890" }, "downloads": -1, "filename": "EditREPL-2013.04.05.tar.gz", "has_sig": false, "md5_digest": "09cf8c3eb71bf2dc9d87f5b6c08852bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7347, "upload_time": "2013-04-05T18:06:24", "url": "https://files.pythonhosted.org/packages/0c/eb/510631659f318efca32e5be9a9a986f4b97056b0f839f9a24990e184fd82/EditREPL-2013.04.05.tar.gz" } ], "2013.06.20": [ { "comment_text": "", "digests": { "md5": "24a79c6d615093ead2617407bf6a5528", "sha256": "2cf966b27768389c82d4197a1df9c37c2b25ac6c4a019468168e93069637fdbb" }, "downloads": -1, "filename": "EditREPL-2013.06.20.tar.gz", "has_sig": false, "md5_digest": "24a79c6d615093ead2617407bf6a5528", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7561, "upload_time": "2013-06-20T18:53:59", "url": "https://files.pythonhosted.org/packages/1f/51/40aa58a0cf26e12e9105aec14525371f43ae4155f432b20c79a7f88cd5b7/EditREPL-2013.06.20.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "24a79c6d615093ead2617407bf6a5528", "sha256": "2cf966b27768389c82d4197a1df9c37c2b25ac6c4a019468168e93069637fdbb" }, "downloads": -1, "filename": "EditREPL-2013.06.20.tar.gz", "has_sig": false, "md5_digest": "24a79c6d615093ead2617407bf6a5528", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7561, "upload_time": "2013-06-20T18:53:59", "url": "https://files.pythonhosted.org/packages/1f/51/40aa58a0cf26e12e9105aec14525371f43ae4155f432b20c79a7f88cd5b7/EditREPL-2013.06.20.tar.gz" } ] }