Projects / pydiction


Pydiction consists of a Vim plugin and a Python script that allows programmers to tab-complete their Python code in Vim by generating a dictionary file of Python modules, and their attributes and methods. It comes with a default dictionary containing the entire Python standard library, keywords, built-ins, and many 3rd-party modules like Numpy, Django, Flask, Requests, Twisted, PyQT4, Pygame, OpenGL, wxPython, PyGTK, MySQLdb, Psycopg2, and more.

Operating Systems

Recent releases

  •  01 May 2014 06:24

    Release Notes: This release added scrapy, lxml, urwid, and celery, better completion defaults, and better checking for missing attributes. Extra blank lines were removed.

    •  05 Apr 2014 07:19

      Release Notes: This release includes an updated dictionary, with the latest versions of Django, Flask, Twisted, Requests, Psycopg2, and much more. It also added more information to dictionary markers.

      •  25 Jul 2009 06:29

        Release Notes: "from module" completion, tab backwards support, and more third party libraries.

        •  20 Jul 2009 20:57

          Release Notes: This release adds quoted string method completion, adds ZSI Web Services module completion, and fixes a bug with the -v option.

          •  19 Jul 2009 06:56

            Release Notes: Everything was rewritten. It's now an ftplugin and uses the Tab key for completion. The dictionary generator works more accurately, automatically removes duplicates, and gives you more options. It also no longer breaks "isk" in Vim.

            Recent comments

            05 Apr 2014 17:45 gt3

            Lucas in order for it to complete "from module as MD" you would have to add MD.whatever stuff to the dictionary manually in a text editor, since there's no way for Pydiction to know what aliases you might make up. You could alternatively use omni-completion with C-X C-O.

            23 May 2013 13:01 LucasP

            Pydiction is a great plugin, however I have a question concerning its use : although it is possible to do something like "from module import method", it seems not possible to do something like "import module as MD" and then do complete with "MD<tab>". Am I wrong ?
            (I have not seen anything about this in the documentation)



            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.