Skip to main content

Deduplicate mails from a set of maildir folders.

Project description

Maildir Deduplicate
===================

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

Stable release: |release| |versions| |license| |dependencies|

Development: |build| |docs| |coverage| |quality|

.. |release| image:: https://img.shields.io/pypi/v/maildir-deduplicate.svg
:target: https://pypi-hypernode.com/pypi/maildir-deduplicate
:alt: Last release
.. |versions| image:: https://img.shields.io/pypi/pyversions/maildir-deduplicate.svg
:target: https://pypi-hypernode.com/pypi/maildir-deduplicate
:alt: Python versions
.. |license| image:: https://img.shields.io/pypi/l/maildir-deduplicate.svg
:target: https://www.gnu.org/licenses/gpl-2.0.html
:alt: Software license
.. |dependencies| image:: https://requires.io/github/kdeldycke/maildir-deduplicate/requirements.svg?branch=master
:target: https://requires.io/github/kdeldycke/maildir-deduplicate/requirements/?branch=master
:alt: Requirements freshness
.. |build| image:: https://travis-ci.org/kdeldycke/maildir-deduplicate.svg?branch=develop
:target: https://travis-ci.org/kdeldycke/maildir-deduplicate
:alt: Unit-tests status
.. |docs| image:: https://readthedocs.org/projects/maildir-deduplicate/badge/?version=develop
:target: http://maildir-deduplicate.readthedocs.io/en/develop/
:alt: Documentation Status
.. |coverage| image:: https://codecov.io/gh/kdeldycke/maildir-deduplicate/branch/develop/graph/badge.svg
:target: https://codecov.io/github/kdeldycke/maildir-deduplicate?branch=develop
:alt: Coverage Status
.. |quality| image:: https://scrutinizer-ci.com/g/kdeldycke/maildir-deduplicate/badges/quality-score.png?b=develop
:target: https://scrutinizer-ci.com/g/kdeldycke/maildir-deduplicate/?branch=develop
:alt: Code Quality


Features
--------

* Duplicate detection based on cherry-picked mail headers.
* Source mails from multiple maildirs.
* Multiple removal strategies based on size, timestamp or file path.
* Dry-run mode.
* Protection against false-positives by checking for size and content
differences.


Changes for v`2.0.0 (2016-11-13) <https://github.com/kdeldycke/maildir-deduplicate/compare/v1.3.0...v2.0.0>`_
------------------------------------------------------------------------------------------------

* Refactor and redefine all removal strategies. Closes #40.
* Add a new ``-t``/``--time-source`` CLI parameter to point to the canonical
source of a mail's timestamp.
* Rename ``-s``/``--show-diffs`` parameter to ``-d``/``--show-diff``.
* Rename ``-D``/``--diff-threshold`` parameter to
``-C``/``--content-threshold``.
* Add new ``-s`` shorthand to ``--strategy`` parameter.
* Re-implement diff threshold options. Closes #43.
* Re-implement statistics. Closes #42.
* Normalize and canonicalize all paths to deduplicate on the fly mails pointing
to the same file.
* Build documentation via Sphinx.
* Add ``test`` and ``develop`` dependencies.
* Move coverage config to ``setup.cfg``.
* Replace ``pep8`` package by ``pycodestyle``.
* Enforce ``pycodestyle`` checks in Travis CI jobs.
* Remove popularity badge: PyPI download counters are broken and no longer
displayed.
* Test production of packages in Travis CI jobs.
* Move development and packaging documentation to Sphinx. Closes #22.
* Make wheels generated under Python 2 environnment available for Python 3 too.
* Let unittests generates their own fake and temporary maildirs.
* Print CLI output in unittests.
* Use generic factory to produce mail fixtures in unittests.
* Only show latest changes in the long description of the package instead of
the full changelog.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maildir-deduplicate-2.0.0.tar.gz (32.1 kB view details)

Uploaded Source

Built Distributions

maildir_deduplicate-2.0.0-py2.py3-none-any.whl (26.0 kB view details)

Uploaded Python 2 Python 3

maildir_deduplicate-2.0.0-py2.7.egg (22.9 kB view details)

Uploaded Source

File details

Details for the file maildir-deduplicate-2.0.0.tar.gz.

File metadata

File hashes

Hashes for maildir-deduplicate-2.0.0.tar.gz
Algorithm Hash digest
SHA256 590abafed1a208731569d2748dc331f6486f5f311d1622b78aa482da08a54fad
MD5 8047d5fe90f8d28b90da71002e1cb67e
BLAKE2b-256 c649ab22feb8fbceefb0c75884b284cbddfe479ea86c36db803b3c3e932e85ac

See more details on using hashes here.

File details

Details for the file maildir_deduplicate-2.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for maildir_deduplicate-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 27d7d3d0ba112ebf4396a8259cacade08102dc2e77414fcd93131d209723709b
MD5 85dc02e82762afba064cd880957b9895
BLAKE2b-256 c59ad7e876e82baa78dd30aeee6c427b25aa7d2db04e2efae0efb89b0292ef62

See more details on using hashes here.

File details

Details for the file maildir_deduplicate-2.0.0-py2.7.egg.

File metadata

File hashes

Hashes for maildir_deduplicate-2.0.0-py2.7.egg
Algorithm Hash digest
SHA256 71a2b2dd4650a113795b3ae611a555d1eb055515f35ccf7ca0fe37d98388bc16
MD5 bfe11d791634cbfc186aba3f4eb5601a
BLAKE2b-256 5a56dc8ca795ffea462bd4a745196de16e95acf8b4ff6d9e3749c468e1c66c96

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page