Maze Solvers, Conference Talks, Text Processing, and More

#571 – APRIL 4, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Build a Maze Solver in Python Using Graphs
In this step-by-step project, you’ll build a maze solver in Python using graph algorithms from the NetworkX library. Along the way, you’ll design a binary file format for the maze, represent it in an object-oriented way, and visualize the solution using scalable vector graphics (SVG).
REAL PYTHON

How to Make a Great Conference Talk
Sebastian has spoken at over 15 major Python conferences around the world. He also gave a workshop organized by the EuroPython conference for beginner speakers. Here, he shares lots of tips around topics related to speaking: from the CfP to the Q&A.
SEBASTIAN WITOWSKI • Shared by Reka

Analyze Your Python Code for Security Issues for Free
Semgrep is trusted by hundreds of thousands of developers at top companies, such as GitLab, Snowflake, Slack, and many more, to ensure the security of their code (SAST) and dependencies (SCA). Don’t believe us? Try it out for free and see for yourself →
SEMGREPsponsor

Speeding Up Text Processing in Python (Is Hard)
If you need to speed up string parsing and formatting in Python you have many choices. This article covers the uses of Cython, mypyc, Rust, and PyPy and how to choose between them.
ITAMAR TURNER-TRAURING

Django 4.2 Released
DJANGO SOFTWARE FOUNDATION

PEP 582 (Python Local Packages Directory) Rejected
PYTHON.ORG

Want to Host DjangoCon Europe 2024?
DJANGO SOFTWARE FOUNDATION


Discussions


PEP 204: Range Literals: Getting Closure
PYTHON.ORG


Articles & Tutorials


When Is Inplace in Pandas Faster?
Several methods for the Pandas DataFrame support an inplace argument. You can find quite contradicting advice around it online. Some describe it as “good practice”, the Pandas docs says “its use is discouraged”. This article explores when inplace might improve the performance indeed and when it’s better to avoid it.
REKA HORVATH • Shared by Reka

Django: Parameterized Tests for All Model Admin Classes
“When you declare a Django ModelAdmin class, the built-in system checks ensure that various attributes are well-defined, using the right data types and values. But they can’t cover everything, because there is so much flexibility.” This article shows you how to better test your ModelAdmin code.
ADAM JOHNSON

The Best Way to Structure Your NoSQL Data Using Python
Data modeling can be challenging. The question that most often comes up is, “How do I structure my data?” The short answer: it depends. That’s why the Redis folks wrote a comprehensive e-book that goes through 8 different optimal scenarios and shows how to model them in Redis →
REDIS LABSsponsor

How to Configure Auth0 in Starlette
This post looks at how to use Auth0 as an identity management provider in Starlette applications. Auth0 provides a secure and scalable way to manage sensitive user data. This article describes how you can integrate it into your Starlette-powered backend.
SIDDHANT GOEL • Shared by Siddhant Goel

ViperGPT: Visual Inference via Python Execution for Reasoning
ViperGPT is a framework that composes visual and language models into code that can be used to perform queries on images. The example shows an image of children with a pile of muffins and asks how many muffins each kid should get for it to be fair.
COLUMBIA.EDU

YAML: Python’s Missing Battery
In this video course, you’ll learn about working with YAML in Python. By the end of it, you’ll know about the available libraries, their strengths and weaknesses, and the advanced and potentially dangerous features of YAML.
REAL PYTHON course

The Modern Guide to OAuth
This guide covers OAuth 2.0 from a real-world perspective and covers modern use cases of the specifications. Written by the experts at FusionAuth who have built an OAuth server that has been downloaded over 10 million times.
FUSIONAUTHsponsor

Building and Distributing a macOS App Written in Python
If you’re writing for multiple platforms, Swift may not be your best choice. So how do you do Python applications on macOS? Read on for the latest update to this advice from Glyph.
GLYPH LEFKOWITZ

Rust in Anger: High-Performance Web Applications
This article covers how to quickly call Rust from Python, TypeScript, or Node.js. It includes a sample application to demonstrate how to use cross language bindings.
NICOLÁS HATCHER

How to Improve Performance in Git: The Complete Guide
Is your Git monorepo getting slower and slower? Have a look at all the performance improvements that you can make to speed up your Git repository.
BRUNO BRITO

A ‘No JS’ Solution for Dynamic Search in Django
This article demonstrates how to do dynamic search results in Django using the HTMX library instead of JavaScript embedded in your page.
KÁTIA NAKAMURA

Malicious Actors Use Unicode Support to Evade Detection
Phylum uncovers a threat actor taking advantage of how the Python interpreter handles Unicode to obfuscate their malware.
PHYLUM.IO


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 →

Dynamic Prompts: A Text-to Image Prompt Toolkit
GITHUB.COM/ADIEYAL • Shared by Adi Eyal

Python Bindings to Rust UUID
GITHUB.COM/AMINALAEE • Shared by A

A Python Web Framework for Building Web Apps
MADHU.INK • Shared by Madhukumar Seshadri

pair: REPL Environment for GPT Pair Programming
GITHUB.COM/JIGGY-AI

SunFounder Raspberry Pi Robot
SUNFOUNDER.COM

📆🐍 Upcoming Python Events


STL Python
April 5, 2023

Heidelberg Python Meetup
April 5, 2023

Weekly Real Python Office Hours Q&A (Virtual)
April 5, 2023

Canberra Python Meetup
April 6, 2023

Sydney Python User Group (SyPy)
April 6, 2023

PyCamp Spain 2023
April 7 to April 11, 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

Lessons Learned, Pydantic, ChatGPT Outage, and More

Tuesday, March 28, 2023

Lessons Learned From Four Years Programming With Python #570 – MARCH 28, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Lessons Learned From Four Years Programming With Python What are the core

Evaluating Packages, PyTorch 2.0, Lazy Recursion, and More

Tuesday, March 21, 2023

How to Evaluate the Quality of Python Packages #569 – MARCH 21, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo How to Evaluate the Quality of Python Packages Just like you shouldn't download

BeeWare, Asyncio Overhead, Python & Julia, and More

Tuesday, March 14, 2023

Sharing Your Python App Across Platforms With BeeWare #568 – MARCH 14, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Sharing Your Python App Across Platforms With BeeWare Are you interested in

Inlined Comprehensions PEP, Iterators, Pandas 2.0, and More

Tuesday, March 7, 2023

PEP 709: Inlined Comprehensions #567 – MARCH 7, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo PEP 709: Inlined Comprehensions Python Enhancement Proposal 709 covers a change to how comprehensions

NumPy for Speed, Multiprocessing Performance, XML to YAML, and More

Tuesday, February 28, 2023

Using NumPy and Linear Algebra for Faster Python Code #566 – FEBRUARY 28, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Using NumPy and Linear Algebra for Faster Python Code Are you still using

You Might Also Like

The Power of an Annual Review & Grammarly acquires Coda

Sunday, December 22, 2024

I am looking for my next role, Zen Browser got a fresh new look, Flipboard introduces Surf, Campsite shuts down, and a lot more in this week's issue of Creativerly. Creativerly The Power of an

Daily Coding Problem: Problem #1645 [Hard]

Sunday, December 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Implement regular expression matching with the following special characters: .

PD#606 How concurrecy works: A visual guide

Sunday, December 22, 2024

A programmer had a problem. "I'll solve it with threads!". has Now problems. two he ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

RD#486 (React) Things I Regret Not Knowing Earlier

Sunday, December 22, 2024

Keep coding, stay curious, and remember—you've got this ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

🎶 GIFs Are Neat, but I Want Clips With Sound — Your Own Linux Desktop in the Cloud

Sunday, December 22, 2024

Also: 9 Games That Were Truly Ahead of Their Time, and More! How-To Geek Logo December 22, 2024 Did You Know Dextrose is another name for glucose, so if you see it listed prominently on the ingredients

o3—the new state-of-the-art reasoning model - Sync #498

Sunday, December 22, 2024

Plus: Nvidia's new tiny AI supercomputer; Veo 2 and Imagen 3; Google and Microsoft release reasoning models; Waymo to begin testing in Tokyo; Apptronik partners with DeepMind; and more! ͏ ͏ ͏ ͏ ͏ ͏

Sunday Digest | Featuring 'The World’s 20 Largest Economies, by GDP (PPP)' 📊

Sunday, December 22, 2024

Every visualization published this week, in one place. Dec 22, 2024 | View Online | Subscribe | VC+ | Download Our App Hello, welcome to your Sunday Digest. This week, we visualized public debt by

Android Weekly #654 🤖

Sunday, December 22, 2024

View in web browser 654 December 22nd, 2024 Articles & Tutorials Sponsored Solving ANRs with OpenTelemetry While OpenTelemetry is the new observability standard, it lacks official support for many

😸 Our interview with Amjad Masad

Sunday, December 22, 2024

Welcome back, builders Product Hunt Sunday, Dec 22 The Roundup This newsletter was brought to you by AssemblyAI Welcome back, builders Happy Sunday! We've got a special edition of the Roundup this

C#537 Automating Santa's Workshop with NServiceBus

Sunday, December 22, 2024

Using event-driven architecture for effective gift delivery 🎄🎁 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌