Image Searching For Flask and Flask-SQLAlchemy.
Project description
Flask Image Search is an extension for Flask that adds content-based image search to a Flask + Flask-SQLAlchemy app. Features are extracted with a PyTorch CNN and stored alongside your model rows; queries are ranked by L2 distance.
Free software: MIT license
Documentation: https://flask-image-search.readthedocs.io
Features
Works with Flask-SQLAlchemy — search your database directly.
Indexes update automatically when rows are added, edited, or deleted.
Pluggable storage backends: works on any SQL dialect; opts into sqlite-vec or pgvector when available for ANN-accelerated KNN.
Install
pip install flask-image-search
See the documentation for usage, backend options, and the migration guide from 1.x.
Development
Requires Python 3.9+ and pip 25.1+:
pip install -e . --group dev pre-commit install --hook-type pre-commit --hook-type pre-push
Common tasks (poe --help lists everything):
poe test # run tests poe lint # ruff check poe docs # live-reload docs server poe example # run the demo Flask app
Cutting a release:
bump-my-version bump patch # or: minor / major git push --tags # CI publishes to PyPI
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file flask_image_search-2.0.0rc1.tar.gz.
File metadata
- Download URL: flask_image_search-2.0.0rc1.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db3c55c6c73704a54d11d9a1b036f4358b92a3d3c988f1f1638b4c887143a6fc
|
|
| MD5 |
a46522a243a08aec2d044fb180b5f61d
|
|
| BLAKE2b-256 |
af289db9f25fd6a01a26bdff4e48ecfd724ac8e24d25d6cf180b4d34379508ab
|
Provenance
The following attestation bundles were made for flask_image_search-2.0.0rc1.tar.gz:
Publisher:
action-ci-cd.yml on hananf11/flask_image_search
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flask_image_search-2.0.0rc1.tar.gz -
Subject digest:
db3c55c6c73704a54d11d9a1b036f4358b92a3d3c988f1f1638b4c887143a6fc - Sigstore transparency entry: 1870516373
- Sigstore integration time:
-
Permalink:
hananf11/flask_image_search@f994cc2c6057efe480a60db523f927d04f03554b -
Branch / Tag:
refs/tags/v2.0.0rc1 - Owner: https://github.com/hananf11
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
action-ci-cd.yml@f994cc2c6057efe480a60db523f927d04f03554b -
Trigger Event:
push
-
Statement type:
File details
Details for the file flask_image_search-2.0.0rc1-py3-none-any.whl.
File metadata
- Download URL: flask_image_search-2.0.0rc1-py3-none-any.whl
- Upload date:
- Size: 14.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abff037ca92fefe1b6050857532db7ff370ba5a9b7cb8c1a3a71b28db28c5a08
|
|
| MD5 |
f389469f4cdadfc9192ab0816605fd9e
|
|
| BLAKE2b-256 |
8641ad539eec1ef91323d4ba546eeae6f0f423bf4690241bb49e9d25d4f2f4ff
|
Provenance
The following attestation bundles were made for flask_image_search-2.0.0rc1-py3-none-any.whl:
Publisher:
action-ci-cd.yml on hananf11/flask_image_search
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
flask_image_search-2.0.0rc1-py3-none-any.whl -
Subject digest:
abff037ca92fefe1b6050857532db7ff370ba5a9b7cb8c1a3a71b28db28c5a08 - Sigstore transparency entry: 1870516468
- Sigstore integration time:
-
Permalink:
hananf11/flask_image_search@f994cc2c6057efe480a60db523f927d04f03554b -
Branch / Tag:
refs/tags/v2.0.0rc1 - Owner: https://github.com/hananf11
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
action-ci-cd.yml@f994cc2c6057efe480a60db523f927d04f03554b -
Trigger Event:
push
-
Statement type: