Metadata-Version: 2.0
Name: deplicate
Version: 0.2.0
Summary: Advanced Duplicate File Finder for Python. Nothing is impossible to solve.
Home-page: https://github.com/vuolter/deplicate
Author: Walter Purcaro
Author-email: vuolter@gmail.com
License: MIT
Download-URL: https://github.com/vuolter/deplicate/releases
Keywords: duplicates dups
Platform: any
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: End Users/Desktop
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
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: Topic :: System
Classifier: Topic :: System :: Filesystems
Classifier: Topic :: Utilities
Requires-Python: >=2.6,!=3.0,!=3.1,!=3.2
Requires-Dist: pyobjc
Requires-Dist: pypiwin32 (>=154)
Requires-Dist: scandir
Provides-Extra: full
Requires-Dist: directio; extra == 'full'

deplicate
=========

Installation
------------

Type in your command shell **with *administrator/root* privileges**:

::

    pip install deplicate[full]

In Unix-based systems, this is generally achieved by superseding the
command ``sudo``.

::

    sudo pip install deplicate[full]

The option ``full`` ensures that all the optional packages will
downloaded and installed as well as the mandatory dependencies.

You can install just the main package typing:

::

    pip install deplicate

If the above commands fail, consider installing it with the option
`--user`_:

::

    pip install --user deplicate

Usage
-----

Use **deplicate** to find out all the duplicated files in one or more
directories, you can also scan for duplicates a bunch of files directly.

To find the duplicates import in your python script the new available
module ``duplicate`` and call its method ``find``:

::

    import duplicate

    entries = ['/path/to/directory1', '/path/to/directory2', '/path/to/file1']
    duplicate.find(entries)

Examples
--------

*TODO*

API Reference
-------------

-  duplicate.\ **find**\ (
      ``paths, minsize=None, include=None, exclude=None,``
      ``comparename=False, comparemtime=False,compareperms=False,``
      ``recursive=False, followlinks=False, scanlinks=False,``
      ``scanempties=False, scansystems=True, scanarchived=True,``
      ``scanhidden=True, signsize=None``)
-  **Return**: List of lists of duplicate files.
-  **Parameters**:

   -  ``paths`` -- Iterable of directory or file path.
   -  ``minsize`` -- *(optional)* Minimum size of files to include in
      scanning (default to ``DEFAULT_MINSIZE``).
   -  ``include`` -- *(optional)* Wildcard pattern of files to include in
      scanning.
   -  ``exclude`` -- *(optional)* Wildcard pattern of files to exclude
      from scanning.
   -  ``comparename`` -- *(optional)* Check file name.
   -  ``comparemtime`` -- *(optional)* Check file modification time.
   -  ``compareperms`` -- *(optional)* Check file mode (permissions).
   -  ``recursive`` -- *(optional)* Scan directory recursively.
   -  ``followlinks`` -- *(optional)* Follow symbolic links pointing to
      directory.
   -  ``scanlinks`` -- *(optional)* Scan symbolic links pointing to file.
   -  ``scanempties`` -- *(optional)* Scan empty files.
   -  ``scansystems`` -- *(optional)* Scan OS files.
   -  ``scanarchived`` -- *(optional)* Scan archived files.
   -  ``scanhidden`` -- *(optional)* Scan hidden files.
   -  ``signsize`` -- *(optional)* Size of bytes to read from file as
      signature (default to ``DEFAULT_SIGNSIZE``).

.. _--user: https://pip.pypa.io/en/latest/user_guide/#user-installs


