Metadata-Version: 2.1
Name: mail-deduplicate
Version: 6.1.3
Summary: 📧 CLI to deduplicate mails from mail boxes.
Home-page: https://github.com/kdeldycke/mail-deduplicate
License: GPL-2.0-or-later
Keywords: CLI,mail,email,maildir,mbox,deduplication,dedupe,cleanup,mailbox,Babyl,MH,mbox,MMDF
Author: Kevin Deldycke
Author-email: kevin@deldycke.com
Requires-Python: >=3.6,<4.0
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Communications :: Email
Classifier: Topic :: Utilities
Provides-Extra: docs
Requires-Dist: arrow (>=0.17,<1.1)
Requires-Dist: boltons (>=20.2.1,<21.0.0)
Requires-Dist: click (>=7.1.2,<8.0.0)
Requires-Dist: click-help-colors (>=0.8,<0.10)
Requires-Dist: click-log (>=0.3.2,<0.4.0)
Requires-Dist: sphinx (>=3.4.2,<4.0.0); extra == "docs"
Requires-Dist: sphinx_rtd_theme (>=0.5.1,<0.6.0); extra == "docs"
Requires-Dist: tabulate (>=0.8.7,<0.9.0)
Requires-Dist: tomlkit (>=0.7.0,<0.8.0)
Project-URL: Documentation, https://mail-deduplicate.readthedocs.io
Project-URL: Funding, https://github.com/sponsors/kdeldycke
Project-URL: Repository, https://github.com/kdeldycke/mail-deduplicate
Description-Content-Type: text/x-rst

Mail Deduplicate
================

Command-line tool to deduplicate mails from a set of boxes.

Stable release: |release| |versions|

Development: |build| |docs| |coverage|

.. |release| image:: https://img.shields.io/pypi/v/mail-deduplicate.svg
    :target: https://pypi.python.org/pypi/mail-deduplicate
    :alt: Last release
.. |versions| image:: https://img.shields.io/pypi/pyversions/mail-deduplicate.svg
    :target: https://pypi.python.org/pypi/mail-deduplicate
    :alt: Python versions
.. |build| image:: https://github.com/kdeldycke/mail-deduplicate/workflows/Tests/badge.svg
    :target: https://github.com/kdeldycke/mail-deduplicate/actions?query=workflow%3ATests
    :alt: Unittests status
.. |docs| image:: https://readthedocs.org/projects/mail-deduplicate/badge/?version=develop
    :target: https://mail-deduplicate.readthedocs.io/en/develop/
    :alt: Documentation Status
.. |coverage| image:: https://codecov.io/gh/kdeldycke/mail-deduplicate/branch/develop/graph/badge.svg
    :target: https://codecov.io/github/kdeldycke/mail-deduplicate?branch=develop
    :alt: Coverage Status

.. figure:: https://raw.githubusercontent.com/kdeldycke/mail-deduplicate/develop/docs/cli-coloured-header.png
    :align: center


Features
--------

* Duplicate detection based on cherry-picked and normalized mail headers.
* Source and deduplicate mails from multiple sources.
* Reads and writes to ``mbox``, ``maildir``, ``babyl``, ``mh`` and ``mmdf`` formats.
* Multiple duplicate selection strategies based on size, content, timestamp, file
  path or random choice.
* Copy, move or delete the resulting set of mails after the deduplication.
* Dry-run mode.
* Protection against false-positives by checking for size and content
  differences.


Screenshots
-----------

.. figure:: https://raw.githubusercontent.com/kdeldycke/mail-deduplicate/develop/docs/cli-colored-help.png
    :align: center

.. figure:: https://raw.githubusercontent.com/kdeldycke/mail-deduplicate/develop/docs/cli-coloured-run.png
    :align: center


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

This package is `available on PyPi
<https://pypi.python.org/pypi/mail-deduplicate>`_, so you can install the
latest stable release and its dependencies with a simple ``pip`` call:

.. code-block:: shell-session

    $ pip install mail-deduplicate


Documentation
-------------

Docs are `hosted on Read the Docs
<https://mail-deduplicate.readthedocs.io>`_.

