Issue #657

NumPy, Loop Targets, Vector Animation, and More

Nov. 26, 2024

NumPy, Loop Targets, Vector Animation, and More
#657 – NOVEMBER 26, 2024 VIEW IN BROWSER
The PyCoder’s Weekly Logo
NumPy Practical Examples: Useful Techniques
In this tutorial, you’ll learn how to use NumPy by exploring several interesting examples. You’ll read data from a file into an array and analyze structured arrays to perform a reconciliation. You’ll also learn how to quickly chart an analysis and turn a custom function into a vectorized function.
REAL PYTHON

Loop Targets
Loop assignment allows you to assign to a dict item in a for loop. This post covers what that means and that it is no more costly than regular assignment.
NED BATCHELDER

Introducing the Windsurf Editor. Tomorrow’s IDE, Today
Introducing the Windsurf Editor, the first agentic IDE. All the features you know and love from Codeium’s extensions plus new capabilities such as Cascade that act as collaborative AI agents, combining the best of copilot and agent systems →
CODEIUMsponsor

Vector Animations With Python
This post shows you how to use gizeh and moviepy to create animations using vector graphics.
DEEPNOTE.COM

Take the 2024 Django Developers Survey
DJANGO SOFTWARE FOUNDATION

Python 3.14.0 Alpha 2 Released
CPYTHON DEV BLOG

Quiz: Python Dictionary Comprehensions
REAL PYTHON

PyTexas (Austin) Call for Proposals
PYTEXAS.ORG

Quiz: Namespaces and Scope in Python
REAL PYTHON


Articles & Tutorials


Avoid Counting in Django Pagination
Django’s Paginator class separates data into chunks to display pages of results. By default, underneath it uses a SQL COUNT(*) call which for large amounts of data can be expensive. This article shows you how to get around that.
NIK TOMAZIC

Working With TOML and Python
TOML is a configuration file format that’s becoming increasingly popular in the Python community. In this video course, you’ll learn the syntax of TOML and explore how you can work with TOML files in your own projects.
REAL PYTHON course

Categories of Leadership on Technical Teams
Understanding the different types of technical leadership can help you better structure teams and define roles and responsibilities. This post talks about the various types of technical leaders you might encounter.
BEN KUHN

Quick Prototyping With Sqlite3
Python’s sqlite3 bindings makes it a great tool for quick prototyping while you’re working out what it is exactly that you’re building and what kind of database schema makes sense.
JUHA-MATTI SANTALA

Django Performance and Optimization
“This document provides an overview of techniques and tools that can help get your Django code running more efficiently - faster, and using fewer system resources.”
DJANGO SOFTWARE FOUNDATION

Python Dependency Management Is a Dumpster Fire
Managing dependencies in Python can be a bit of a challenge. This deep dive article shows you all the problems and how the problems are mitigated if not solved.
NIELS CAUTAERTS

Under the Microscope: Ecco the Dolphin
This article shows the use of Ghidra and Python to reverse engineer the encoding scheme of the Sega Dreamcast game Eccho the Dolphin.
32BITS

Is Python Really That Slow?
The speed of Python is an age old conversation. This post talks about just what it does and doesn’t mean.
MIGUEL GRINBERG

Threads Beat Async/Await
Further musings about async & await and why Armin thinks virtual threads are a better model.
ARMIN RONACHER

Python for R Users
Resources for getting better at Python for experienced R developers
STEPHEN TURNER


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 →

nbformat: Base Implementation of Jupyter Notebook Format
PYPI.ORG

pex: Generate Python EXecutable Files, Lock Files and Venvs
GITHUB.COM/PEX-TOOL

Async, Pure-Python Server-Side Rendering Engine
VOLFPETER.GITHUB.IO • Shared by Peter Volf

django-tasks: Background Workers Reference Implementation
GITHUB.COM/REALORANGEONE

dsRAG: Retrieval Engine for Unstructured Data
GITHUB.COM/D-STAR-AI

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
November 27, 2024

Python New Zealand: Mapping Hurricane Wind Speeds From Space
November 28, 2024

SPb Python Drinkup
November 28, 2024

PyCon Wroclaw 2024
November 30 to December 1, 2024

PyDay Togo 2024
November 30 to December 1, 2024

PyDelhi User Group Meetup
November 30, 2024
Happy Pythoning!
Copyright © 2024 PyCoder’s Weekly, All rights reserved.