# st-iframe-postmessage
This component sends postMessage to the window where Streamlit application is embedded in iframe
## Installation instructions
```sh
pip install st-iframe-postmessage
```
# Usage instructions
```python
import streamlit as st
from st_iframe_postmessage import st_iframe_postmessage
st_iframe_postmessage(message={"message": "Hello World"})
```
Raw data
{
"_id": null,
"home_page": "https://github.com/mysiar-org/st-iframe-postmessage",
"name": "st-iframe-postmessage",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "streamlit, streamlit-component",
"author": "Piotr Synowiec",
"author_email": "psynowiec@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/79/b3/53f732feb2c1177df5cddb43fd40a17d85a71695307980da868292380795/st_iframe_postmessage-0.1.0.tar.gz",
"platform": null,
"description": "# st-iframe-postmessage\n\nThis component sends postMessage to the window where Streamlit application is embedded in iframe\n\n## Installation instructions\n\n```sh\npip install st-iframe-postmessage\n```\n\n# Usage instructions\n\n```python\nimport streamlit as st\n\nfrom st_iframe_postmessage import st_iframe_postmessage\n\nst_iframe_postmessage(message={\"message\": \"Hello World\"})\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Streamlit component to send postMessage to iframe window embedding application",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/mysiar-org/st-iframe-postmessage"
},
"split_keywords": [
"streamlit",
" streamlit-component"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e8fca6953b67c482668037b31a7a3a563c87c913389f8fce36ad7807869e9715",
"md5": "532dde0a23284b3861d3188f8dfc9cfc",
"sha256": "6ced6cc80f4c86fff8a299b1a52f527c8c7109301e488d24e0d24c0c6d83c558"
},
"downloads": -1,
"filename": "st_iframe_postmessage-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "532dde0a23284b3861d3188f8dfc9cfc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 247748,
"upload_time": "2024-12-05T11:57:34",
"upload_time_iso_8601": "2024-12-05T11:57:34.851900Z",
"url": "https://files.pythonhosted.org/packages/e8/fc/a6953b67c482668037b31a7a3a563c87c913389f8fce36ad7807869e9715/st_iframe_postmessage-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "79b353f732feb2c1177df5cddb43fd40a17d85a71695307980da868292380795",
"md5": "9faea422f60a609a643bf111748bce11",
"sha256": "45d204c6c492bec0a2bb147876b5a9f5038cf2f7008df97e179bd570aeba84e3"
},
"downloads": -1,
"filename": "st_iframe_postmessage-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "9faea422f60a609a643bf111748bce11",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 245727,
"upload_time": "2024-12-05T11:57:37",
"upload_time_iso_8601": "2024-12-05T11:57:37.600880Z",
"url": "https://files.pythonhosted.org/packages/79/b3/53f732feb2c1177df5cddb43fd40a17d85a71695307980da868292380795/st_iframe_postmessage-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-05 11:57:37",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mysiar-org",
"github_project": "st-iframe-postmessage",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "st-iframe-postmessage"
}