PythonHub
2.31K subscribers
2.35K photos
48.9K links
News & links about Python programming.
https://pythonhub.dev/
Download Telegram
Using JWTs in Python Flask REST Framework

This post provides a comprehensive guide to implementing JWT-based authentication in a Flask API. It covers setting up the Flask environment, creating a to-do list API, managing user sessions with token refresh, and adding role-based permissions.

https://blog.appsignal.com/2025/04/30/using-jwts-in-python-flask-rest-framework.html
GoogleCloudPlatform / agent-starter-pack

A collection of production-ready Generative AI Agent templates built for Google Cloud. It accelerates development by providing a holistic, production-ready solution, addressing common challenges (Deployment & Operations, Evaluation, Customization, Observability) in building and deploying GenAI agents.

https://github.com/GoogleCloudPlatform/agent-starter-pack
Using Python to Automate 3D Workflows with OpenUSD

The post explains how Python’s scripting capabilities can automate and streamline 3D workflows using OpenUSD, making tasks like data transformation, validation, and scene creation more accessible and efficient. It highlights NVIDIA’s tools, SDKs, and learning resources that empower developers to build, validate, and optimize complex 3D scenes with Python in the OpenUSD ecosystem.

https://developer.nvidia.com/blog/using-python-to-automate-3d-workflows-with-openusd/
djobs.dev

Asyncio Demystified: Rebuilding it From Scratch One Yield at a Time

https://djobs.dev
Enhancing the Python ecosystem with type checking and free threading

Meta describes its efforts to enhance the Python ecosystem by advancing type checking and introducing free-threading capabilities, aiming to improve code reliability and performance at scale. The post highlights the technical challenges, solutions, and community collaboration involved in making Python more robust and concurrent for large-scale applications.

https://engineering.fb.com/2025/05/05/developer-tools/enhancing-the-python-ecosystem-with-type-checking-and-free-threading
Python type hints: mixin classes

The article explains how to properly add Python type hints to mixin classes, addressing common challenges with attributes that mixins assume exist in their base classes. It shows solutions using subclassing or protocols to satisfy type checkers like Mypy without compromising runtime behavior or type safety.

https://adamj.eu/tech/2025/05/01/python-type-hints-mixin-classes/