Skip to main content

Remove duplicated images from a path

Project description

Remove duplicated images from a path.

Installation

You can install image cleaner using pip.

$ pip install imagecleaner
# or install master branch
$ pip install git+git@github.com:Kjwon15/image-cleaner.git

Usage

It’s just simple one command!

$ image-cleaner <path>

Reference

http://blog.iconfinder.com/detecting-duplicate-images-using-python/

Change logs

0.4.0

  • Fix logging.

  • Adjustment threads count by command argument.

0.3.2

  • Handle interrupt.

  • Caching dhash to run faster.

0.3.1

  • Improvement speed by using multi-thread.

  • Change default hash size from 8 to 16.

0.3.0

  • Added help message for simulate mode.

  • Leave last modified image when they has same size.

  • Image cleaner can remove images from multiple paths.

0.2.0

  • Add simulate mode. It does not remove file.

  • Enable logging when simulate mode.

  • Handle malformed images.

License

Image Cleaner is following MIT license.

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

imagecleaner-0.4.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

imagecleaner-0.4.0-py2.py3-none-any.whl (5.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file imagecleaner-0.4.0.tar.gz.

File metadata

File hashes

Hashes for imagecleaner-0.4.0.tar.gz
Algorithm Hash digest
SHA256 0b45bf054b1895c83d8d3b393ce1a64c8824b92bfb31d3a63ff53fdad9b5c922
MD5 b8142c0b2ff4a0a702e43ba87edce974
BLAKE2b-256 f8ee6d5e6c41a13c41f8cdc5e4288e31a6df359f8ee90cd4a892e46abfea0b46

See more details on using hashes here.

File details

Details for the file imagecleaner-0.4.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for imagecleaner-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0d2bcf875101ce185c9b5767d4d42e20317f29c86f10f1cfe86c99828486b14d
MD5 a615c771f3a47f1885c583ea722f5e02
BLAKE2b-256 ccd2e29ad224207f238ecf74ef2871679a3bb08a14860f23f94dcd2469567da1

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