Python library for extracting and clustering signatures from pdfs