streamlit-image-coordinates


Namestreamlit-image-coordinates JSON
Version 0.4.0 PyPI version JSON
download
home_pageNone
SummaryStreamlit component that displays an image and returns the coordinates when you click on it
upload_time2025-08-05 16:21:46
maintainerNone
docs_urlNone
authorZachary Blackwood
requires_python>=3.10
licenseMIT License Copyright (c) 2022, Zachary Blackwood Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords python streamlit images component streamlit-component
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Streamlit-Image-Coordinates

[![Releases](https://img.shields.io/pypi/v/streamlit-image-coordinates)](https://pypi.org/project/streamlit-image-coordinates/)
![Python Versions](https://img.shields.io/pypi/pyversions/streamlit-image-coordinates.svg)
![License](https://img.shields.io/github/license/blackary/streamlit-image-coordinates)
[![Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

[![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://image-coordinates.streamlit.app)

Author: [@blackary](https://github.com/blackary)

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

Streamlit component that displays an image and returns the coordinates when you click on it.
Also returns click event time in unix format.

## Installation instructions

```sh
pip install streamlit-image-coordinates
```

## Usage instructions

```python
import streamlit as st

from streamlit_image_coordinates import streamlit_image_coordinates

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

st.write(value)
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "streamlit-image-coordinates",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "python, streamlit, images, component, streamlit-component",
    "author": "Zachary Blackwood",
    "author_email": "Zachary Blackwood <zachary@streamlit.io>",
    "download_url": "https://files.pythonhosted.org/packages/77/de/eaa06642d53c7d35d3759da9cc4640323afb7dcd0283e6424be1a392fbe8/streamlit_image_coordinates-0.4.0.tar.gz",
    "platform": null,
    "description": "# Streamlit-Image-Coordinates\n\n[![Releases](https://img.shields.io/pypi/v/streamlit-image-coordinates)](https://pypi.org/project/streamlit-image-coordinates/)\n![Python Versions](https://img.shields.io/pypi/pyversions/streamlit-image-coordinates.svg)\n![License](https://img.shields.io/github/license/blackary/streamlit-image-coordinates)\n[![Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\n[![Streamlit App](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://image-coordinates.streamlit.app)\n\nAuthor: [@blackary](https://github.com/blackary)\n\nCode: https://github.com/blackary/streamlit-image-coordinates\n\nStreamlit component that displays an image and returns the coordinates when you click on it.\nAlso returns click event time in unix format.\n\n## Installation instructions\n\n```sh\npip install streamlit-image-coordinates\n```\n\n## Usage instructions\n\n```python\nimport streamlit as st\n\nfrom streamlit_image_coordinates import streamlit_image_coordinates\n\nvalue = streamlit_image_coordinates(\"https://placekitten.com/200/300\")\n\nst.write(value)\n```\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2022, Zachary Blackwood  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Streamlit component that displays an image and returns the coordinates when you click on it",
    "version": "0.4.0",
    "project_urls": null,
    "split_keywords": [
        "python",
        " streamlit",
        " images",
        " component",
        " streamlit-component"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "1f0c29d4ddfde865ce480b8aacbb9a764e872dfd2e141c7e6c15f075436ea807",
                "md5": "01c22fa8e227dcdc03ac4adc29948142",
                "sha256": "20d482384edf2d5442b43bc738ecc52bd27c081de28b825986802b5dc6789223"
            },
            "downloads": -1,
            "filename": "streamlit_image_coordinates-0.4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "01c22fa8e227dcdc03ac4adc29948142",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 7592,
            "upload_time": "2025-08-05T16:21:45",
            "upload_time_iso_8601": "2025-08-05T16:21:45.499025Z",
            "url": "https://files.pythonhosted.org/packages/1f/0c/29d4ddfde865ce480b8aacbb9a764e872dfd2e141c7e6c15f075436ea807/streamlit_image_coordinates-0.4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "77deeaa06642d53c7d35d3759da9cc4640323afb7dcd0283e6424be1a392fbe8",
                "md5": "2f1791cbf0b080aff2d359373b73608f",
                "sha256": "3c6657df55ad48ba0bc62db4ca4374f762ada6595f390f4ca6fecf18e0a350b4"
            },
            "downloads": -1,
            "filename": "streamlit_image_coordinates-0.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "2f1791cbf0b080aff2d359373b73608f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 5816,
            "upload_time": "2025-08-05T16:21:46",
            "upload_time_iso_8601": "2025-08-05T16:21:46.314803Z",
            "url": "https://files.pythonhosted.org/packages/77/de/eaa06642d53c7d35d3759da9cc4640323afb7dcd0283e6424be1a392fbe8/streamlit_image_coordinates-0.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-05 16:21:46",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "streamlit-image-coordinates"
}
        
Elapsed time: 2.01908s