# st-compat
[![Tests](https://github.com/Wirg/st-compat/actions/workflows/tests.yml/badge.svg)](https://github.com/Wirg/st-compat/actions/workflows/tests.yml)
[![codecov](https://codecov.io/github/Wirg/st-compat/branch/main/graph/badge.svg?token=DSA23TOBWV)](https://codecov.io/github/Wirg/st-compat)
[![CodeQL](https://github.com/Wirg/st-compat/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/Wirg/st-compat/actions/workflows/codeql-analysis.yml)
[![Downloads](https://static.pepy.tech/personalized-badge/st-compat?period=month&units=international_system&left_color=grey&right_color=brightgreen&left_text=downloads/month)](https://pepy.tech/project/st-compat)
![Supported Python Versions](https://img.shields.io/pypi/pyversions/st-compat)
![pypi version](https://img.shields.io/pypi/v/st-compat)
`st-compat` is the simplest way to handle compatibility between streamlit versions when building utils and modules for the community!
## How to install
```sh
pip install st-compat
```
## How to use
```python
from st_compat import get_script_run_ctx
ctx = get_script_run_ctx()
```
Raw data
{
"_id": null,
"home_page": "https://github.com/Wirg/st_compat",
"name": "st-compat",
"maintainer": "Wirg",
"docs_url": null,
"requires_python": ">=3.7.2,<4.0.0",
"maintainer_email": "Wirg@users.noreply.github.com",
"keywords": "streamlit,compatibility,compat,st_compat,get_script_run_ctx,get_report_ctx",
"author": "Wirg",
"author_email": "Wirg@users.noreply.github.com",
"download_url": "https://files.pythonhosted.org/packages/7e/fe/a66dc94b6e9b337200763325b1cc3d4c85db33f48e8dc90dd3802a9facb3/st_compat-0.0.1a2.tar.gz",
"platform": null,
"description": "# st-compat\n[![Tests](https://github.com/Wirg/st-compat/actions/workflows/tests.yml/badge.svg)](https://github.com/Wirg/st-compat/actions/workflows/tests.yml)\n[![codecov](https://codecov.io/github/Wirg/st-compat/branch/main/graph/badge.svg?token=DSA23TOBWV)](https://codecov.io/github/Wirg/st-compat)\n[![CodeQL](https://github.com/Wirg/st-compat/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/Wirg/st-compat/actions/workflows/codeql-analysis.yml)\n[![Downloads](https://static.pepy.tech/personalized-badge/st-compat?period=month&units=international_system&left_color=grey&right_color=brightgreen&left_text=downloads/month)](https://pepy.tech/project/st-compat)\n![Supported Python Versions](https://img.shields.io/pypi/pyversions/st-compat)\n![pypi version](https://img.shields.io/pypi/v/st-compat)\n\n`st-compat` is the simplest way to handle compatibility between streamlit versions when building utils and modules for the community!\n\n## How to install\n\n```sh\npip install st-compat\n```\n\n## How to use\n\n```python\nfrom st_compat import get_script_run_ctx\n\nctx = get_script_run_ctx()\n```\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "Module to make it easier to build streamlit modules by implementing standard retro-compatiblity",
"version": "0.0.1a2",
"split_keywords": [
"streamlit",
"compatibility",
"compat",
"st_compat",
"get_script_run_ctx",
"get_report_ctx"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4d9d682c0f82ce17202deca90bef911235653469d5a85ddfe79af7f10c2ee4e9",
"md5": "6586a4dbaf4cfd353623c4e189f639b4",
"sha256": "c4c6e57464367497372ba007afbf462a6d669c72efcc5d779595dcc7344a722c"
},
"downloads": -1,
"filename": "st_compat-0.0.1a2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6586a4dbaf4cfd353623c4e189f639b4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7.2,<4.0.0",
"size": 10876,
"upload_time": "2023-01-17T09:52:17",
"upload_time_iso_8601": "2023-01-17T09:52:17.718809Z",
"url": "https://files.pythonhosted.org/packages/4d/9d/682c0f82ce17202deca90bef911235653469d5a85ddfe79af7f10c2ee4e9/st_compat-0.0.1a2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7efea66dc94b6e9b337200763325b1cc3d4c85db33f48e8dc90dd3802a9facb3",
"md5": "ce73fda7253c1d8dfca77eaf31ac17db",
"sha256": "21b81227f594d9c1600c61a0b8bb97e1d76c3c37fd54f0e21f177757217d1ac9"
},
"downloads": -1,
"filename": "st_compat-0.0.1a2.tar.gz",
"has_sig": false,
"md5_digest": "ce73fda7253c1d8dfca77eaf31ac17db",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7.2,<4.0.0",
"size": 6661,
"upload_time": "2023-01-17T09:52:18",
"upload_time_iso_8601": "2023-01-17T09:52:18.991583Z",
"url": "https://files.pythonhosted.org/packages/7e/fe/a66dc94b6e9b337200763325b1cc3d4c85db33f48e8dc90dd3802a9facb3/st_compat-0.0.1a2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-17 09:52:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "Wirg",
"github_project": "st_compat",
"lcname": "st-compat"
}