PySmell is an autocompletion library for Python, supporting Vim, Emacs and TextMate.
This is a very minor release, just because I had some commits unreleased for two months.
Get it from PyPI. PySmell's homepage is hosted at Google Code.
Here are the changes:
- Better support for windows line endings.
- Added some docstrings
- Better error handling
- Better module attribute lookups
I have some plans for the next release, but also a lot of other stuff to do. Please submit issues on Google Code so I can prioritize.
Comments
Comment by Orestis Markou , 3 years, 4 months ago :
Hi,
To complete django, you should create a PYSMELLTAGS.django file, and put it into your project, next to the main PYSMELLTAGS file.
To generate PYSMELLTAGS.django, run this command from the root of your project:
pysmell /path/to/django/ -o PYSMELLTAGS.django
You should then have a PYSMELLTAGS.django in your project. Everything should be fine after that.
Comment by Tg , 3 years, 3 months ago :
I kinda don't like how completion work ( VIM) . Let's say I'm going to imoprt BeautifulStoneSoup package
import BeautifulSoup.B[C-X][C-O] The omni-completion dialog come up with correct keyword.
but If I type
import Beautifu[C-X][C-O] then It doesn't complete the "BeautifulSoup"
Any idea ? or I just miss some option there ?
Is there any option I miss. ?
Comment by Orestis Markou , 3 years, 3 months ago :
This is a current limitation of PySmell.
import som[completion] doesn't currently work - it's a bit tricky as there might be a lot of candidates that pysmell knows about, and the list could be huge.
import something.[completion] does work, because it's narrowed down to the contents of 'something'.
Nothing I couldn't fix, though. I'll add a ticket for this.
This post is older than 30 days and comments have been turned off.

Comment by Marlun , 3 years, 4 months ago :
Hello,
I've installed PySmell but don't understand how I would allow it to complete external libraries. I've read the section about it in the README but don't understnad how to write if I want it to complete django libraries?