st-image-cropper


Namest-image-cropper JSON
Version 0.0.9 PyPI version JSON
download
home_pageNone
SummaryStreamlit Component to display an image and a cropper inside the image, returning the crop info
upload_time2024-10-20 13:46:16
maintainerNone
docs_urlNone
authorbroccoloff
requires_python>=3.7
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # st-image-cropper

Streamlit component that allows you to show an image with a cropper to select a subpart of the image for further usage

## Installation instructions

```sh
pip install st-image-cropper
```

## Usage instructions

```python
import streamlit as st
from st_image_cropper import st_image_cropper

crop = st_image_cropper(image_url="https://catoftheday.com/archive/2024/June/05.jpg")
st.write(crop)

crop = st_image_cropper(image_path="path/to/image")
st.write(crop)
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "st-image-cropper",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": null,
    "author": "broccoloff",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/4a/0c/372a9f49f345743e9ea44376ef2ae0bc9b1180b6f816e9437a51c92119a8/st_image_cropper-0.0.9.tar.gz",
    "platform": null,
    "description": "# st-image-cropper\n\nStreamlit component that allows you to show an image with a cropper to select a subpart of the image for further usage\n\n## Installation instructions\n\n```sh\npip install st-image-cropper\n```\n\n## Usage instructions\n\n```python\nimport streamlit as st\nfrom st_image_cropper import st_image_cropper\n\ncrop = st_image_cropper(image_url=\"https://catoftheday.com/archive/2024/June/05.jpg\")\nst.write(crop)\n\ncrop = st_image_cropper(image_path=\"path/to/image\")\nst.write(crop)\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Streamlit Component to display an image and a cropper inside the image, returning the crop info",
    "version": "0.0.9",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1fcd2103ad97b06b66a34fcda79fd3e2e918662b8dfaef0cb93b82dbe33c6711",
                "md5": "4924721eb7d9b78503250ddf6789ecaa",
                "sha256": "04537fe5f9bffc12f60a5254ce59ac8eeb33c8d8783061a280692876657d0f48"
            },
            "downloads": -1,
            "filename": "st_image_cropper-0.0.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4924721eb7d9b78503250ddf6789ecaa",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 1169490,
            "upload_time": "2024-10-20T13:46:14",
            "upload_time_iso_8601": "2024-10-20T13:46:14.270155Z",
            "url": "https://files.pythonhosted.org/packages/1f/cd/2103ad97b06b66a34fcda79fd3e2e918662b8dfaef0cb93b82dbe33c6711/st_image_cropper-0.0.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4a0c372a9f49f345743e9ea44376ef2ae0bc9b1180b6f816e9437a51c92119a8",
                "md5": "ba5ee2a7c088ee868af68bbb78d2e83a",
                "sha256": "710875b1d128d861b2d8fdfd31925a5bd354dc47aefeef1057544fd0164becf1"
            },
            "downloads": -1,
            "filename": "st_image_cropper-0.0.9.tar.gz",
            "has_sig": false,
            "md5_digest": "ba5ee2a7c088ee868af68bbb78d2e83a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 408916,
            "upload_time": "2024-10-20T13:46:16",
            "upload_time_iso_8601": "2024-10-20T13:46:16.929451Z",
            "url": "https://files.pythonhosted.org/packages/4a/0c/372a9f49f345743e9ea44376ef2ae0bc9b1180b6f816e9437a51c92119a8/st_image_cropper-0.0.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-20 13:46:16",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "st-image-cropper"
}
        
Elapsed time: 7.00717s