Code Reviews, Polars, PSF Communication Manager, and More

#607 – DECEMBER 12, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Exploring Code Reviews in Python and Automating the Process
What goes into a code review in Python? Is there a difference in how a large organization practices code review compared to a smaller one? What do you do if you’re a solo developer? This week on the show, Brendan Maginnis and Nick Thapen from Sourcery return to talk about code review and automated code assistance.
REAL PYTHON podcast

Using Polars in a Pandas World
Pandas has far more third-party integrations than Polars. Learn how to use those libraries with Polars dataframes.
ITAMAR TURNER-TRAURING

Stay One Step Ahead: Zero-Day Vulnerabilities Playbook
Equip yourself with proactive planning tips to effectively prepare for any zero-day on the horizon with Snyk’s Zero-Day Vulnerabilities Playbook 📖. Follow along this guide and gain insights into the lifecycle of zero-days, recent attack trends 🚨, and the risks they pose →
SNYK.IOsponsor

Python Gets Its First Community Communications Manager
This article recaps an interview with Marie Nordin, the PSF’s first Community Communications Manager.
DAVID CASSEL

Python 3.12.1 Released
CPYTHON DEV BLOG

Django Bugfix Release: 4.2.8
DJANGO SOFTWARE FOUNDATION

An Open Letter to the Python Software Foundation
PYTHONAFRICA.BLOGSPOT.COM


Python Jobs


Senior Python Architect and Tech Lead
SIX FEET UP 📍 AMERICA

Software Engineer - Intern (Summer 2024)
CAUSEWAY CAPITAL MANAGEMENT 📍 DALLAS, TX, USA

More Python Jobs >>>


Articles & Tutorials


Single and Double Underscores in Python Names
In this tutorial, you’ll learn a few Python naming conventions involving single and double underscores (_). You’ll learn how to use this character to differentiate between public and non-public names in APIs, write safe classes for subclassing purposes, avoid name clashes, and more.
REAL PYTHON

After-Hours Work and Decreased Productivity
Slack has done studies on its employee’s productivity and found that those who log off at the end of the workday have 20% higher productivity scores than those who don’t. This article details the findings. Associated HN discussion.
SLACK

The New Developer Nation Survey is Live
Join forces with thousands of Devs worldwide! Take part in the Developer Nation Survey and influence the future of the developer ecosystem. Every respondent will get a virtual goodie bag packed with free resources and the chance to win amazing prizes →
SLASHDATA LTDsponsor

How to Deploy a Python Flask App With Heroku
This tutorial shows you how to build a simple Flask app that is primed and ready to deploy to Heroku. Once the bare bones are built, it guides you through the setup process on GitHub and Heroku so that you can start making automatic deploys in no time.
DANIEL EASTERMAN • Shared by AppSignal

Safer, Not Later
This opinion piece by Glyph talks about the “move fast and break things” mentality expounded by Silicon Valley. He discusses the history, why we got there, and how “safer, not later” might be better.
GLYPH LEFKOWITZ

How Google Takes the Pain Out of Code Reviews
Google’s internal code review tool “Critique” includes AI-powered improvements, and has 97% dev satisfaction. This article attempts to discuss why as well as pointing to Google’s OSS equivalent.
EINGEER'S CODEX

Building Predictive Models: Logistic Regression in Python
Want to learn how to build predictive models using logistic regression? This tutorial covers logistic regression in depth with theory, math, and code to help you build better models.
BALA PRIYA C • Shared by Bala Priya C

Debugging CSRF Failed Errors in Django
The most likely cause of a 403 Forbidden error in Django is falling foul of the CSRF protection. This article explains how to debug this problem and what you need to do to fix it.
TIM SCHILLING

The Fanout Pattern Explained
The fanout pattern is one where a single task replaces itself with a variable number of other tasks. This article covers how that happens in Celery and what that entails.
TIM SCHILLING

Building a Small REPL in Python
Learn how to write your own REPL by building on top of the one that comes with Python. With a few lines of code you can customize Python’s REPL environment as your own.
MAX BERNSTEIN

Don’t Mock Python’s HTTPX
HTTPX is a popular alternative to the requests library. James writes how using mock to test it can be problematic, and suggests an alternative approach.
JAMES BENNETT

Learn How to Build an AI Agent Using Reinforcement Learning
AI-curious? Join us on Wed, Dec 13, at 6:30pm PST for a unique chance to learn how to build an AI Agent. Sr Research Scientist Randy Cogill will give a demo of using Reinforcement Learning to train an agent on Gymnasium (OpenAI Gym). Sign up now!
INTERVIEW KICKSTARTsponsor

What Is *args and How Do You Use It?
This article explains what *args means in Python and how to use it in your own functions.
RODRIGO GIRÃO SERRÃO

Security Developer-in-Residence Year End Report
A summary of the activities of the PSF’s Security Developer-in-Residence over 2023.
SETH LARSON


Projects & Code


Brought to you by Real Python for Teamssponsor
Online Python training created by a community of experts. Give your team the real-world Python skills they need to succeed →

subtitle: Subtitle Generation for Seamless Content Translation
GITHUB.COM/INNOVATORVED

flask-muck: RESTful APIs Using Flask and SqlAlchemy
GITHUB.COM/DTIESLING

invenv: Python in Automatically Created Virtual Environments
GITHUB.COM/JSNJACK • Shared by Yauhen Shulitski

PyNest: FastAPI Framework Like NestJS
GITHUB.COM/PYTHONNEST

Google-Colab-Selenium: Selenium in Colab Notebooks!
GITHUB.COM/JPJACOBPADILLA

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
December 13, 2023

PyCon Thailand 2023
December 15 to December 17, 2023

Python Atlanta
December 15, 2023

Chattanooga Python User Group
December 15 to December 16, 2023

FlaskCon 2023
December 16 to December 18, 2023
Happy Pythoning!
Copyright © 2023 PyCoder’s Weekly, All rights reserved.
You are receiving this email because you opted in on our website at pycoders.com
Our mailing address: DevCademy Media Inc. · #720-999 West Broadway, Vancouver BC V5Z 1K5, Canada

Unsubscribe | Update Email Address

Older messages

Advent of Code, Thread Pools, Jupyter AI, and More

Tuesday, December 5, 2023

Advent of Code: Solving Puzzles With Python #606 – DECEMBER 5, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Advent of Code: Solving Puzzles With Python Advent of Code is an online advent calendar

Inline Dependencies, Conway's Game of Life, Bug Categories, and More

Tuesday, November 28, 2023

Inline Dependencies for Small Python Scripts #605 – NOVEMBER 28, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Inline Dependencies for Small Python Scripts Sabs wanted the ability to specify

Learning Python in the Age of AI, Cores Dev Using Typing, Creating A Debugger, and More

Tuesday, November 21, 2023

Learning Python During an AI Revolution #604 – NOVEMBER 21, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Learning Python During an AI Revolution Has the current growth of artificial intelligence

SciPy Builds, Packaging Tools, Document with ChatGPT, and More

Tuesday, November 14, 2023

SciPy Builds on Windows Are a Minor Miracle #603 – NOVEMBER 14, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo SciPy Builds on Windows Are a Minor Miracle Moving SciPy to Meson meant finding a

Porting from setup.py, Hangman, Timestamp Performance, and More

Tuesday, November 7, 2023

My User Experience Porting Off `setup.py` #602 – NOVEMBER 7, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo My User Experience Porting Off setup.py It is no secret that packaging in Python is

You Might Also Like

Charted | Countries That Became More Happy (or Unhappy) Since 2010 😅

Saturday, April 27, 2024

Which countries had the highest happiness gains since 2010? Which became sadder? View Online | Subscribe Presented by Voronoi: The App Where Data Tells the Story FEATURED STORY Countries With the

Noonification: What Is E-Waste Hacking?

Saturday, April 27, 2024

Top Tech Content sent at Noon! The first AI-powered startup unlocking the “billionaire economy” for your benefit How are you, @newsletterest1? 🪐 What's happening in tech this week: The

TikTok faces a ban in the US, Tesla profits drop and healthcare data leaks

Saturday, April 27, 2024

Plus: Amazon's new delivery subscription and a deep dive on Rippling View this email online in your browser By Kyle Wiggers Saturday, April 27, 2024 Image Credits: TechCrunch Welcome, folks, to

🐍 New Python tutorials on Real Python

Saturday, April 27, 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: Write Unit Tests for Your Python Code With

Bogus npm Packages Used to Trick Software Developers into Installing Malware

Saturday, April 27, 2024

THN Daily Updates Newsletter cover Webinar -- Uncovering Contemporary DDoS Attack Tactics -- and How to Fight Back Stop DDoS Attacks Before They Stop Your Business... and Make You Headline News.

This Smart Scale for iPhone Is the Best on the Market

Saturday, April 27, 2024

The ultimate checkup, with electrocardiogram.¹ Learn about your body at every weigh-in: pinpoint muscle and fat mass, monitor your cardiovascular health and detect a cardiac anomaly. Body Scan, the

How are you liking the Tip of the Day?

Saturday, April 27, 2024

Dear iPhone Life Reader, Now that you've been enjoying Tip of the Day for a few weeks, we have a quick favor to ask: If you've found the daily emails helpful, please share this link with a

📧 Request Response Messaging Pattern With MassTransit

Saturday, April 27, 2024

​ Request Response Messaging Pattern With MassTransit Read on: m​y website / Read time: 5 minutes BROUGHT TO YOU BY ​ Get ready for POST/CON 24! ​ Join us in San Francisco from April 30 - May 1 for

Tesla Autopilot investigation closed

Friday, April 26, 2024

Inside the IBM-HashiCorp deal and Thoma Bravo takes another company private View this email online in your browser By Christine Hall Friday, April 26, 2024 Good afternoon, and welcome to TechCrunch PM.

Microsoft's and Google's bet on AI is paying off - Weekly News Roundup - Issue #464

Friday, April 26, 2024

Plus: AI-controlled F-16 has been dogfighting with humans; Grok-1.5 Vision; BionicBee; Microsoft's AI generates realistic deepfakes from a single photo; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏