jedi

An autocompletion tool for Python that can be used for text editors.

Here are some articles that you may find helpful