PythonHub Logo Python Hub Weekly Digest for 2023-10-29

Cover by unsplash.com

💖 Most Popular

I'm banned for life from advertising on Meta. Because I teach Python.

Python Gotcha: Comparisons
Comparing two numerical variables in Python can have surprising results if you aren't aware of some common gotchas. This post covers a couple of the common ones.

Options for passwordless authentication in Django apps
Passwordless authentication is gaining popularity as a secure and user-friendly alternative to traditional password-based authentication in Django applications. In this article, we will delve into three passwordless authentication methods: email-based authentication, authentication with OAuth, and authentication with magic links.

Practical AI: HuggingFace Transformers and Diffusers for Beginners
This presentation provides a straightforward overview of the HuggingFace Transformers and Diffusers libraries. Aimed at those without a deep understanding of AI or ML, we’ll focus on practical, hands-on applications. We conclude by setting up a Flask app that generates AI images, demonstrating how these tools can be used to create useful applications.

Llemma
An open language model for mathematics.


📖 Articles

What's New in Python 3.12

Do Functions Make Design Patterns Obsolete?
In this video, we will demonstrate that functions do not render design patterns obsolete in Python. The developer community has been engaged in extensive discussions on this topic. To illustrate this perspective, we will examine several common design patterns and present an alternative approach using functions.

Python Hub Weekly Digest for 2023-10-22

Show HN: Pypipe – A Python command-line tool for pipeline processing

When should you upgrade to Python 3.12?
Python 3.12 is out now–but should you switch to it immediately? And if you ...

Building Custom Middleware in FastAPI
In this article you’ll see how to build custom middleware, enabling you to extend the functionality of your APIs in unique ways by building function-based and class-based middleware to modify request and response objects to suit your need and to handle rate limiting. You’ll also see how to write test cases and the best practices to follow.

Python 3.11 vs Python 3.12 – performance testing
This article describes the performance testing results of Python 3.12 compared to Python 3.11. A total of 91 various benchmark tests were conducted on computers with the AMD Ryzen 7000 series and the 13th-generation of Intel Core processors for desktops, laptops or mini PCs.

Django Day Copenhagen 2023 Videos
The videos of the talks from the fourth edition of Django Day Copenhagen are now available.

Progress on No-GIL CPython

Python 3.13.0 alpha 1

Rip – Rust crate to resolve and install Python packages


⚙️ Projects

SolidGPT
Chat with your code repository to get Generate Product Requirement Document and Code Plan base on private project.

ExecuTorch
End-to-end solution for enabling on-device AI across mobile and edge devices for PyTorch models.

stable-audio-tools
Generative models for conditional audio generation.

ZenNotes
Windows Notepad Replacement with Translation, TTS, and much more!

queryish
A library for constructing queries on arbitrary data sources following Django's QuerySet API.

OpenAgents
An Open Platform for Language Agents in the Wild.

MemGPT
Teaching LLMs memory management for unbounded context.


👾 Reddits

So, what is your favorite new feature in Python 3.12?

Are you using types in Python ?


← Previous Next →

Project by Ruslan Keba. Since 2012. Powered by Python. Made in 🇺🇦Ukraine.