Skip to main content

🧿 Pupyl is a really fast image search library which you can index your own (millions of) images and find similar images in millisecond.

Project description

pupyl

pupyl-ci codecov CII Best Practices

pupyl - A Python Image Search Library

🧿 pupyl what?

The pupyl project (pronounced pyoo·piel) is a pythonic library to image search. It's intended to made easy to read, index, retrieve and maintain a complete a reverse image search engine. You can use it in your own data pipelines, web projects and wherever you find fit!

🎉 Getting started

📦 Installation

Installing pupyl on your environment is pretty easy:

# pypi
pip install pupyl

or

# anaconda
conda install pupyl

🚸 Usage

import tempfile

from pupyl.search import PupylImageSearch
from pupyl.web import interface


SAMPLES = 'https://github.com/policratus/pupyl' +
    '/raw/master/samples/pupyl.txt.xz'

SEARCH = PupylImageSearch(data_dir=tempfile.gettempdir())

SEARCH.index(SAMPLES)

🕐 Processed 12942 items

interface.serve()

📌 Dependencies

See all dependencies here: dependencies.

🐧 Linux

Some linux distros are packaged without some essential applications to built pupyl dependencies. If during the installation you face errors like this:

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

try install C/C++ build dependencies and python development headers, like this:

# Debian/Ubuntu
sudo apt install build-essential python3-dev

# Fedora
sudo dnf install make automake gcc gcc-c++ kernel-devel python3-devel

# Redhat/CentOS
sudo yum groupinstall 'Development Tools'
sudo yum install python3-devel

# Suse/OpenSuse
zypper install -t pattern devel_basis
zypper install python3-dev

# Arch
sudo pacman -S base-devel python3-dev

# Clearlinux
sudo swupd bundle-add c-basic python-basic-dev

📝 Documentation

See a quick reference guide on the repository wiki. Complete API reference coming soon.

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

pupyl-0.9.4.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

pupyl-0.9.4-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

Details for the file pupyl-0.9.4.tar.gz.

File metadata

  • Download URL: pupyl-0.9.4.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for pupyl-0.9.4.tar.gz
Algorithm Hash digest
SHA256 e5a802afaa378a602f82c891e61508a70e65ade8dbdc00a28c2c52b4140c140a
MD5 624de454da30a25e8383b32ddcb35a32
BLAKE2b-256 8b5150bcc7202d62ee9119e1f01d0f74a0e3a947dec885aa445d947ec6f081e9

See more details on using hashes here.

File details

Details for the file pupyl-0.9.4-py3-none-any.whl.

File metadata

  • Download URL: pupyl-0.9.4-py3-none-any.whl
  • Upload date:
  • Size: 23.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for pupyl-0.9.4-py3-none-any.whl
Algorithm Hash digest
SHA256 069b8e70bcebf657c2f303d9ef8faf0f16a782f65f29d4cd2ee510f8d0214758
MD5 ec307231093aee3dd3e37d5056eafb87
BLAKE2b-256 ad16399021ae5e1cacaf628a2b4e1a0a26de8c8efc0114fda24802e7ef3e9dc7

See more details on using hashes here.

Supported by

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