Python Engineering, Mars Rovers and Data Tools
Overview of Latest Python Developments and Tools
This episode of Python Bytes covers a variety of exciting updates and tools in the Python ecosystem, ranging from engineering applications to web tracking privacy, with a special guest appearance by engineering instructor Peter Kazarnoff.
Key Software and Tools
• Comcode.io: A collection of tutorial videos focused on software engineering topics. The hosts highlight how quickly you can explore data using tools like Dataset to visualize information in a SQLite database.
• NATSort: A library for natural sorting in Python. Unlike standard lexicographical sorting, NATSort handles version numbers, file paths, and mixed strings more intuitively, as humans would expect.
• FastNumbers: A performance-focused library designed for parsing strings into numbers faster than standard Python functions, offering useful handling for errors and default values.
• Jupyter Book: A tool for creating professional, static websites from Jupyter Notebooks and Markdown. It is highly valued for educational purposes, enabling free, interactive textbooks that can be hosted on GitHub Pages.
Python in Space and Community Concerns
Python on Mars
"It's just super, super neat that Python's being used as part of the Mars mission."
A significant highlight is the use of Python in the NASA Ingenuity Mars helicopter. The flight control software, F prime, relies on Python and open-source contributions. Many developers who contributed to related projects (like PyTest and others) received commemorative GitHub badges.
PEP 563 and Type Annotations
There was considerable community anxiety regarding the impact of PEP 563 (Postponed Evaluation of Annotations) on major frameworks like FastAPI and Pydantic in Python 3.10. The hosts emphasize that:
• The Python Steering Council is aware of the issue and is coordinating with maintainers.
• Users should not panic, as a resolution is being actively developed, with potential pushes to Python 3.11 for broader changes.
Web Privacy and Developer Culture
Browsing Privacy
Michael discusses the importance of privacy-conscious browsing and criticizes Google's FLoC (Federated Learning of Cohorts) as an invasive method of ad tracking. He recommends using tools like VPNs and focusing on trackers removal, as seen on the Python Bytes website itself, which boasts a perfect privacy shield score.
Humor in Code
As is tradition, the show concludes with a selection of hilarious, real-world code comments that programmers have left, highlighting the humor and frustrations often found in software development.