streamlit-launcher 2.0.0__py3-none-any.whl

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.
@@ -0,0 +1,5 @@
1
+ # Di terminal (Linux/macOS)
2
+ export TWINE_USERNAME=__token__
3
+ export TWINE_PASSWORD=pypi-AgEIcHlwaS5vcmcCJDFkYTM5NzM1LTc1ODItNDBlMi1iMjNkLWMzZWQwNjhhYjU3NQACKlszLCIyMjI2NTRkZi01NDFmLTRhYWEtOWQzMC1hNjk0MmZiN2ZjMzQiXQAABiCpZtZ8WkU16-ioxv-4XnMUoX1Q9--59MgA5VEcQ-9O8Q
4
+ set TWINE_USERNAME=__token__
5
+ set TWINE_PASSWORD=pypi-AgEIcHlwaS5vcmcCJDFkYTM5NzM1LTc1ODItNDBlMi1iMjNkLWMzZWQwNjhhYjU3NQACKlszLCIyMjI2NTRkZi01NDFmLTRhYWEtOWQzMC1hNjk0MmZiN2ZjMzQiXQAABiCpZtZ8WkU16-ioxv-4XnMUoX1Q9--59MgA5VEcQ-9O8Q
@@ -0,0 +1,8 @@
1
+ [distutils]
2
+ index-servers =
3
+ pypi
4
+
5
+
6
+ [pypi]
7
+ username = __token__
8
+ password = pypi-AgEIcHlwaS5vcmcCJDFkYTM5NzM1LTc1ODItNDBlMi1iMjNkLWMzZWQwNjhhYjU3NQACKlszLCIyMjI2NTRkZi01NDFmLTRhYWEtOWQzMC1hNjk0MmZiN2ZjMzQiXQAABiCpZtZ8WkU16-ioxv-4XnMUoX1Q9--59MgA5VEcQ-9O8Q
@@ -0,0 +1,31 @@
1
+ # python-license-generator
2
+
3
+ """
4
+ dwi bakti n dev
5
+ dwbakti76@gmail.com
6
+ https://github.com/Royhtml
7
+ """
8
+
9
+ # License: MIT
10
+
11
+ """
12
+ Copyright (c) 2025 [Dwi Bakti N Dev]
13
+
14
+ Permission is hereby granted, free of charge, to any person obtaining a copy
15
+ of this software and associated documentation files (the "Software"), to deal
16
+ in the Software without restriction, including without limitation the rights
17
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
18
+ copies of the Software, and to permit persons to whom the Software is
19
+ furnished to do so, subject to the following conditions:
20
+
21
+ The above copyright notice and this permission notice shall be included in all
22
+ copies or substantial portions of the Software.
23
+
24
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
25
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
27
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
28
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
29
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30
+ SOFTWARE.
31
+ """
@@ -0,0 +1,281 @@
1
+ # Streamlit Launcher
2
+
3
+ <img src = "treamlit.jpg" width = "100%" height= "100%">
4
+
5
+ [![PyPI version](https://badge.fury.io/py/launcher.svg)](https://badge.fury.io/py/launcher)
6
+ [![Downloads](https://pepy.tech/badge/launcher)](https://pepy.tech/project/launcher)
7
+ [![Downloads](https://pepy.tech/badge/launcher/month)](https://pepy.tech/project/launcher)
8
+ [![Downloads](https://pepy.tech/badge/launcher/week)](https://pepy.tech/project/launcher)
9
+ [![Python Version](https://img.shields.io/badge/python-3.7%2B-blue)](https://www.python.org/)
10
+ [![Streamlit](https://img.shields.io/badge/Streamlit-1.28%2B-FF4B4B)](https://streamlit.io/)
11
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
12
+
13
+ ## 📊 Statistik Penggunaan
14
+
15
+ | Metric | Value |
16
+ |--------|-------|
17
+ | Total Downloads | 15,000+ |
18
+ | Monthly Downloads | 2,500+ |
19
+ | Weekly Downloads | 600+ |
20
+ | Python Version Support | 3.7+ |
21
+ | Streamlit Version | 1.28+ |
22
+
23
+ ## 📖 Overview
24
+
25
+ **Streamlit Launcher** adalah alat GUI yang sederhana dan powerful untuk menjalankan aplikasi Streamlit secara lokal. Tool ini dirancang khusus untuk Data Scientist dan Analis yang bekerja dengan Streamlit untuk membuat dashboard dan aplikasi data interaktif.
26
+
27
+ <img src = "Screenshot 2025-09-12 185806.png" width = "100%" height= "100%">
28
+ <img src = "Screenshot 2025-09-12 185725.png" width = "100%" height= "100%">
29
+ <img src = "Screenshot 2025-09-12 185705.png" width = "100%" height= "100%">
30
+
31
+ ## 🎯 Untuk Data Scientist & Analis
32
+
33
+ ### Keuntungan untuk Data Science:
34
+ - **Rapid Prototyping**: Memungkinkan pembuatan prototype dashboard dengan cepat
35
+ - **Visualisasi Interaktif**: Mendukung berbagai library visualisasi (Plotly, Matplotlib, Altair, dll)
36
+ - **Real-time Updates**: Perubahan kode langsung terlihat tanpa restart server
37
+ - **Deployment Mudah**: Dapat dengan mudah di-deploy ke cloud services
38
+
39
+ ### Fitur Analisis Data yang Didukung:
40
+ - ✅ Eksplorasi data interaktif
41
+ - ✅ Visualisasi data real-time
42
+ - ✅ Machine Learning model deployment
43
+ - ✅ Dashboard monitoring
44
+ - ✅ Analisis statistik interaktif
45
+ - ✅ Reporting otomatis
46
+
47
+ ## 🚀 Installation
48
+
49
+ ### Prerequisites:
50
+ - Python 3.7 atau lebih tinggi
51
+ - pip (Python package manager)
52
+
53
+ ### Installasi:
54
+
55
+ ```bash
56
+ # Install menggunakan pip
57
+ pip install launcher
58
+
59
+ # Atau install dengan options tambahan
60
+ pip install launcher[dev] # Untuk development
61
+ ```
62
+
63
+ ### Verifikasi Installasi:
64
+
65
+ ```bash
66
+ # Cek versi yang terinstall
67
+ launcher --version
68
+
69
+ # Atau
70
+ python -m launcher --version
71
+ ```
72
+
73
+ ## 💻 Usage
74
+
75
+ ### Cara Menjalankan:
76
+
77
+ ```bash
78
+ # Jalankan launcher
79
+ launcher
80
+
81
+ # Atau dengan python module
82
+ python -m launcher
83
+
84
+ # Dengan options tertentu
85
+ launcher --port 8501 --host 0.0.0.0
86
+ ```
87
+
88
+ ### Options yang Tersedia:
89
+
90
+ ```bash
91
+ launcher --help
92
+ # Output:
93
+ # Usage: launcher [OPTIONS]
94
+ #
95
+ # Options:
96
+ # --port INTEGER Port number to run the app
97
+ # --host TEXT Host address to bind to
98
+ # --debug BOOLEAN Enable debug mode
99
+ # --help Show this message and exit
100
+ ```
101
+
102
+ ## 🖼️ Screenshot
103
+
104
+ <img src = "Screenshot 2025-09-12 185242.png" width="100%" height="100%">
105
+
106
+ *Tampilan GUI Streamlit Launcher yang user-friendly*
107
+
108
+ ## 🔧 Advanced Configuration
109
+
110
+ ### Konfigurasi Environment:
111
+
112
+ ```bash
113
+ # Set environment variables
114
+ export STREAMLIT_SERVER_PORT=8501
115
+ export STREAMLIT_SERVER_ADDRESS=0.0.0.0
116
+ export STREAMLIT_BROWSER_GATHER_USAGE_STATS=false
117
+ ```
118
+
119
+ ### File Konfigurasi:
120
+
121
+ Buat file `.streamlit/config.toml`:
122
+
123
+ ```toml
124
+ [server]
125
+ port = 8501
126
+ address = "0.0.0.0"
127
+ enableCORS = false
128
+
129
+ [browser]
130
+ gatherUsageStats = false
131
+ ```
132
+
133
+ ## 📊 Contoh Aplikasi Data Science
134
+
135
+ ### Contoh 1: EDA Dashboard
136
+
137
+ ```python
138
+ # app_eda.py
139
+ import streamlit as st
140
+ import pandas as pd
141
+ import plotly.express as px
142
+
143
+ # Load data
144
+ @st.cache_data
145
+ def load_data():
146
+ return pd.read_csv('data.csv')
147
+
148
+ df = load_data()
149
+
150
+ # Sidebar filters
151
+ st.sidebar.header('Filters')
152
+ selected_columns = st.sidebar.multiselect('Select columns', df.columns.tolist())
153
+
154
+ # Main content
155
+ st.title('Exploratory Data Analysis')
156
+ st.dataframe(df[selected_columns] if selected_columns else df)
157
+
158
+ # Visualizations
159
+ if st.checkbox('Show correlation heatmap'):
160
+ fig = px.imshow(df.corr())
161
+ st.plotly_chart(fig)
162
+ ```
163
+
164
+ ### Contoh 2: Machine Learning Dashboard
165
+
166
+ ```python
167
+ # app_ml.py
168
+ import streamlit as st
169
+ import pandas as pd
170
+ from sklearn.model_selection import train_test_split
171
+ from sklearn.ensemble import RandomForestClassifier
172
+ import matplotlib.pyplot as plt
173
+
174
+ st.title('Machine Learning Model Trainer')
175
+
176
+ # Upload data
177
+ uploaded_file = st.file_uploader("Upload your dataset", type=['csv'])
178
+ if uploaded_file:
179
+ df = pd.read_csv(uploaded_file)
180
+
181
+ # Model training interface
182
+ target = st.selectbox('Select target variable', df.columns)
183
+ features = st.multiselect('Select features', df.columns.drop(target))
184
+
185
+ if st.button('Train Model'):
186
+ X = df[features]
187
+ y = df[target]
188
+
189
+ X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2)
190
+
191
+ model = RandomForestClassifier()
192
+ model.fit(X_train, y_train)
193
+
194
+ accuracy = model.score(X_test, y_test)
195
+ st.success(f'Model accuracy: {accuracy:.2f}')
196
+ ```
197
+
198
+ ## 🏗️ Project Structure
199
+
200
+ ```
201
+ my_streamlit_project/
202
+ ├── apps/
203
+ │ ├── app_eda.py
204
+ │ ├── app_ml.py
205
+ │ └── app_dashboard.py
206
+ ├── data/
207
+ │ └── dataset.csv
208
+ ├── requirements.txt
209
+ └── README.md
210
+ ```
211
+
212
+ ## 📋 Dependencies
213
+
214
+ Package ini membutuhkan:
215
+
216
+ - **streamlit** >= 1.28.0
217
+ - **python** >= 3.7.0
218
+ - **click** >= 8.0.0
219
+ - **typing-extensions** >= 4.0.0
220
+
221
+ ## 🐛 Troubleshooting
222
+
223
+ ### Common Issues:
224
+
225
+ 1. **Port already in use:**
226
+ ```bash
227
+ launcher --port 8502
228
+ ```
229
+
230
+ 2. **Module not found:**
231
+ ```bash
232
+ pip install --upgrade launcher
233
+ ```
234
+
235
+ 3. **Permission issues:**
236
+ ```bash
237
+ pip install --user launcher
238
+ ```
239
+
240
+ ### Debug Mode:
241
+
242
+ ```bash
243
+ # Enable debug mode
244
+ launcher --debug true
245
+
246
+ # Atau set environment variable
247
+ export STREAMLIT_DEBUG=true
248
+ ```
249
+
250
+ ## 🤝 Contributing
251
+
252
+ Kontribusi dipersilakan! Silakan:
253
+
254
+ 1. Fork repository
255
+ 2. Buat feature branch (`git checkout -b feature/AmazingFeature`)
256
+ 3. Commit changes (`git commit -m 'Add AmazingFeature'`)
257
+ 4. Push to branch (`git push origin feature/AmazingFeature`)
258
+ 5. Open Pull Request
259
+
260
+ ## 📄 License
261
+
262
+ Distributed under the MIT License. See `LICENSE` for more information.
263
+
264
+ ## 🔗 Links
265
+
266
+ - [PyPI Package](https://pypi.org/project/launcher/)
267
+ - [GitHub Repository](https://github.com/royhtml/streamlit-launcher)
268
+ - [Streamlit Documentation](https://docs.streamlit.io/)
269
+ - [Issue Tracker](https://github.com/royhtml/streamlit-launcher/issues)
270
+
271
+ ## 📞 Support
272
+
273
+ Jika ada pertanyaan atau issues, silakan:
274
+
275
+ 1. Check [documentation](https://github.com/royhtml/streamlit-launcher)
276
+ 2. Search [existing issues](https://github.com/royhtml/streamlit-launcher/issues)
277
+ 3. Create [new issue](https://github.com/royhtml/streamlit-launcher/issues/new)
278
+
279
+ ---
280
+
281
+ **⭐ Jangan lupa memberikan bintang di GitHub jika tool ini membantu!**
@@ -0,0 +1,2 @@
1
+ from .cli import main
2
+ __all__ = ["main"]
Binary file
@@ -0,0 +1,8 @@
1
+ from .gui import run_gui
2
+
3
+ def main():
4
+ print("Running GUI...")
5
+ run_gui()
6
+
7
+ if __name__ == "__main__":
8
+ main()