awacke1 commited on
Commit
dd5fe91
Β·
verified Β·
1 Parent(s): 04b8433

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +32 -14
requirements.txt CHANGED
@@ -1,14 +1,32 @@
1
- # ✨ Core library for creating and running the interactive web application.
2
- # - Handles UI components (e.g., st.button("Save"), st.selectbox("Choose", opts), st.sidebar).
3
- # - Manages state (e.g., st.session_state.my_var = 10).
4
- # - Embeds HTML/JS (e.g., st.components.v1.html(html_str)).
5
- # - Controls app flow (e.g., st.rerun()).
6
- streamlit>=1.15.0
7
-
8
- # ↔️ Enables two-way communication between Streamlit (Python) and JavaScript in HTML components.
9
- # - Python β†’ JS: Sending commands (e.g., streamlit_js_eval(js_code=f"teleportPlayer({x},{z})")).
10
- # - JS β†’ Python: Getting data back (e.g., streamlit_js_eval(js_code="getData()", key="data_key")).
11
- streamlit-js-eval>=0.0.5
12
-
13
- # πŸ“Š Provides data manipulation tools and CSV file operations for handling plot and world state data.
14
- pandas>=1.4.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ streamlit
2
+ # ✨ The magic wand turning Python scripts into interactive web apps; UI layout (tabs/sidebar/buttons); User inputs (text/selectbox); Embedding the 3D component
3
+
4
+ websockets
5
+ # πŸ•ΈοΈ Weaving real-time connections between worlds (and browsers); Handling client connections (websocket_handler); Broadcasting messages (broadcast_message); Receiving 3D/chat updates
6
+
7
+ pytz
8
+ # πŸ•°οΈ Keeping our timestamps globally consistent, even if users are time travelers; Getting current UTC time; Formatting timestamps (format_timestamp_prefix); Timezone definition ('utc')
9
+
10
+ edge-tts
11
+ # πŸ—£οΈ Giving the silent builders a voice, straight from the cloud's edge; Generating speech from text (async_edge_tts_generate); Saving audio files (.mp3); Selecting different voices (FUN_USERNAMES values)
12
+
13
+ nest_asyncio
14
+ # πŸ”„ Allowing async loops to party inside other loops, like Inception but for code; Applying the patch (nest_asyncio.apply()); Running websockets within Streamlit; Managing concurrent async tasks
15
+
16
+ PyPDF2
17
+ # πŸ“„ Extracting the soul (text) from stoic PDF documents; Reading PDF files (PdfReader); Extracting text content (extract_text); Counting pages (len(reader.pages))
18
+
19
+ python-dotenv
20
+ # 🀫 Keeping secrets safe, loading API keys from the shadows (.env); Loading environment variables (load_dotenv); Accessing potential API keys (os.getenv); Managing external configuration
21
+
22
+ streamlit-marquee
23
+ # πŸ“œ Making text scroll like old-school cinema newsreels (if re-enabled); Displaying scrolling text (streamlit_marquee); Customizing appearance (settings dict); Placeholder usage
24
+
25
+ pandas
26
+ # 🐼 Wrangling CSV data like a pro, especially for initial world loads; Reading CSV files (pd.read_csv); Handling DataFrames (df operations); Writing CSV files (df.to_csv - used in original save logic)
27
+
28
+ streamlit-js-eval
29
+ # πŸ“ž The hotline between Python whispers and JavaScript shouts; Calling JS functions from Python (teleportPlayer); Updating JS state dynamically (updateSelectedObjectType); Triggering actions in JS
30
+
31
+ pillow
32
+ # πŸ–ΌοΈ Handling images pasted from the digital ether, ready for the world; Opening image data (Image.open); Saving image files (.png); Implicit image handling