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

Software Testing Weekly - Issue 220

Saturday, May 18, 2024

Software Testing Conferences 📚 View on the Web Archives ISSUE 220 May 18th 2024 COMMENT Welcome to the 220th issue! Have you ever been to a testing conference? They're a great way to learn about

📶 Is a Cellular iPad Worth It? — How to Prevent YouTube From Taking Over Your Screensaver

Saturday, May 18, 2024

Also: This Robot Vacuum Can Clean Stairs, and More! How-To Geek Logo May 18, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your inbox by

Weekend Reading — Objection-oriented programming

Saturday, May 18, 2024

This week we find a power-up box, replace GitHub Actions with Maven XMLs, avoid the worst website in the world, revisit RTO policies, “listen” to OpenAI employees, watch our Slack private messages, do

Daily Coding Problem: Problem #1445 [Easy]

Saturday, May 18, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Jane Street. The United States uses the imperial system of weights and measures, which

You don’t have to take our word for it…

Saturday, May 18, 2024

You can probably tell how excited we are to re-launch our Gigantic courses – which bring on-demand product management training for today's modern Product Managers and Product Leaders. In fact, we

🐍 New Python tutorials on Real Python

Saturday, May 18, 2024

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: What Is the __pycache__ Folder in Python? In

Visualized | Life Expectancy by Region (1950-2050F) 📊

Saturday, May 18, 2024

This map shows life expectancy at birth for key global regions, from 1950 to 2050F. View Online | Subscribe Presented by Voronoi: The App Where Data Tells the Story FEATURED STORY Life Expectancy by

New Wi-Fi Vulnerability Enables Network Eavesdropping via Downgrade Attacks

Saturday, May 18, 2024

THN Daily Updates Newsletter cover The DevSecOps Playbook: Deliver Continuous Security at Speed ($19.00 Value) FREE for a Limited Time A must-read guide to a new and rapidly growing field in

🐍 New Python tutorials on Real Python

Saturday, May 18, 2024

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: What Is the __pycache__ Folder in Python? In

Toward 'local' AI w/ Apple's new chip

Saturday, May 18, 2024

faster than the cloud ☁️ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌