ncd.py is a simple and fast implementation of Normalized Compress Distance (NCD). It was developed to replace CompLearn's NCD which is overly complex and has severe memory leaks. ncd.py supports multiple compression algorithms (zlib, bz2) and compression levels (1-9). It will output an NxN distance matrix along with the input fileset to text or pickle formats.
- ncd.py - released March 27th, 2007
usage: ncd.py [OPTION] [FILE]... options: -h, --help show this help message and exit -c COMPRESSOR compressor algorithm (zlib, bz2) -l LEVEL compression level (1-9) -f FORMAT output format (text, pickle) -o OUTPUT output filename