{ "info": { "author": "Andrei Chiver", "author_email": "andreichiver@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Topic :: Software Development" ], "description": "Vimrunner\n======================================================================\n\nModule that implements a client and server interface useful for controlling a \nVim editor, started as a server, programmatically. This module could be used \nfor unit testing or integration testing for a Vim plugin written in Python. \nOr you can use it to interactively control a Vim editor by python code, for \nexample, in an Ipython session.\n\nHow it all started\n======================================================================\n\nI created a class that used the `vim python module\n`_\nto emulate a vim buffer and that would act like a list, so you could read and \nwrite lines and manipulate text using python.\n\nHowever, I stumbled across \n`Vimrunner `_\nwhich is a Ruby gem used to \"spawn a Vim instance and control it \nprogramatically.\"\n\nSo, this python module is heavily inspired by the project mentioned above. \n\nInstallation\n======================================================================\n\nThere is a `vimrunner package `_ on \nPyPI, so you can install it with:\n\n pip install vimrunner\n\nAlternatively, you can just drop vimrunner.py file into your project - it is \nself-contained.\n\nTesting\n======================================================================\n\nYou can run unit tests using the command:\n\n python setup.py test\n\nUsage\n======================================================================\n\n.. code:: python\n\n import vimrunner\n \n # initialize vim server\n vim = vimrunner.Server()\n \n # start GVIM as server and get a client connected to it\n client = vim.start_gvim()\n client.edit('any_file')\n client.source('path/to/vim/plugin')\n \n # start Vim editor in a terminal; it should work for Debian, Ubuntu, etc.\n # that have a desktop installed\n client = vim.start_in_other_terminal()\n\nDocumentation is available at ``_\n\nFor any suggestions regarding the module and its documentation, please submit \nan issue using `GitHub issue tracker\n`_", "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/andri-ch/vimrunner-python", "keywords": "test Vim editor server plugin", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "vimrunner", "package_url": "https://pypi.org/project/vimrunner/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/vimrunner/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/andri-ch/vimrunner-python" }, "release_url": "https://pypi.org/project/vimrunner/1.0.3/", "requires_dist": null, "requires_python": null, "summary": "Interface for controlling a Vim editor using Python code.", "version": "1.0.3" }, "last_serial": 1318557, "releases": { "1.0.1": [], "1.0.2": [ { "comment_text": "", "digests": { "md5": "9bba1c5a825b9811348183d5dbc768a0", "sha256": "4652198fa9a01036308a78ecef6162e6d29bcae9ca334fc9e52db456166d6ebb" }, "downloads": -1, "filename": "vimrunner-1.0.2.tar.gz", "has_sig": false, "md5_digest": "9bba1c5a825b9811348183d5dbc768a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11254, "upload_time": "2014-11-21T08:06:22", "url": "https://files.pythonhosted.org/packages/09/39/9d2f9bf84c29213165f538cb98aeed708a2766f7197f1db99fbcd10dd632/vimrunner-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "e9af57b14159d87d341f8d7f355cb1f1", "sha256": "30be7dad61daa40c80ab65a82c46a955a0c2da8f5e7d448b91da3c965f0f366e" }, "downloads": -1, "filename": "vimrunner-1.0.3.tar.gz", "has_sig": false, "md5_digest": "e9af57b14159d87d341f8d7f355cb1f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11241, "upload_time": "2014-11-24T08:14:35", "url": "https://files.pythonhosted.org/packages/88/c3/efd8385f1e4279ba7d2f5b1827fec618b3dff8166aff1ac25c46145bbb29/vimrunner-1.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e9af57b14159d87d341f8d7f355cb1f1", "sha256": "30be7dad61daa40c80ab65a82c46a955a0c2da8f5e7d448b91da3c965f0f366e" }, "downloads": -1, "filename": "vimrunner-1.0.3.tar.gz", "has_sig": false, "md5_digest": "e9af57b14159d87d341f8d7f355cb1f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11241, "upload_time": "2014-11-24T08:14:35", "url": "https://files.pythonhosted.org/packages/88/c3/efd8385f1e4279ba7d2f5b1827fec618b3dff8166aff1ac25c46145bbb29/vimrunner-1.0.3.tar.gz" } ] }