Skip to main content

UniPercept-lituus

Perceptual image hashing and similarity search backed by the native UniPercept engine.

pip install UniPercept-lituus

The installed module is named unipercept:

import unipercept

left = unipercept.phash("left.jpg")
right = unipercept.phash("right.jpg")

print(unipercept.to_hex(left))
print(unipercept.hamming(left, right))
print(unipercept.similarity(left, right))

What it provides

  • aHash, dHash and fixed-point DCT pHash as 64-bit integers;
  • variable-size blockhash signatures;
  • decoding from memory or files through UniImage;
  • grayscale conversion and deterministic resize kernels;
  • a BK-tree for Hamming-radius lookup;
  • wheels containing the native UniPercept library.
tree = unipercept.BkTree()
tree.insert(100, left)
tree.insert(101, right)

for image_id, distance in tree.query(left, radius=5):
    print(image_id, distance)

For an already decoded RGB or RGBA buffer:

gray = unipercept.to_grayscale(rgb_bytes, width, height, channels=3)
small = gray.resize(32, 32)
signature = small.phash()

Perceptual hashes are similarity signatures, not cryptographic hashes. Use them to select candidates and perform an application-specific confirmation when false positives matter.

Building from source

An sdist build requires Nim and Nimble on PATH, plus a supported C compiler. From a repository checkout:

nimble pyLib
cd py
python -m pip install -e .
python -m pytest -q

python setup.py build_ext --inplace remains available as a direct extension rebuild command.

Metadata

Release files for UniPercept-lituus 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for UniPercept-lituus 1.0.1
File Size Uploaded
unipercept_lituus-1.0.1.tar.gz 216.6 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for UniPercept-lituus 1.0.1
File
unipercept_lituus-1.0.1-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
unipercept_lituus-1.0.1-cp314-cp314-manylinux_2_34_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.34+ x86-64 Details
unipercept_lituus-1.0.1-cp314-cp314-macosx_10_15_x86_64.macosx_26_0_arm64.whl CPython 3.14 CPython 3.14 macOS 26.0+ ARM64, macOS 10.15+ x86-64 Details
unipercept_lituus-1.0.1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
unipercept_lituus-1.0.1-cp313-cp313-manylinux_2_34_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.34+ x86-64 Details
unipercept_lituus-1.0.1-cp313-cp313-macosx_10_13_x86_64.macosx_26_0_arm64.whl CPython 3.13 CPython 3.13 macOS 26.0+ ARM64, macOS 10.13+ x86-64 Details
unipercept_lituus-1.0.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
unipercept_lituus-1.0.1-cp312-cp312-manylinux_2_34_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ x86-64 Details
unipercept_lituus-1.0.1-cp312-cp312-macosx_10_13_x86_64.macosx_26_0_arm64.whl CPython 3.12 CPython 3.12 macOS 26.0+ ARM64, macOS 10.13+ x86-64 Details
unipercept_lituus-1.0.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
unipercept_lituus-1.0.1-cp311-cp311-manylinux_2_34_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.34+ x86-64 Details
unipercept_lituus-1.0.1-cp311-cp311-macosx_10_9_x86_64.macosx_26_0_arm64.whl CPython 3.11 CPython 3.11 macOS 26.0+ ARM64, macOS 10.9+ x86-64 Details
unipercept_lituus-1.0.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
unipercept_lituus-1.0.1-cp310-cp310-manylinux_2_34_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.34+ x86-64 Details
unipercept_lituus-1.0.1-cp310-cp310-macosx_26_0_arm64.macosx_10_9_x86_64.whl CPython 3.10 CPython 3.10 macOS 26.0+ ARM64, macOS 10.9+ x86-64 Details

Total release size: 10.3 MB

Release files / unipercept_lituus-1.0.1.tar.gz

Download URL unipercept_lituus-1.0.1.tar.gz
Size 216.6 kB
Tags Source
SHA-256 checksum
How to use checksums
768d9c52852c648a8bd977e134998bd652589f854bc534ce9ea0bf8fcfc3e206
BLAKE2b-256 checksum
How to use checksums
37b27120e9efa361b0532bdbba28ee7601b329af474d0ccbdfe9abe70c857a72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release files / unipercept_lituus-1.0.1-cp314-cp314-win_amd64.whl

Download URL unipercept_lituus-1.0.1-cp314-cp314-win_amd64.whl
Size 423.7 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
c0f2f94d3c0d733d18a1e3ed73de1668900801924d95a6f5f25e0081178ef4da
BLAKE2b-256 checksum
How to use checksums
2eca09868b9e9edd3f5e716b2c83f09705f22897d1b35d431a01ce9d834fb81e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release files / unipercept_lituus-1.0.1-cp314-cp314-manylinux_2_34_x86_64.whl

Download URL unipercept_lituus-1.0.1-cp314-cp314-manylinux_2_34_x86_64.whl
Size 1.1 MB
Tags CPython 3.14 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
915030da56cab17cbd30402d04bda9c3d61c901ac95d9add26b9fa30db6e4381
BLAKE2b-256 checksum
How to use checksums
c8f9fd1df04aa4911b33db4378a61d3dc78d60265eae36804872893f421aa38c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release files / unipercept_lituus-1.0.1-cp314-cp314-macosx_10_15_x86_64.macosx_26_0_arm64.whl

Download URL unipercept_lituus-1.0.1-cp314-cp314-macosx_10_15_x86_64.macosx_26_0_arm64.whl
Size 518.7 kB
Tags CPython 3.14 macOS 10.15+ x86-64 macOS 26.0+ ARM64
SHA-256 checksum
How to use checksums
18066586e3fba34ea37c6bafbf11d73c942cd4694623b019c78af63eb2ecb60f
BLAKE2b-256 checksum
How to use checksums
139ea330b62843cf0f9186ae192f77fb74c84917f46fa4dbd7a7bb044187278e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release files / unipercept_lituus-1.0.1-cp313-cp313-win_amd64.whl

Download URL unipercept_lituus-1.0.1-cp313-cp313-win_amd64.whl
Size 412.8 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
f352cb69543c0e6c1495bfb3fe13aac7744379bd1a0077cd9bef1c35f9de7948
BLAKE2b-256 checksum
How to use checksums
bc6dc558e87d231188e9f5f4910e3fedba7f3d511b9e9233f1b47f66162970e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release files / unipercept_lituus-1.0.1-cp313-cp313-manylinux_2_34_x86_64.whl

Download URL unipercept_lituus-1.0.1-cp313-cp313-manylinux_2_34_x86_64.whl
Size 1.1 MB
Tags CPython 3.13 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
4eba612ea5e8e824c8dcab62d08e7fa5caf00f986101590b56e624f9c28f83b9
BLAKE2b-256 checksum
How to use checksums
45584496febfe0a531e2becb152a01c71ba0fd69853e74c612e958a24da8e2d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release files / unipercept_lituus-1.0.1-cp313-cp313-macosx_10_13_x86_64.macosx_26_0_arm64.whl

Download URL unipercept_lituus-1.0.1-cp313-cp313-macosx_10_13_x86_64.macosx_26_0_arm64.whl
Size 518.5 kB
Tags CPython 3.13 macOS 10.13+ x86-64 macOS 26.0+ ARM64
SHA-256 checksum
How to use checksums
18ef5ec07eb39d5043ffe295ad7535fc076e8eabd25717afa891d502862d8184
BLAKE2b-256 checksum
How to use checksums
1e97cf458685f9e0f8f6a39b7ce24442e07e0d3c4deb219597a2a9c89a909369
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release files / unipercept_lituus-1.0.1-cp312-cp312-win_amd64.whl

Download URL unipercept_lituus-1.0.1-cp312-cp312-win_amd64.whl
Size 412.7 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
af2bc9e9cbe925823825d2d848d5741d75d64ec985b1a52cfe52dc4721c79922
BLAKE2b-256 checksum
How to use checksums
d0057491beaa152f70e95cc85611ddd8593525e586b5f33b1bf61e3f8de3b6de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release files / unipercept_lituus-1.0.1-cp312-cp312-manylinux_2_34_x86_64.whl

Download URL unipercept_lituus-1.0.1-cp312-cp312-manylinux_2_34_x86_64.whl
Size 1.1 MB
Tags CPython 3.12 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
e05bd1ad492e920517cb24c30c2b1be1fc3471f88118b47700e74105e80970ff
BLAKE2b-256 checksum
How to use checksums
482490f601873a0ce285059d27660a924ae0fd9e0aa30e51aa807328ca2d3e1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release files / unipercept_lituus-1.0.1-cp312-cp312-macosx_10_13_x86_64.macosx_26_0_arm64.whl

Download URL unipercept_lituus-1.0.1-cp312-cp312-macosx_10_13_x86_64.macosx_26_0_arm64.whl
Size 515.6 kB
Tags CPython 3.12 macOS 10.13+ x86-64 macOS 26.0+ ARM64
SHA-256 checksum
How to use checksums
ded1ec6ae3b105341568e9a17afdd14baaa5f9c41ae055c2ffc60fdbb36fd698
BLAKE2b-256 checksum
How to use checksums
20b2c23880d8451125fd2c32558f177f853ab0fa76925fd5a795be6d40fc8bdf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release files / unipercept_lituus-1.0.1-cp311-cp311-win_amd64.whl

Download URL unipercept_lituus-1.0.1-cp311-cp311-win_amd64.whl
Size 414.3 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
a15883b58c7d80c68ff26ead4361c3020c593fcab2c630cf489d192181b06371
BLAKE2b-256 checksum
How to use checksums
18f20aefae3ab92526d1b97c8ebf8c9de161db847b0f8f1c8a6c5f63c793e907
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release files / unipercept_lituus-1.0.1-cp311-cp311-manylinux_2_34_x86_64.whl

Download URL unipercept_lituus-1.0.1-cp311-cp311-manylinux_2_34_x86_64.whl
Size 1.1 MB
Tags CPython 3.11 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
b7b5cb0afcffe498b44923a1c0720f032050c6db074b258cd88c9b01e2186962
BLAKE2b-256 checksum
How to use checksums
98a6acd796ce060cb18bd1aaacfbd555f3b3ae62e223ae69589410c61f6153d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release files / unipercept_lituus-1.0.1-cp311-cp311-macosx_10_9_x86_64.macosx_26_0_arm64.whl

Download URL unipercept_lituus-1.0.1-cp311-cp311-macosx_10_9_x86_64.macosx_26_0_arm64.whl
Size 519.8 kB
Tags CPython 3.11 macOS 10.9+ x86-64 macOS 26.0+ ARM64
SHA-256 checksum
How to use checksums
bb6b068aa4b5ddbe6931c81a3d2426f17179cfeca00d2b9feb66ec58e8c86ab3
BLAKE2b-256 checksum
How to use checksums
25405c35d0cc3d774c16f3134fa731a5354c1500dc8fcec695eee98de04b9d65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release files / unipercept_lituus-1.0.1-cp310-cp310-win_amd64.whl

Download URL unipercept_lituus-1.0.1-cp310-cp310-win_amd64.whl
Size 414.8 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
3fa099e6c826b8ef376dbb2ab4ed001a3db9871eda5eb7931bb6f00a8a830701
BLAKE2b-256 checksum
How to use checksums
ba34430e3a131fd485fb4bf79686b6ec0ecddf22533190728adc8c400ebe8d05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release files / unipercept_lituus-1.0.1-cp310-cp310-manylinux_2_34_x86_64.whl

Download URL unipercept_lituus-1.0.1-cp310-cp310-manylinux_2_34_x86_64.whl
Size 1.1 MB
Tags CPython 3.10 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
03240dca990480d8ad6b1cf811e5cc0daa2cb59b8189a6b361cfec9ed7c73d5e
BLAKE2b-256 checksum
How to use checksums
a12b16c0eef4a177659766918496593c42ba8620130fc1c671af739fcff827c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release files / unipercept_lituus-1.0.1-cp310-cp310-macosx_26_0_arm64.macosx_10_9_x86_64.whl

Download URL unipercept_lituus-1.0.1-cp310-cp310-macosx_26_0_arm64.macosx_10_9_x86_64.whl
Size 520.8 kB
Tags CPython 3.10 macOS 10.9+ x86-64 macOS 26.0+ ARM64
SHA-256 checksum
How to use checksums
2762fcf67a016a55dba30d4cc57fcda61e2c7defb76f0489afae8890a3a05f4a
BLAKE2b-256 checksum
How to use checksums
9d0ece81c5e3789cfd499f8e23052ef986fd929ae8be7e9a98867de00960a82f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.1 This release

16 release files

1.0.0

19 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page