streamlit2stlite 0.1.0__tar.gz → 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {streamlit2stlite-0.1.0 → streamlit2stlite-0.1.1}/PKG-INFO +24 -2
- {streamlit2stlite-0.1.0 → streamlit2stlite-0.1.1}/README.md +23 -1
- {streamlit2stlite-0.1.0 → streamlit2stlite-0.1.1}/pyproject.toml +1 -1
- {streamlit2stlite-0.1.0 → streamlit2stlite-0.1.1}/streamlit2stlite/__init__.py +1 -1
- {streamlit2stlite-0.1.0 → streamlit2stlite-0.1.1}/streamlit2stlite/core.py +1 -1
- {streamlit2stlite-0.1.0 → streamlit2stlite-0.1.1}/streamlit2stlite.egg-info/PKG-INFO +24 -2
- {streamlit2stlite-0.1.0 → streamlit2stlite-0.1.1}/setup.cfg +0 -0
- {streamlit2stlite-0.1.0 → streamlit2stlite-0.1.1}/streamlit2stlite/cli.py +0 -0
- {streamlit2stlite-0.1.0 → streamlit2stlite-0.1.1}/streamlit2stlite.egg-info/SOURCES.txt +0 -0
- {streamlit2stlite-0.1.0 → streamlit2stlite-0.1.1}/streamlit2stlite.egg-info/dependency_links.txt +0 -0
- {streamlit2stlite-0.1.0 → streamlit2stlite-0.1.1}/streamlit2stlite.egg-info/entry_points.txt +0 -0
- {streamlit2stlite-0.1.0 → streamlit2stlite-0.1.1}/streamlit2stlite.egg-info/requires.txt +0 -0
- {streamlit2stlite-0.1.0 → streamlit2stlite-0.1.1}/streamlit2stlite.egg-info/top_level.txt +0 -0
- {streamlit2stlite-0.1.0 → streamlit2stlite-0.1.1}/tests/test_core.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: streamlit2stlite
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Convert Streamlit Python apps to stlite HTML apps
|
|
5
5
|
Project-URL: Homepage, https://github.com/caggionim/streamlit2stlite
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/caggionim/streamlit2stlite/issues
|
|
@@ -20,6 +20,18 @@ Requires-Dist: pytest; extra == "dev"
|
|
|
20
20
|
|
|
21
21
|
> 💡 Perfect for sharing data dashboards, prototypes, and tools with colleagues or clients who don't have Python installed.
|
|
22
22
|
|
|
23
|
+
## 🎮 Try it now!
|
|
24
|
+
|
|
25
|
+
Don't want to install anything yet? specific files are included in this repository that you can download and run immediately:
|
|
26
|
+
|
|
27
|
+
* **[Converter Tool](converter_app.html)** (`converter_app.html`): A self-contained tool that lets you upload and convert other Streamlit apps to HTML directly in your browser.
|
|
28
|
+
* **[Example App](example_app.html)** (`example_app.html`): A simple demo showing what the output looks like.
|
|
29
|
+
|
|
30
|
+
**To use them:**
|
|
31
|
+
1. Click the link above (or navigate to the file in the repo).
|
|
32
|
+
2. Download the raw file (on GitHub, click "Download raw file" button).
|
|
33
|
+
3. Open the downloaded `.html` file in Chrome, Edge, or Firefox.
|
|
34
|
+
|
|
23
35
|
## 🚀 Quick Start
|
|
24
36
|
|
|
25
37
|
1. **Install** the tool:
|
|
@@ -91,7 +103,17 @@ options:
|
|
|
91
103
|
-t, --title Title for the HTML page
|
|
92
104
|
--add-requirements Additional packages to add to auto-detected ones
|
|
93
105
|
-v, --verbose Print verbose output
|
|
94
|
-
|
|
106
|
+
## ⚠️ Limitations
|
|
107
|
+
|
|
108
|
+
While running Python in the browser is magical, it has some constraints you should be aware of:
|
|
109
|
+
|
|
110
|
+
* **Library Support**: You can only use:
|
|
111
|
+
* **Pure Python** packages found on PyPI (packages that don't require C compilation).
|
|
112
|
+
* **Scientific packages** expressly ported to Pyodide (e.g., `numpy`, `pandas`, `scipy`, `matplotlib`, `scikit-learn`).
|
|
113
|
+
* *System-level* packages like `opencv-python` (cv2) or complex compiled libraries that haven't been ported will **NOT** work.
|
|
114
|
+
* **Performance**: Code runs in the browser, so it's generally slower than native Python. Heavy data processing might lag the UI.
|
|
115
|
+
* **Networking**: Standard `requests` won't work due to browser CORS security. You must use `pyodide.http` or libraries that wrap the browser's `fetch` API.
|
|
116
|
+
* **File System**: No direct access to the user's local hard drive. Use `st.file_uploader` and `st.download_button` to interact with files.
|
|
95
117
|
|
|
96
118
|
## ❓ FAQ
|
|
97
119
|
|
|
@@ -6,6 +6,18 @@
|
|
|
6
6
|
|
|
7
7
|
> 💡 Perfect for sharing data dashboards, prototypes, and tools with colleagues or clients who don't have Python installed.
|
|
8
8
|
|
|
9
|
+
## 🎮 Try it now!
|
|
10
|
+
|
|
11
|
+
Don't want to install anything yet? specific files are included in this repository that you can download and run immediately:
|
|
12
|
+
|
|
13
|
+
* **[Converter Tool](converter_app.html)** (`converter_app.html`): A self-contained tool that lets you upload and convert other Streamlit apps to HTML directly in your browser.
|
|
14
|
+
* **[Example App](example_app.html)** (`example_app.html`): A simple demo showing what the output looks like.
|
|
15
|
+
|
|
16
|
+
**To use them:**
|
|
17
|
+
1. Click the link above (or navigate to the file in the repo).
|
|
18
|
+
2. Download the raw file (on GitHub, click "Download raw file" button).
|
|
19
|
+
3. Open the downloaded `.html` file in Chrome, Edge, or Firefox.
|
|
20
|
+
|
|
9
21
|
## 🚀 Quick Start
|
|
10
22
|
|
|
11
23
|
1. **Install** the tool:
|
|
@@ -77,7 +89,17 @@ options:
|
|
|
77
89
|
-t, --title Title for the HTML page
|
|
78
90
|
--add-requirements Additional packages to add to auto-detected ones
|
|
79
91
|
-v, --verbose Print verbose output
|
|
80
|
-
|
|
92
|
+
## ⚠️ Limitations
|
|
93
|
+
|
|
94
|
+
While running Python in the browser is magical, it has some constraints you should be aware of:
|
|
95
|
+
|
|
96
|
+
* **Library Support**: You can only use:
|
|
97
|
+
* **Pure Python** packages found on PyPI (packages that don't require C compilation).
|
|
98
|
+
* **Scientific packages** expressly ported to Pyodide (e.g., `numpy`, `pandas`, `scipy`, `matplotlib`, `scikit-learn`).
|
|
99
|
+
* *System-level* packages like `opencv-python` (cv2) or complex compiled libraries that haven't been ported will **NOT** work.
|
|
100
|
+
* **Performance**: Code runs in the browser, so it's generally slower than native Python. Heavy data processing might lag the UI.
|
|
101
|
+
* **Networking**: Standard `requests` won't work due to browser CORS security. You must use `pyodide.http` or libraries that wrap the browser's `fetch` API.
|
|
102
|
+
* **File System**: No direct access to the user's local hard drive. Use `st.file_uploader` and `st.download_button` to interact with files.
|
|
81
103
|
|
|
82
104
|
## ❓ FAQ
|
|
83
105
|
|
|
@@ -147,7 +147,7 @@ def extract_imports(python_code: str) -> List[str]:
|
|
|
147
147
|
'lmfit': ['scipy'], # lmfit needs scipy
|
|
148
148
|
'tadatakit': ['pydantic'], # tadatakit needs pydantic
|
|
149
149
|
'plotly': [],
|
|
150
|
-
'pandas': ['xlsxwriter'],
|
|
150
|
+
'pandas': ['xlsxwriter', 'openpyxl'],
|
|
151
151
|
'numpy': [],
|
|
152
152
|
'matplotlib': [],
|
|
153
153
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: streamlit2stlite
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Convert Streamlit Python apps to stlite HTML apps
|
|
5
5
|
Project-URL: Homepage, https://github.com/caggionim/streamlit2stlite
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/caggionim/streamlit2stlite/issues
|
|
@@ -20,6 +20,18 @@ Requires-Dist: pytest; extra == "dev"
|
|
|
20
20
|
|
|
21
21
|
> 💡 Perfect for sharing data dashboards, prototypes, and tools with colleagues or clients who don't have Python installed.
|
|
22
22
|
|
|
23
|
+
## 🎮 Try it now!
|
|
24
|
+
|
|
25
|
+
Don't want to install anything yet? specific files are included in this repository that you can download and run immediately:
|
|
26
|
+
|
|
27
|
+
* **[Converter Tool](converter_app.html)** (`converter_app.html`): A self-contained tool that lets you upload and convert other Streamlit apps to HTML directly in your browser.
|
|
28
|
+
* **[Example App](example_app.html)** (`example_app.html`): A simple demo showing what the output looks like.
|
|
29
|
+
|
|
30
|
+
**To use them:**
|
|
31
|
+
1. Click the link above (or navigate to the file in the repo).
|
|
32
|
+
2. Download the raw file (on GitHub, click "Download raw file" button).
|
|
33
|
+
3. Open the downloaded `.html` file in Chrome, Edge, or Firefox.
|
|
34
|
+
|
|
23
35
|
## 🚀 Quick Start
|
|
24
36
|
|
|
25
37
|
1. **Install** the tool:
|
|
@@ -91,7 +103,17 @@ options:
|
|
|
91
103
|
-t, --title Title for the HTML page
|
|
92
104
|
--add-requirements Additional packages to add to auto-detected ones
|
|
93
105
|
-v, --verbose Print verbose output
|
|
94
|
-
|
|
106
|
+
## ⚠️ Limitations
|
|
107
|
+
|
|
108
|
+
While running Python in the browser is magical, it has some constraints you should be aware of:
|
|
109
|
+
|
|
110
|
+
* **Library Support**: You can only use:
|
|
111
|
+
* **Pure Python** packages found on PyPI (packages that don't require C compilation).
|
|
112
|
+
* **Scientific packages** expressly ported to Pyodide (e.g., `numpy`, `pandas`, `scipy`, `matplotlib`, `scikit-learn`).
|
|
113
|
+
* *System-level* packages like `opencv-python` (cv2) or complex compiled libraries that haven't been ported will **NOT** work.
|
|
114
|
+
* **Performance**: Code runs in the browser, so it's generally slower than native Python. Heavy data processing might lag the UI.
|
|
115
|
+
* **Networking**: Standard `requests` won't work due to browser CORS security. You must use `pyodide.http` or libraries that wrap the browser's `fetch` API.
|
|
116
|
+
* **File System**: No direct access to the user's local hard drive. Use `st.file_uploader` and `st.download_button` to interact with files.
|
|
95
117
|
|
|
96
118
|
## ❓ FAQ
|
|
97
119
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{streamlit2stlite-0.1.0 → streamlit2stlite-0.1.1}/streamlit2stlite.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{streamlit2stlite-0.1.0 → streamlit2stlite-0.1.1}/streamlit2stlite.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|