Sophie

Sophie

distrib > Mandriva > 2007.0 > x86_64 > media > contrib-release-src > by-pkgid > 7af1ccfdd4bdf6580188537b4c106e3d

python-fchksum-1.7.1-4mdv2007.0.src.rpm

Description:

This module provides quick and easy functions to find checksums of files.
It supports md5, crc32, cksum, bsd-style sum, and sysv-style sum.
The advantage of using fchksum over the python md5 and zlib(.crc32)
modules is both ease of use and speed. You only need to tell it the
filename and the actual work is done by C code. Compared to the
implementing a read loop in python with the standard python modules,
fchksum is up to 2.0x faster in md5 and 1.1x faster in crc32.

All checksum functions take a filename as a string, and optional callback
function, and callback delay (in seconds), and return a tuple (checksum,
size). An empty string may be substituted for filename to read from
stdin. The returned size is always a python Long, and the checksum
return type varies depending on the function.

Generated packages:

Other version of this rpm: