python dict-vectorizer API