Skip to content

fayetted/pydeep

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pydeep
------

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')



Replacing pyssdeep with pydeep
------------------------------
pyssdeep was segfaulting manytimes on OSX. Thats why i quickly wrote pydeep

instead of :

    *   from ssdeep import ssdeep
    *   s = ssdeep()
    *   s.hash_file('some-file') 

you can replace the first 2 lines with :
    *   import pydeep as s

And you should be all set




---------------------------------

https://github.com/kbandla/pydeep

Tested on :
OSX 10.7 - x86_64, i386
CentOS 5 - x86_64, i386

About

Python bindings for ssdeep

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 69.1%
  • Python 30.9%