The Real Python Podcast

Build Streamlit Data Science Dashboards & Verbose Regex f-Strings

Jun 10, 2022
Ask episode
AI Snips
Chapters
Transcript
Episode notes
ADVICE

Avoid Python Package Security Risks

  • Don't blindly update Python packages; pin your versions to avoid vulnerabilities.
  • Configure servers to communicate only with known addresses to enhance security.
ADVICE

Build URL Shortener with FastAPI

  • Follow step-by-step guides to build a URL shortener using FastAPI and SQLAlchemy.
  • Use Uvicorn with auto-reload for efficient development and take advantage of FastAPI's built-in Swagger UI.
INSIGHT

Functions Are Sometimes Classes

  • Many Python functions are classes that implement the call method, making instances callable.
  • This callable design blurs lines between functions and classes, enhancing polymorphism in Python.
Get the Snipd Podcast app to discover more snips from this episode
Get the app