Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

imagedb

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imagedb

Store images, especially from Clipboard, in a database, and spin an image server (for usage in Jupyter Notebook).

  • 0.2.1.3
  • PyPI
  • Socket score

Maintainers
1

ImageDB

Store images, especially from Clipboard, in a database, and spin an image server (for usage in Jupyter Notebook).

Installation

$ pip install imagedb

Or

  1. Clone the project from GitHub
  2. 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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc