streamlit # Core library for building interactive web apps. # Top functions: # 1. st.write() – Write text, markdown, or data to the app. # 2. st.button() – Add an interactive button. # 3. st.file_uploader() – Upload files directly to the app. Pillow # Image processing library (PIL fork). # Top functions: # 1. Image.open() – Open an image file. # 2. Image.save() – Save an image in a specific format. # 3. Image.resize() – Resize an image to desired dimensions. plotly # Visualization library for creating interactive plots. # Top functions: # 1. plotly.express.scatter() – Create scatter plots. # 2. plotly.express.line() – Generate line charts. # 3. plotly.graph_objects.Figure() – Create custom figure layouts. opencv-python # Real-time computer vision library. # Top functions: # 1. cv2.imread() – Read an image. # 2. cv2.imshow() – Display an image in a window. # 3. cv2.resize() – Resize images. moviepy # Video editing and processing. # Top functions: # 1. VideoFileClip() – Load and manipulate video files. # 2. concatenate_videoclips() – Combine multiple video clips. # 3. write_videofile() – Export videos to a file. python-dotenv # Load environment variables from .env files. # Top functions: # 1. load_dotenv() – Load variables from .env. # 2. dotenv_values() – Retrieve values as a dictionary. # 3. set_key() – Set new environment variables. pytz # Timezone definitions for datetime handling. # Top functions: # 1. timezone() – Get timezone info. # 2. localize() – Attach timezone info to naive datetimes. # 3. utc() – Get the UTC timezone. requests # HTTP requests to fetch data from APIs. # Top functions: # 1. get() – Perform HTTP GET requests. # 2. post() – Send POST data to an endpoint. # 3. json() – Parse JSON from responses. openai # Interface for OpenAI APIs (ChatGPT, DALL·E). # Top functions: # 1. openai.ChatCompletion.create() – Generate chat responses. # 2. openai.Image.create() – Create images with DALL·E. # 3. openai.Audio.transcribe() – Transcribe audio to text. beautifulsoup4 # Web scraping and parsing HTML/XML. # Top functions: # 1. BeautifulSoup() – Parse HTML/XML documents. # 2. find() – Search for elements. # 3. find_all() – Retrieve multiple elements. PyPDF2 # PDF processing and extraction. # Top functions: # 1. PdfReader() – Read PDF files. # 2. PdfWriter() – Create or manipulate PDFs. # 3. extract_text() – Extract text from PDF pages. textract # Extract text from documents of various formats. # Top functions: # 1. process() – Extract text from any file format. # 2. exceptions() – Handle specific errors. # 3. is_supported() – Check if file type is supported. gradio-client # Client to interact with Gradio interfaces. # Top functions: # 1. submit() – Submit input to Gradio endpoints. # 2. predict() – Call Gradio API predictions. # 3. Interface() – Define and load models. huggingface-hub # Access Hugging Face models and datasets. # Top functions: # 1. from_pretrained() – Load pretrained models. # 2. snapshot_download() – Download model snapshots. # 3. list_models() – List models available. audio-recorder-streamlit # Streamlit component for audio recording. # Top functions: # 1. audio_recorder() – Record audio directly in Streamlit apps. xmltodict # Parse XML into Python dictionaries. # Top functions: # 1. parse() – Convert XML to dictionary. # 2. unparse() – Convert dictionary back to XML. # 3. ordered_dict() – Maintain element order. mistune # Markdown parsing in Python. # Top functions: # 1. markdown() – Render markdown text to HTML. # 2. escape() – Escape HTML elements. # 3. renderer() – Customize rendering options. python-docx # Create and modify .docx files. # Top functions: # 1. Document() – Create or load Word documents. # 2. add_paragraph() – Add paragraphs. # 3. save() – Save to .docx format. faiss-cpu # Efficient similarity search and clustering. # Top functions: # 1. IndexFlatL2() – Create L2 norm index. # 2. search() – Perform similarity searches. # 3. add() – Add vectors to the index. scikit-learn # Machine learning tools. # Top functions: # 1. fit() – Train models. # 2. predict() – Generate predictions. # 3. train_test_split() – Split datasets for training/testing. langchain # Chain LLM calls and workflows. # Top functions: # 1. load_chain() – Load chain pipelines. # 2. llm() – Access LLM models. # 3. memory() – Add conversational memory. tiktoken # Tokenizer for OpenAI models. # Top functions: # 1. encode() – Encode text into tokens. # 2. decode() – Decode tokens to text. # 3. get_encoding() – Fetch encoding method. anthropic # Interface for Claude AI models. # Top functions: # 1. chat() – Generate Claude-based chat responses. extra-streamlit-components # Additional Streamlit components. # Top functions: # 1. st_marquee() – Add scrolling marquees. # 2. st_tooltip() – Add tooltips to elements. # 3. st_modal() – Create modals. edge_tts==6.1.12 # Text-to-speech via Edge browser. # Top functions: # 1. Communicate() – Convert text to speech. st_marquee # Scrolling text marquee for Streamlit apps. # Top functions: # 1. st_marquee() – Display scrolling text.