Python Weekly - Python Weekly - Issue 622

View this email in your browser

Python Weekly

Welcome to issue 622 of Python Weekly. Let's get straight to the links this week.
News

FlaskCon 2023 Call For Proposals is Open
Submit your talk proposal by October 31, 2023.


Articles, Tutorials and Talks

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.

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.

Everything about Distributed Training and Efficient Finetuning
A deep dive into distributed training and efficient finetuning - DeepSpeed ZeRO, FSDP, practical guidelines and gotchas with multi-GPU and multi-node training.

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.

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.

The beginning of my eBPF Journey - Kprobe Adventures with BCC
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.

Setting Up a (Free*) Collaborative Python Development Environment for a Small Team
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.

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.

Building a Japanese Kanji Flashcard App using GPT-4, Python and Langchain
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.

Addressing the Challenges of Sample Ratio Mismatch in A/B Testing
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. 

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.

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


Interesting Projects, Tools and Libraries

MemGPT
Teaching LLMs memory management for unbounded context.

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

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.

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

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

OpenAgents
An Open Platform for Language Agents in the Wild.

Llemma
An open language model for mathematics.


New Releases

Python 3.13.0 alpha 1


Upcoming Events and Webinars

BAyPIGgies Meetup October 2023
There will be following talks
  • Python, Accessibility, and Ensuring the DOM is Accessible (domible)
  • WebAssembly, Determinstic Execution, and how to implement undo

Virtual: PyLadies Amsterdam October 2023
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.

Python Glasgow Meetup October 2023
There will be following talks
  • Python-Powered Intelligence: Exploring AI and ML Applications
  • Scaling Python machine learning workloads in the LLM era

PyData Lancaster Meetup October 2023
There will be following talks
  • Peeking Inside the Black Box: Making AI Models More Interpretable
  • Why you should not rely solely on summary statistics

Hybrid: PyData Chicago Meetup October 2023
There will be a talk, FuzzyData: A Scalable Workload Generator for Testing Dataframe Workflow Systems.
Our Other Newsletters
Programmer Weekly - A free weekly newsletter for programmers.

Founder Weekly - A free weekly newsletter for entrepreneurs featuring best curated content, must read articles, how to guides, tips and tricks, resources, events and more.
 
Copyright © 2023 Python Weekly, All rights reserved.
You are receiving our weekly newsletter because you signed up at http://www.PythonWeekly.com.

Our mailing address is:
Python Weekly
Brooklyn
Brooklyn, NY 11209

Add us to your address book


Want to change how you receive these emails?
You can update your preferences or unsubscribe from this list.

Older messages

Python Weekly - Issue 620

Thursday, October 5, 2023

View this email in your browser Python Weekly Welcome to issue 620 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly

Python Weekly - Issue 619

Thursday, September 28, 2023

View this email in your browser Python Weekly Welcome to issue 619 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Mojo Programming Language – Full Course

Python Weekly - Issue 618

Thursday, September 21, 2023

View this email in your browser Python Weekly Welcome to issue 618 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly

Python Weekly - Issue 617

Sunday, September 17, 2023

View this email in your browser Python Weekly Welcome to issue 617 of Python Weekly. Let's get straight to the links this week. Articles, Tutorials and Talks Vector Embeddings Tutorial – Create an

Python Weekly - Issue 616

Thursday, September 7, 2023

View this email in your browser Python Weekly Welcome to issue 616 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly

You Might Also Like

OpenAI proposes a new corporate structure - Sync #500

Sunday, January 5, 2025

Plus: Nvidia's next move; the state of AI hardware startups; "AI factories" for war; BYD enters humanoid robot race; ChatGPT Search vs. Google Search; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

🔋 You Need a Super-Fast USB Car Charger — First-Party vs. Third-Party Cookies

Sunday, January 5, 2025

Also: How I Use Shortcuts and Apple Numbers to Track My Time How-To Geek Logo January 5, 2025 Did You Know Theodore Roosevelt was the first US President to ride in an automobile while in office.

RD#487 Instance Hook Pattern

Sunday, January 5, 2025

co-located logic and controlled API ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

PD#607 Systems Ideas that Sound Good But Almost Never Work

Sunday, January 5, 2025

"let's just..." scenarios ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏

Android Weekly #656 🤖

Sunday, January 5, 2025

View in web browser 656 January 5th, 2025 Articles & Tutorials Sponsored Sick of your mobile apps crashing? Simon Grimm will show you how to fix them with less guesswork. Join Sentry's workshop

Daily Coding Problem: Problem #1659 [Easy]

Sunday, January 5, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by WhatsApp. Given an array of integers out of order, determine the bounds of the smallest

C#538 Unit Testing Clean Architecture Use Cases

Sunday, January 5, 2025

Battle-tested approach to unit testing ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Sunday Digest | Featuring 'The World’s 10 Largest Companies by Revenue' 📊

Sunday, January 5, 2025

Every visualization published this week, in one place. Jan 5, 2025 | View Online | Subscribe | VC+ | Download Our App Hello, welcome to your Sunday Digest. This week, we visualized the income needed to

Kotlin Weekly #440

Sunday, January 5, 2025

ISSUE #440 5th of January 2025 Articles Reverse-Engineering the Compose Compiler Plugin: Intercepting the Frontend Amanda Hinchman examines how the Jetpack Compose compiler transforms annotated

The Reasoning Race: Can Small Models Reason?

Sunday, January 5, 2025

And Some Major Changes in The Sequence you shuld read about. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏