Best of Planet PythonMay 2025

  1. 1
    Article
    Avatar of planetpythonPlanet Python·49w

    Farewell to Michael Ryabushkin

    Michael Ryabushkin, known for his significant contributions to the Python community and his relentless support and kindness, passed away in May 2025. He was a dear friend who offered crucial support during challenging times. A memorial page has been created in his honor by the SoCal Python community.

  2. 2
    Article
    Avatar of planetpythonPlanet Python·50w

    What does @Slot() do?

    The post explores the usage and functionality of the @Slot decorator in PySide6, a tool for marking Python methods as Qt slots. While the decorator isn't always necessary, it offers advantages such as reducing memory usage and slightly improving performance. It becomes essential when working with threads to avoid segmentation faults. The performance benefits are minor, but decorating slots can be beneficial in applications with numerous signal-slot connections.

  3. 3
    Article
    Avatar of planetpythonPlanet Python·48w

    Understanding Python web deployment

    Deploying server-side Python web applications can be complex with various components like gunicorn, nginx, and others, often requiring exploration beyond basic tutorials. Understanding the HTTP request-response model, HTTP servers, application servers, and translation frameworks is crucial. Different programming languages have varying approaches, such as WSGI for Python or Rack for Ruby. Tools like WhiteNoise and application servers like Phusion Passenger or Granian offer unique features that affect deployment strategies.