This is a quick port of auto complete implementation in ruby using Redis by antirez.

I like python and had little time to burn today, so here goes:

The file used for input is female-names.txt

Hope it helps :)