https://github.com/syohex/emacs-ac-capf.git
git clone 'git://github.com/syohex/emacs-ac-capf.git'
auto-complete source for completion-at-point.
Most code is taken from company-mode.
This auto-complete source is useful in REPL buffer like inferior-python-mode etc.

ac-capf-setupSet up the auto-complete source and enable auto-complete-mode.
(add-hook 'inferior-python-mode-hook 'ac-capf-setup)