Python bindings for ssdeep
Project description
pydeep
Python/C bindings for the ssdeep library.
Forked from kbandla/pydeep
- Fixed
DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
- Published wheels at PyPI for x86_64 and aarch64
Installation
Requires Python 3.6 or later. For older Python version, you can use original pydeep.
From PyPI:
pip install pydeep2
From source (ssdeep library must be already installed):
python setup.py build
python setup.py test
sudo python setup.py install
Usage
Methods:
pydeep.hash_buf
/pydeep.hash_bytes
- returns the ssdeep hash for a given bufferpydeep.hash_file
- returns the ssdeep hash for filepathpydeep.compare
- returns the % match between 2 hashes
Example:
import pydeep
hash1 = pydeep.hash_buf('somedata')
hash2 = pydeep.hash_file('/path/to/file')
pydeep.compare(hash1, hash2)
Copyright
- 2011-2012 Kiran Bandla kbandla@in2void.com
- 2021 Jakub Onderka
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydeep2-0.5.tar.gz
(3.9 kB
view hashes)
Built Distributions
Close
Hashes for pydeep2-0.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6ba14d9768f2f3108a777d8d1cb1b6f3706fefe8b7af16c68d2fe32b40ddf46 |
|
MD5 | 7bf126d15cb073728d79c63aff225651 |
|
BLAKE2b-256 | 2efaa9478dce3792195721b47201faab5c03576f7c521f339db6c94721e904ce |
Close
Hashes for pydeep2-0.5-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 071c53d0184f0ac34205b00778493557699f4e92240dc8f03f4b8bdfe9fc2f3b |
|
MD5 | 6d0cbc35cba6ddd19f66d81974f23c6e |
|
BLAKE2b-256 | 2b4ebeb7613fa038696ca8d5ecb837273489541ab065c0f2f5b17e81875b9408 |
Close
Hashes for pydeep2-0.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a606434abc8d63fec80879bd1df94e935724ca9a419a22111de6d9600f46f4c1 |
|
MD5 | db6a35e205d9626541e3f931b3dfcff4 |
|
BLAKE2b-256 | ca71a009c67df4e09548e6fd7e337609a8b80dfb289d93cd3a55962f12f686a9 |
Close
Hashes for pydeep2-0.5-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89354363b891826da74c17f8a24a638f294bf006434a0d03662a93e3276bd8a7 |
|
MD5 | e7717facebaa07b354ba198650a9557e |
|
BLAKE2b-256 | 668e04c1f8c41e8ec8c0488bfed6a2a13f49661e72f30f7cfc61d0b66262acd6 |
Close
Hashes for pydeep2-0.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f7e97c5ee7c92bb4f3d6220ded93f43907adb5da4a39eb1e7f12a8b56934527 |
|
MD5 | e1dc07f3f12232791ecb4c428e3fa2a3 |
|
BLAKE2b-256 | a5c5c71bf43304327b0f84fffb7395e7b0a20655a336cf8770af880f6803a254 |
Close
Hashes for pydeep2-0.5-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66800129b9264fe3f5d2710fa969bd8d4ebe86e9543e78d9ed8d4ee3e2527de6 |
|
MD5 | 37dfbf631cd7e1f9d4c9e8c723905175 |
|
BLAKE2b-256 | 94bd544e6c9c91b5ce84d37f52c62b062e9758b4a15bebe82361902342411ece |
Close
Hashes for pydeep2-0.5-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 238e132516fe052a93056951658aa1ade823fe07e3aa3d0a0e775c9d0d1a0b68 |
|
MD5 | 1f9c958a1f6e30bbf45ab6cc8ed5a7b1 |
|
BLAKE2b-256 | bf2b063993ce73126a3eae0cfb9f7ee048cd123e97ae0bdc5ab26b51739f8b77 |
Close
Hashes for pydeep2-0.5-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a1f2bb11afd21d4006202f6806153d0e91e80b0eec06e6196f23f0b63562b6e |
|
MD5 | 9c785d3e773b51888e607a3be5f2e2bb |
|
BLAKE2b-256 | b882130bd363bbd989cb1838bd83704627e37d6ee13cf1d58295286dd940fb94 |
Close
Hashes for pydeep2-0.5-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b27a5e2732ea41664eeae67cc336110d0c2c1d9e1b0c606066264a6a80df690 |
|
MD5 | 3f2ca1c4b366ed9fc1da2afca39883d6 |
|
BLAKE2b-256 | fea675fd33ad0bec760bcc6d21acf6ff5ad09c1c495ffcbb06930d5035991221 |
Close
Hashes for pydeep2-0.5-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a84cc58d5b96c83ee3327210b9b1543a14bb25f62cc10aa7097a1614ba2ff27 |
|
MD5 | bccd4d6d5f99d8fb98e7ee16aff65b97 |
|
BLAKE2b-256 | a65a34f84f570665ac9995ffec5565fc5648f3d5b87f5505fe08590469fc327d |