Python Updates: Tools, Performance, and Search Privacy

·37m 24s
Shared point

Overview of Tools and Code Improvement

This episode focuses on practical tools for managing and modernizing Python codebases. Key discussions include:

Factory: A tool created by Will McCoogan that generates automated FAQ markdown pages for projects, featuring useful integration with GitHub Actions to suggest answers based on existing issues.
Code Maintenance Tools: An exploration of various utilities for refactoring and code quality, including Black, iSort, and libcst. The hosts discussed the importance of modernizing code with tools like PyUpgrade and Flint.
Type Hinting: Encouragement to use tools like monkeytype to automatically add type hints based on instrumentation of test suites.

Web Performance and Infrastructure

The hosts dove into high-performance web development and privacy-centric server solutions:

Socketify.py: A new framework designed for CPython and PyPy that achieves exceptional performance benchmarks. It offers ASGI support, WebSockets, and granular control over back-pressure.
Privacy-Focused Browsing: A detailed report on Kagi, a paid, ad-free search engine. It is highlighted for its user-privacy protections and features like blocking specific domains or tracking-heavy websites.
Infrastructure & Privacy: A look at moving away from big-tech ecosystems by utilizing Proton for email management and substituting Google Fonts with Bunny Fonts to avoid GDPR issues and tracking.

"Some things are on the neutral good side, but there is also that sneaky behind-the-scenes thing... we won't talk about it."

Community and Experiments

Python 3.11 Adoption: The hosts shared success stories regarding migrating production environments to the latest stable versions of Python.
Build Versus Buy: A reflection on the value of sometimes building internal tooling instead of relying on external services, noting that custom solutions can lead to better integration and automation.
Humorous AI: The episode concluded with a demonstration of ChatGPT explaining bubble sort algorithms in the persona of a 1940s gangster.

Topics

Chapters

8 chapters
Python Bytes
AI chat — answers grounded in episodes