1140
News & links about Python programming. https://pythonhub.dev/ Administrator: @rukeba
Python Hub Weekly Digest for 2023-10-29
https://pythonhub.dev/digest/2023-10-29/
Progress on No-GIL CPython
https://lwn.net/Articles/947138/
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.
https://www.honeybadger.io/blog/options-for-passwordless-authentication-in-django/
When should you upgrade to Python 3.12?
Python 3.12 is out now–but should you switch to it immediately?
And if you ...
https://pythonspeed.com/articles/upgrade-python-3.12/
Rip – Rust crate to resolve and install Python packages
https://prefix.dev/blog/introducing_rip
SolidGPT
Chat with your code repository to get Generate Product Requirement Document and Code Plan base on private project.
https://github.com/AI-Citizen/SolidGPT
Llemma
An open language model for mathematics.
https://github.com/EleutherAI/math-lm
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.
https://www.youtube.com/watch?v=rK02eXm3mfI
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.
https://semaphoreci.com/blog/custom-middleware-fastapi
I'm banned for life from advertising on Meta. Because I teach Python.
https://lerner.co.il/2023/10/19/im-banned-for-life-from-advertising-on-meta-because-i-teach-python/
Django Day Copenhagen 2023 Videos
The videos of the talks from the fourth edition of Django Day Copenhagen are now available.
https://www.youtube.com/playlist?list=PLEpW1LzVyQWgtT_i_IlUmx2FSP2jHcroX
OpenAgents
An Open Platform for Language Agents in the Wild.
https://github.com/xlang-ai/OpenAgents
Are you using types in Python ?
https://www.reddit.com/r/Python/comments/17dpmll/are_you_using_types_in_python/
Why can't python develop another version of python that is "compiled" instead of interpreted which is similar to c/c++ but the syntax still look like python syntax.
https://www.reddit.com/r/learnpython/comments/1791tnm/why_cant_python_develop_another_version_of_python/
Interesting developers to follow?
https://www.reddit.com/r/Python/comments/174bfdt/interesting_developers_to_follow/
What's New in Python 3.12
https://docs.python.org/3/whatsnew/3.12.html
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.
https://andrewwegner.com/python-gotcha-comparisons.html
queryish
A library for constructing queries on arbitrary data sources following Django's QuerySet API.
https://github.com/wagtail/queryish
stable-audio-tools
Generative models for conditional audio generation.
https://github.com/Stability-AI/stable-audio-tools
MemGPT
Teaching LLMs memory management for unbounded context.
https://github.com/cpacker/MemGPT
ZenNotes
Windows Notepad Replacement with Translation, TTS, and much more!
https://github.com/rohankishore/ZenNotes
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.
https://www.youtube.com/watch?v=vzTrLpxPF54
Show HN: Pypipe – A Python command-line tool for pipeline processing
https://github.com/bugen/pypipe
Python 3.13.0 alpha 1
https://pythoninsider.blogspot.com/2023/10/python-3130-alpha-1-is-now-available.html
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.
https://en.lewoniewski.info/2023/python-3-11-vs-python-3-12-performance-testing/
So, what is your favorite new feature in Python 3.12?
https://www.reddit.com/r/Python/comments/17a00xf/so_what_is_your_favorite_new_feature_in_python_312/
ExecuTorch
End-to-end solution for enabling on-device AI across mobile and edge devices for PyTorch models.
https://github.com/pytorch/executorch
Python Hub Weekly Digest for 2023-10-22
https://pythonhub.dev/digest/2023-10-22/
LLM-scientific-feedback
Can large language models provide useful feedback on research papers? A large-scale empirical analysis.
https://github.com/Weixin-Liang/LLM-scientific-feedback
RealtimeSTT
A robust, efficient, low-latency speech-to-text library with advanced voice activity detection, wake word activation and instant transcription. Designed for real-time applications like voice assistants.
https://github.com/KoljaB/RealtimeSTT