Skip to main content

A file indexer based on content hashes

Project description

Hashdex

https://img.shields.io/pypi/v/hashdex.svg https://img.shields.io/travis/jeff-99/hashdex.svg Documentation Status Updates

A file indexer based on content hashes to quickly find duplicate files on your system. I created this tool because I always forget which pictures from my phone I already uploaded to my Dropbox account. Now I can just upload all pictures to an uploads directory check these files against the index and only organize the remaining files.

As easy as..

pip install hashdex
hashdex add /path/to/my-main-pictures-directory
hashdex check --rm /path/to/my-uploads-directory

Features

  • create an index of your files

  • find duplicate files on your filesystem

  • check if files in a directory are already indexed

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.6.1 (2020-11-18)

  • Updated development dependencies

  • Added python 3.8 support

  • Dropped python 2.7, 3.4 support

  • Added Dockerfile

0.6.0 (2017-10-28)

  • Added version option to main command

  • Added option to move files while checking for duplicates

  • Updated pytest-runner to 3.0.0

  • Updated cryptography to 2.1.2

  • Updated sphinx to 1.6.5

  • Updated flake8 to 3.5.0

  • Updated tox to 2.9.1

  • Updated pytest to 3.2.3

0.5.0 (2017-09-28)

  • added support for adding and checking files instead of directories

  • moved default index file to users home directory

  • Updated dependencies

0.4.1 (2017-09-24)

  • adjusted for python 2.7 math.floor returning a float

0.4.0 (2017-09-24)

  • renamed the index command to ‘add’

  • refactored –dir option for add/check command to cli argument

  • added cleanup command

  • added docs

  • updated dependencies

0.3.0 (2017-09-12)

  • Added –rm flag to check cli command (without the flag the command will not delete files)

  • Dropped python 2.6 & 3.3 support

  • Updated dependencies

0.2.0 (2017-09-08)

  • Refactored Indexer class

  • Added Hasher class

  • Added tests 100% code coverage

  • Updated dependencies

0.1.1 (2017-09-05)

  • Updated dependencies

  • Fixed file listing bug

0.1.0 (2017-09-04)

  • First release on PyPI.

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

hashdex-0.7.0.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

hashdex-0.7.0-py2.py3-none-any.whl (7.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file hashdex-0.7.0.tar.gz.

File metadata

  • Download URL: hashdex-0.7.0.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.3

File hashes

Hashes for hashdex-0.7.0.tar.gz
Algorithm Hash digest
SHA256 5d54228f699972e0288adc3d98264a160b859baa46835074bc4266ba754f4ddf
MD5 56fe80e98535c073c21e20bc89524a32
BLAKE2b-256 f635ff2a70f5f657b0d0c5370915a9758c1b7eb8c6c52bd2641860a4bc8d0e0b

See more details on using hashes here.

File details

Details for the file hashdex-0.7.0-py2.py3-none-any.whl.

File metadata

  • Download URL: hashdex-0.7.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.3

File hashes

Hashes for hashdex-0.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 fc7ba18700dbe2bc866c311c3ff24c36d68247ce34bd9a1251393051832ea39e
MD5 68883f05857521d620f5ea3fd0d75abb
BLAKE2b-256 d85bf4fd14a892eed354a5584fc7db0a046be362a818bbe4b4af18fb5860916f

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