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

streamlit-selectable-image-gallery

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

streamlit-selectable-image-gallery

Streamlit component that allows you to do have a gallery of image and select one of them.

  • 0.0.1
  • PyPI
  • Socket score

Maintainers
1

Streamlit component that allows you to do X

Installation instructions

pip install streamlit-selectable-gallery

Usage instructions

import streamlit as st
import base64

from streamlit_selectable_image_gallery import image_gallery

images = []
for file in ['documents/image1.png', 'documents/image2.png']:
    with open(file, "rb") as image:
        encoded = base64.b64encode(image.read()).decode()
        images.append(f"data:image/jpeg;base64,{encoded}")

selected_index = image_gallery(images, 300)


st.write(selected_index)

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