Topics covered include making code concise and readable, parsing HTML and extracting RSS feeds, a comprehensive guide to Python logging, GitHub releases and Python community events. The hosts also share a joke.
The importance of writing simple and elegant Python code
Introduction of the 'stamina' package as a wrapper for 'tenacity' for handling retries
Announcement of Python 3.12 RC1 and upcoming conferences in the Python community
Bob Belderbose's advice on using coding techniques like 'all' keyword and 'get' function for dictionary lookups
Deep dives
Summary of the podcast episode
The podcast episode discusses various Python-related topics, including the importance of writing simple and elegant code, the introduction of the 'stamina' package as an opinionated wrapper around 'tenacity', and the announcement of Python 3.12 RC1. The hosts also mention upcoming conferences like Python UK 2023, PyData Amsterdam, and PyData Seattle. Additionally, they share a couple of jokes related to libraries and GitHub failures. Lastly, they highlight the release of the fixtures chapter for the PyTest course.
Bob Belderbose's advice on writing elegant code
Bob Belderbose emphasizes the importance of keeping Python code simple and readable. He provides examples of using the 'all' keyword and the 'get' function for dictionary lookups as ways to write more elegant and concise code. He also mentions other techniques such as using list comprehensions and using counters to count the frequency of words in a text.
Introduction of the 'stamina' package
The hosts introduce the 'stamina' package as an opinionated wrapper around 'tenacity'. 'Stamina' simplifies working with 'tenacity', providing ergonomic defaults and minimizing the potential for errors. They highlight features such as retrying only on specific exceptions, exponential back-off with jitter, limiting total retries and time, and preserving type hints when using 'stamina'. They recommend developers to try out 'stamina' for handling retries in asynchronous Python code.
Announcement of Python 3.12 RC1 and upcoming conferences
The hosts mention the release of Python 3.12 RC1, encouraging developers to explore its new features. They also share information about upcoming conferences, including Python UK 2023, PyData Amsterdam, and PyData Seattle. They invite listeners to participate in these events and highlight their significance in the Python community.
Miscellaneous extras
The hosts provide miscellaneous extras, including a query about adding GitHub releases to a project, the announcement of the fixtures chapter for the PyTest course, and the mention of a GitHub repository documenting failures of chat GPT, a language model.
Python 3.12 RC1 release and conferences
Python 3.12 RC1 is announced, inviting developers to explore its new features. The hosts also mention upcoming conferences like Python UK 2023 and PyData Seattle. They encourage listeners to participate in these events, highlighting their significance within the Python community.
Introduction of 'stamina' package and elegant coding advice
The episode introduces the 'stamina' package as an opinionated wrapper around 'tenacity', simplifying the usage of retries in Python code. The hosts also highlight Bob Belderbose's advice on writing elegant code, showcasing techniques such as using the 'all' keyword and the 'get' function for dictionary lookups. Additionally, they mention other coding techniques, such as list comprehensions and counters. Lastly, they mention the release of Python 3.12 RC1 and share details about upcoming conferences like Python UK 2023 and PyData Seattle.