ImageDB
Store images, especially from Clipboard, in a database, and spin an image server (for usage in Jupyter Notebook).
Installation
$ pip install imagedb
Or
- Clone the project from GitHub
poetry add imagedb --path path/to/imagedb/folder
Usage
Run an image server
In a Python script (outside Jupyter Notebook).
from imagedb import ImageDB
ImageDB('images.db').runserver()
# Then, go to `http://localhost:8000` in your browser to register an image (from the clipboard).
Get images from the image server
In Jupyter Notebook
>>> from imagedb import ImageDB
>>> idb = ImageDB('images.db')
>>> idb.last()
# The latest image in the server will be shown. `idb.last(5)` is also supported.
>>> from IPython.display import display
>>> for image in idb.search(tags='bar'):
... display(image)
# All images corresponding to the tag 'bar' will be shown.
Screenshots
Release files for imagedb 0.2.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| imagedb-0.2.1.3.tar.gz | 10.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| imagedb-0.2.1.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 43.0 kB
Release files / imagedb-0.2.1.3.tar.gz
| Download URL | imagedb-0.2.1.3.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec514261473df6380a1990ee8fbc2972688fdb45677f3c6f94683facb39bd084
|
|
BLAKE2b-256 checksum How to use checksums |
c26de8ff5394813da2f2da436bbda45410af0af1b734039353949e782ffb9d89
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.11.5 CPython/3.7.0 Darwin/17.7.0
|
Release files / imagedb-0.2.1.3-py2.py3-none-any.whl
| Download URL | imagedb-0.2.1.3-py2.py3-none-any.whl |
|---|---|
| Size | 32.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
fefaa7ddfa96ac073536c68d7564ade1cdaa604b4109f4dc5d9c7c801ccbe156
|
|
BLAKE2b-256 checksum How to use checksums |
aee0c0138995570c58ccc3798e7e9bc08ace45f23b0658a1a748b62a755f2de9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.11.5 CPython/3.7.0 Darwin/17.7.0
|