Recently I needed to use tf-idf for a personal project. I couldn't find a suitable library on the internet in python, without complicated dependencies. I ended up writing a simple one. Here it is, in case anyone else would find it useful.
No n-grams or stemming, but it computes basic tf-idf. Thanks to Alex for reviewing.