Microsoft Acquires GitHub, REST APIs, and Python Tools

·25m 55s
Shared point

REST API Development with Flask and Swagger

The episode highlights Doug Farrell’s article on building and documenting REST APIs using Flask and Connection. The core takeaway is how developers can leverage Swagger (an OpenAPI specification) to automatically create interactive user interfaces, making documentation seamless.

Connection allows developers to map YAML definitions directly to Flask endpoints, significantly reducing boilerplate.
• The tutorial includes a demo application that connects a JavaScript frontend to the backend API, providing a complete, practical example.

Type Checking and Syntax Upgrades

MyPy and PyCharm Integration

Static type checking remains a key topic with the introduction of a new MyPy plugin for PyCharm. This allows developers to run strict type checks with simple hotkeys.

Automatic Code Upgrading

Brian introduces PyUpgrade, an essential tool for maintaining modern Python codebases.

"Instead of just making it run on Python 3, PyUpgrade is designed to help you embrace Python 3 features."

• It automatically converts code syntax to newer standards, such as f-strings and updated set literals.
• It integrates well as a pre-commit hook to maintain code quality.

Also mentioned is BlackenedDocs, which ensures code snippets within Markdown and reStructuredText files are formatted using the Black formatter.

The Python 3 Adoption Initiative

Projects like Python3Statement.org are gaining traction as communities move to drop support for legacy Python (Python 2).

• Reducing support for older versions lowers maintenance friction for project maintainers.
• Many high-profile data science projects are already pledging to remove support, leading to leaner, more maintainable codebases.

Special Report: Microsoft Acquires GitHub

The hosts discuss the major industry shift regarding Microsoft’s $7.5 billion acquisition of GitHub. While the announcement initially sparked concerns, the conversation shifts to a cautiously optimistic outlook.

Strategic Rationale: GitHub faced financial pressures from its venture capital funding, making an acquisition by a major enterprise provider a logical outcome.
The Microsoft Shift: Under its current leadership, Microsoft’s focus on the cloud (Azure) and open-source synergy (like VS Code) suggests the acquisition may provide GitHub with necessary stability and resources.
Future Outlook: The consensus is that GitHub will likely remain independent in its operations while benefitting from deep integration into the broader Microsoft developer ecosystem.

Topics

Chapters

6 chapters
Python Bytes
AI chat — answers grounded in episodes