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

Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator

Friday, February 14, 2025

What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Defining Your Paranoia Level: Navigating Change Without the Overkill

Friday, February 14, 2025

We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy

5 ways AI can help with taxes 🪄

Friday, February 14, 2025

Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help

Recurring Automations + Secret Updates

Friday, February 14, 2025

Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

The First Provable AI-Proof Game: Introducing Butterfly Wings 4

Friday, February 14, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%

GCP Newsletter #437

Friday, February 14, 2025

Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers

Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰

Friday, February 14, 2025

Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from

The Great Social Media Diaspora & Tapestry is here

Friday, February 14, 2025

Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great

Daily Coding Problem: Problem #1689 [Medium]

Friday, February 14, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,

📧 Stop Conflating CQRS and MediatR

Friday, February 14, 2025

​ Stop Conflating CQRS and MediatR Read on: m​y website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your