Skip to main content

Python bindings for the pHash (perceptual hashing) library.

Project description

pHashPy

Python bindings for the pHash (perceptual hashing) library.

Copyright (c) Dries007 2020.
Licensed under GPLv3 (or later), as is pHash itself.

The project uses cppyy to create a small wrapper around pHash functions.

Features

Working:

  • Video hashing
  • Image hashing (dct & mh)

Missing:

  • Audio
  • Text

Usage

As a Command Line Tool

You can use the tool as a command line utility to generate a list of hashes from a list of files.

Run python -m pHashPy --help for more info.

As a Library

Import functions from the package's __init__, this will automatically load the required library files. If you import the functions from the individual py files, you must call helper.init yourself.

Background Info

For more info on pHash:

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

pHashPy-0.1.0.tar.gz (1.3 MB view hashes)

Uploaded Source

Built Distributions

pHashPy-0.1.0-cp38-cp38-manylinux2014_x86_64.whl (13.2 MB view hashes)

Uploaded CPython 3.8

pHashPy-0.1.0-cp37-cp37m-manylinux2014_x86_64.whl (13.2 MB view hashes)

Uploaded CPython 3.7m

pHashPy-0.1.0-cp36-cp36m-manylinux2014_x86_64.whl (13.2 MB view hashes)

Uploaded CPython 3.6m

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