This reference sheet maps common Python use cases to solutions.
| Use Case | How |
| Simple python apps running in the cloud to schedule tasks | Use pythonanywhere.com |
| Scrape PDFs | For text: Pymudf libary For tables: Tabula-py library |
| Generate PDFs | FPDF library |
| Make simple website | Use Flask |
| Scrape information from browser rendered web pages | Use Selenium |
| Scrape information from web page without browser rendering | Use Beautiful Soup |
| Pull in data directly from a web service | Use Requests library with JSON parsing |
| Pull in then parse a CSV file | Copy the URL, use Requests, then Pandas |
| Create a webservice | Django or Flask. (Flask is better for small web apps) |
| Online free Jupyter Notebook | Deepnote |
| Sending Mail | Option 1: Smtplib Option 2: Yagmail (simpler but third party) |
| Make web calls – GET/PUT/etc | Requests library |
| Work with dataframes | Pandas library |
| Overload operators | __add__ __sub__ __mult__ __str__ |
| Make local desktop app | Use PtQt6 |
