Best of Planet PythonMay 2024

  1. 1
    Article
    Avatar of planetpythonPlanet Python·2y

    My favorite Python 3.13 feature

    Python 3.13 introduces a brand new REPL with features like colored prompt, auto-indentation, improved exit and help commands, block-level history, and support for pasting code. However, the new REPL is not currently compatible with Windows.

  2. 2
    Article
    Avatar of planetpythonPlanet Python·2y

    How to Use Gemini in Python

    Learn how to use Gemini AI model in Python by accessing the Gemini API, installing the required libraries, and setting parameters for generating responses.

  3. 3
    Article
    Avatar of planetpythonPlanet Python·2y

    Web scraping as an API service

    This post discusses the use of web scraping as an API service in systems-to-systems integrations. It highlights why web scraping should be avoided in backend integrations and introduces Playwright as a tool for generating Python code for web scraping.

  4. 4
    Article
    Avatar of planetpythonPlanet Python·2y

    An Intro to Logging with Python and Loguru

    Learn how to use Loguru to simplify logging in Python. Install Loguru with pip, change the handler and add formatting to logs, and catch exceptions with Loguru.

  5. 5
    Article
    Avatar of planetpythonPlanet Python·2y

    One way to fix Python circular imports

    A post discussing how to fix Python circular imports by organizing code in layers or changing the style of import statements.

  6. 6
    Article
    Avatar of planetpythonPlanet Python·2y

    The SQL IDE for Your Terminal

    Learn about Harlequin, a Python SQL IDE for the terminal, its origins, and the benefits of programming for the terminal.

  7. 7
    Article
    Avatar of planetpythonPlanet Python·2y

    The SQL IDE for Your Terminal

    This episode discusses Harlequin, a Python SQL IDE for the terminal. Topics covered include favorite Python packages used in Harlequin, the origins of Harlequin, and lessons learned in creating the tool.

  8. 8
    Article
    Avatar of planetpythonPlanet Python·2y

    The Fastest Python Linter and Formatter Just Got Faster!

    Ruff released an update with a new hand-written parser, making the Python linter and formatter 20-40% faster.

  9. 9
    Article
    Avatar of planetpythonPlanet Python·2y

    What is an API gateway?

    An API gateway is an element of a systems architecture that provides security, permissions, and access to backend systems, applications, and data sources. It may also offer audit, data transformation, and caching services.

  10. 10
    Article
    Avatar of planetpythonPlanet Python·2y

    Dropbase: Build Internal Tools with Python

    Dropbase is a service that allows you to build internal web apps with just Python. It provides a way to streamline the process of building these apps and saves time for developers.

  11. 11
    Article
    Avatar of planetpythonPlanet Python·2y

    PyCoder’s Weekly

    Learn about GUI programming with Tkinter, using pyastgrep as a library for linting, and the new features in Django 5.1.

  12. 12
    Article
    Avatar of planetpythonPlanet Python·2y

    Untold stories from 6 years working on Python packaging: Links and references from Sumana Harihareswara's PyCon US 2024 keynote

    This post provides links and references related to Sumana Harihareswara's keynote on untold stories from six years working on Python packaging. It includes information on grant-funded projects, the history of PyPI and packaging, and recommended books on software engineering.