./security/py-pydeep, Python bindings for ssdeep

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2022Q2, Version: 0.4nb1, Package name: py39-pydeep-0.4nb1, Maintainer: pkgsrc-users

Python/C bindings for the ssdeep library at http://ssdeep.sourceforge.net:

* hash_buf / hash_bytes - returns the ssdeep hash for a given buffer
* hash_file - returns the ssdeep hash for filepath
* compare - returns the % match between 2 hashes

import pydeep
pydeep.hash_buf('somedata')
pydeep.hash_file('path-to-file')
pydeep.compare('hash1','hash2')


Master sites:

Filesize: 1.983 KB

Version history: (Expand)