Skip to main content

Streamlit component that displays an image and returns the coordinates when you click on it

Project description

Streamlit-Image-Coordinates

Releases Python Versions License Black

Streamlit App

Author: @blackary

Code: https://github.com/blackary/streamlit-image-coordinates

Streamlit component that displays an image and returns the coordinates when you click on it

Installation instructions

pip install streamlit-image-coordinates

Usage instructions

import streamlit as st

from streamlit_image_coordinates import streamlit_image_coordinates

value = streamlit_image_coordinates("https://placekitten.com/200/300")

st.write(value)

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

streamlit_image_coordinates-0.1.7.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file streamlit_image_coordinates-0.1.7.tar.gz.

File metadata

File hashes

Hashes for streamlit_image_coordinates-0.1.7.tar.gz
Algorithm Hash digest
SHA256 ac61d3734fb24fc4528dfe856db894b2184aea532b1d5c8939fc440c18ec37e1
MD5 a03dd3f69df5f6e0146e8dd1da88c7e8
BLAKE2b-256 764a6429432a928185a8dc9fff8a78204dd794100953c5202f91752c0a81d7c0

See more details on using hashes here.

Provenance

File details

Details for the file streamlit_image_coordinates-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for streamlit_image_coordinates-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 dff4c12b0d28900d035379d33baf55bd2a961acfb50ad4aa7b120b79743dcdd9
MD5 3aabcee761e713039f4a2e54af5c94e0
BLAKE2b-256 1fc76f288d9c52ffc32e76ce6c7198bce300f3f456da53595b110cb7fa20294c

See more details on using hashes here.

Provenance

Supported by

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