Metadata-Version: 1.1
Name: checksumdir
Version: 1.1.7
Summary: Compute a single hash of the file contents of a directory.
Home-page: http://github.com/cakepietoast/checksumdir
Author: Tom McCarthy, M. Niedzielski
Author-email: tmac.se@gmail.com, mark@x-powered-by.info
License: MIT
Description: ***********
        Checksumdir
        ***********
        
        A simple module for creating a single hash for a directory of files, with file contents;
        ignoring any metadata such as file name.  Options exist to also exclude specific files
        or files with specific extensions.
        
        =====
        Usage
        =====
        
        .. code-block:: python
        
            from checksumdir import dirhash
        
            directory  = '/path/to/directory/'
            md5hash    = dirhash(directory, 'md5')
            sha1hash   = dirhash(directory, 'sha1', excluded_files=['package.json'])
            sha256hash = dirhash(directory, 'sha256', excluded_extensions=['pyc'])
        
        
        Or to use the CLI:
        
        .. code-block:: bash
        
            # Defaults to md5.
            $ checksumdir /path/to/directory
        
            # Create sha1 hash:
            $ checksumdir -a sha1 /path/to/directory
        
            # Exclude files:
            $ checksumdir -e <files> /path/to/directory
        
            # Exclude files with specific extensions:
            $ checksumdir -x <extensions> /path/to/directory
        
            # Follow soft links:
            $ checksumdir --follow-links /path/to/directory
Keywords: hash checksum md5 directory
Platform: UNKNOWN
Classifier: Topic :: Utilities
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
