streamlit-pannellum


Namestreamlit-pannellum JSON
Version 0.0.3 PyPI version JSON
download
home_pagehttps://gitlab.com/nicolalandro/streamlit-pannellum
SummaryThis library is a streamlit app for panorama, 360/HDRI image show and interact.
upload_time2023-10-28 05:54:11
maintainer
docs_urlNone
authorNicola Landro
requires_python>=3.6
license
keywords panorama 360 hdri streamlit
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![Open in Huggingface](https://huggingface.co/datasets/huggingface/badges/raw/refs%2Fpr%2F11/open-in-hf-spaces-md-dark.svg)](https://huggingface.co/spaces/z-uo/pannellum-panorama)

# Streamlit Pannellum
This plugin is the Streamlit implementation of Pannellum a lightweight, free, and open source panorama viewer for the web.

![Screen app example](https://gitlab.com/nicolalandro/streamlit-pannellum/-/raw/main/imgs/app.png)

## Example of usage
Install streamlit_pannellum in your environment:

```
pip install streamlit_pannellum
```

Into your streamlit app (egg. main.py):

```
from streamlit_pannellum import streamlit_pannellum

streamlit_pannellum(
    config={
      "default": {
        "firstScene": "first",
      },
      "scenes": {
        "first": {
          "title": "My first example",
          "type": "equirectangular",
          "panorama": "https://pannellum.org/images/alma.jpg",
          "autoLoad": True,
          "author": "Me",
          "hotSpots": [
            {
              "pitch": 15,
              "yaw": 0,
              "type": "info",
              "text": "This is an info."
            },
            {
              "pitch": 0,
              "yaw": -10,
              "type": "scene",
              "text": "Second scene",
              "sceneId": "second"
            }
          ],
        },
        "second": {
          "title": "My second example",
          "type": "equirectangular",
          "panorama": "https://pannellum.org/images/alma.jpg",
          "autoLoad": True,
          "author": "always Me",
          "hotSpots": [
            {
              "pitch": 15,
              "yaw": 0,
              "type": "info",
              "text": "This is an info."
            },
            {
              "pitch": 0,
              "yaw": -10,
              "type": "scene",
              "text": "First scene",
              "sceneId": "first"
            }
          ],
        }
      }
    }
)
```


            

Raw data

            {
    "_id": null,
    "home_page": "https://gitlab.com/nicolalandro/streamlit-pannellum",
    "name": "streamlit-pannellum",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "panorama,360,HDRI,streamlit",
    "author": "Nicola Landro",
    "author_email": "nicolaxx94@live.it",
    "download_url": "https://files.pythonhosted.org/packages/03/1e/b5cc57200cc590e78f79859a74b5415e572e1c5a2555bf1b7eee90a396c6/streamlit_pannellum-0.0.3.tar.gz",
    "platform": null,
    "description": "[![Open in Huggingface](https://huggingface.co/datasets/huggingface/badges/raw/refs%2Fpr%2F11/open-in-hf-spaces-md-dark.svg)](https://huggingface.co/spaces/z-uo/pannellum-panorama)\n\n# Streamlit Pannellum\nThis plugin is the Streamlit implementation of Pannellum a lightweight, free, and open source panorama viewer for the web.\n\n![Screen app example](https://gitlab.com/nicolalandro/streamlit-pannellum/-/raw/main/imgs/app.png)\n\n## Example of usage\nInstall streamlit_pannellum in your environment:\n\n```\npip install streamlit_pannellum\n```\n\nInto your streamlit app (egg. main.py):\n\n```\nfrom streamlit_pannellum import streamlit_pannellum\n\nstreamlit_pannellum(\n    config={\n      \"default\": {\n        \"firstScene\": \"first\",\n      },\n      \"scenes\": {\n        \"first\": {\n          \"title\": \"My first example\",\n          \"type\": \"equirectangular\",\n          \"panorama\": \"https://pannellum.org/images/alma.jpg\",\n          \"autoLoad\": True,\n          \"author\": \"Me\",\n          \"hotSpots\": [\n            {\n              \"pitch\": 15,\n              \"yaw\": 0,\n              \"type\": \"info\",\n              \"text\": \"This is an info.\"\n            },\n            {\n              \"pitch\": 0,\n              \"yaw\": -10,\n              \"type\": \"scene\",\n              \"text\": \"Second scene\",\n              \"sceneId\": \"second\"\n            }\n          ],\n        },\n        \"second\": {\n          \"title\": \"My second example\",\n          \"type\": \"equirectangular\",\n          \"panorama\": \"https://pannellum.org/images/alma.jpg\",\n          \"autoLoad\": True,\n          \"author\": \"always Me\",\n          \"hotSpots\": [\n            {\n              \"pitch\": 15,\n              \"yaw\": 0,\n              \"type\": \"info\",\n              \"text\": \"This is an info.\"\n            },\n            {\n              \"pitch\": 0,\n              \"yaw\": -10,\n              \"type\": \"scene\",\n              \"text\": \"First scene\",\n              \"sceneId\": \"first\"\n            }\n          ],\n        }\n      }\n    }\n)\n```\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "This library is a streamlit app for panorama, 360/HDRI image show and interact.",
    "version": "0.0.3",
    "project_urls": {
        "Homepage": "https://gitlab.com/nicolalandro/streamlit-pannellum",
        "Source": "https://gitlab.com/nicolalandro/streamlit-pannellum"
    },
    "split_keywords": [
        "panorama",
        "360",
        "hdri",
        "streamlit"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "031eb5cc57200cc590e78f79859a74b5415e572e1c5a2555bf1b7eee90a396c6",
                "md5": "223ab01e122c203d8a1af389ff6d6731",
                "sha256": "1ae08178790fa659e1e1f7a4a14843e94ebe0eedc024bbd648203525e711992c"
            },
            "downloads": -1,
            "filename": "streamlit_pannellum-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "223ab01e122c203d8a1af389ff6d6731",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 71514,
            "upload_time": "2023-10-28T05:54:11",
            "upload_time_iso_8601": "2023-10-28T05:54:11.982999Z",
            "url": "https://files.pythonhosted.org/packages/03/1e/b5cc57200cc590e78f79859a74b5415e572e1c5a2555bf1b7eee90a396c6/streamlit_pannellum-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-10-28 05:54:11",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "nicolalandro",
    "gitlab_project": "streamlit-pannellum",
    "lcname": "streamlit-pannellum"
}
        
Elapsed time: 0.77838s