- Python Weekly
- Posts
- Python Weekly (Issue 622 October 19 2023)
Python Weekly (Issue 622 October 19 2023)
Python Weekly - Issue 622
Python Weekly
Welcome to issue 622 of Python Weekly. Let's get straight to the links this week.
News
Submit your talk proposal by October 31, 2023.
Articles, Tutorials and Talks
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.
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.
A deep dive into distributed training and efficient finetuning - DeepSpeed ZeRO, FSDP, practical guidelines and gotchas with multi-GPU and multi-node training.
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.
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.
In this post, the author shares their journey of learning Extended Berkeley Packet Filter (eBPF). They start by explaining what eBPF is and why it is useful. They then describe how to use eBPF to trace kernel functions with the help of kprobe and BPF Compiler Collection (BCC). Finally, they share some of the resources that they found helpful in learning eBPF.
The author describes how to set up a collaborative Python development environment using GitPod, Github, and Jupyter Notebook. The author also explains the benefits of containerization and provides a step-by-step guide on how to use GitPod, Github, and Jupyter Notebook to set up a collaborative Python development environment.
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.
GPT-4 is changing the game in app development, especially when it comes to handling data. Our Japanese Flashcard App shows just how handy GPT-4 can be. Instead of manually gathering data, developers can use GPT-4 to quickly get the info they need. This not only speeds up the building process but ensures the app is filled with useful content. With tools like GPT-4, creating data-rich apps has never been easier or more efficient.
This is an article about addressing the challenges of sample ratio mismatch in A/B testing. It discusses what sample ratio mismatch is and why it is a problem. It also details some of the ways DoorDash has reduced sample ratio mismatch at their company.
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.
The videos of the talks from the fourth edition of Django Day Copenhagen are now available.
Interesting Projects, Tools and Libraries
Teaching LLMs memory management for unbounded context.
Chat with your code repository to get Generate Product Requirement Document and Code Plan base on private project.
Windows Notepad Replacement with Translation, TTS, and much more!
A library for constructing queries on arbitrary data sources following Django's QuerySet API.
Generative models for conditional audio generation.
End-to-end solution for enabling on-device AI across mobile and edge devices for PyTorch models.
An Open Platform for Language Agents in the Wild.
An open language model for mathematics.
New Releases
Upcoming Events and Webinars
There will be following talks
Python, Accessibility, and Ensuring the DOM is Accessible (domible)
WebAssembly, Determinstic Execution, and how to implement undo
In this workshop, you will learn the basics of geospatial data theory, covering raster, vector, and related concepts. You will also be introduced to Python libraries for geospatial data and gain hands-on experience working with satellite imagery through a Jupyter notebook exercise.
There will be following talks
Python-Powered Intelligence: Exploring AI and ML Applications
Scaling Python machine learning workloads in the LLM era
There will be following talks
Peeking Inside the Black Box: Making AI Models More Interpretable
Why you should not rely solely on summary statistics
There will be a talk, FuzzyData: A Scalable Workload Generator for Testing Dataframe Workflow Systems.
Our Other Newsletters
- A free weekly newsletter for programmers.
- A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.