#645 – SEPTEMBER 3, 2024
Using Astropy for Astronomy With Python
This course covers two problems from introductory astronomy to help you play with some Python libraries. You’ll use NumPy, Matplotlib, and pandas to find planet conjunctions, and graph the best viewing times for a star.
REAL PYTHON course
Python Language Summit 2024
Talk Python to Me interviews Seth Michael Larson and they talk about this year’s Python Language Summit. Learn all about what happened at the closed door session for core developers inside PyCon.
KENNEDY & LARSON podcast
Instant PEP 8 Compliance Checks & Fixes With Top AI Code Reviewer
With CodeRabbit, solve your indentation issues and security concerns. CodeRabbit doesn’t just point out issues; it suggests fixes and explains the reasoning behind the suggestion. Elevate code quality with AI-powered, context-aware reviews and 1-click fixes. Sign up for free today →
CODERABBIT sponsor
Layman’s Guide to Python Built-in Functions
This is a plain language guide to every built-in function in Python, paired with a simple example that shows each function in action.
MATT LAYMAN
DjangoCon Europe 2026 Call for Organizers
DJANGO SOFTWARE FOUNDATION
PyPy v7.3.17 Release
PYPY.ORG
Quiz: Python Strings and Character Data
REAL PYTHON
Quiz: Python String Formatting
REAL PYTHON
Articles & Tutorials
Sorting Dictionaries in Python: Keys, Values, and More
In this video course, you’ll learn how to sort Python dictionaries. By the end, you’ll be able to sort by key, value, or even nested attributes. But you won’t stop there—you’ll also measure the performance of variations when sorting and compare different key-value data structures.
REAL PYTHON course
Understanding the Template Method Pattern in Python
The Template Method Pattern is when a base class is used to implement a series of steps, and subclasses can override one or more of those steps to customize the process. This article shows an example usage in Python and why you might want to implement it.
LANCE GOYKE
Accelerate Edge Devices With High-Performance AI Power
Experience the power of Edge AI—delivering lightning-fast, real-time processing where it matters. Optimize your applications with low latency, high efficiency, and unparalleled accuracy. Push performance beyond limits with Intel’s OpenVINO toolkit.
INTEL CORPORATION sponsor
Asyncio gather()
Limit Concurrency
The asyncio.gather()
function allows you to run multiple co-routines concurrently. There are times when you want to control just how much concurrency you have though and this post shows you how to use a semaphore to do just that.
JASON BROWNLEE
Adventures Building a Spreadsheet Engine in Python
Spreadsheets are a fascinating tool: you can both store and structure data, and include formulas that run computations on the contents of a sheet. James has written a spreadsheet engine, and this post talks about how it is done.
JAMES G
What’s New in pip
24.2
In version 24.2, pip learns to use system certificates by default, receives a handful of optimizations, and deprecates legacy (setup.py develop) editable installations. This article covers the changes and why they’ve been made.
RICHARD SI
CPython Compiler Hardening
Nate has been working on the CPython compiler, applying memory hardening guidelines recommended by OpenSSF’s Memory Safety Special Interest Group. This blog post talks about what was applied and how it should improve CPython.
NATE OHLSON
A Comparison of Providers for Python Serverless Functions
This is a comparison chart of the most common host providers that support Python serverless functions. It compares what features are supported, pricing, runtime limits, and more.
HAROLD MARTIN
There Can’t Be Only One
A weird historical first in baseball recently reminded James about how often as programmers we map our data assuming a one-to-one relationship, and how often that’s a bad choice.
JAMES BENNETT
Safety & Security Engineer: First Year in Review
It has been a year since Mike joined the PSF as the Safety & Security Engineer for PyPI. This blog post talks about all the things he’s been involved with.
MIKE FIELDER
Python Developers Survey 2023 Results
Official Python Developers Survey 2023 Results by Python Software Foundation and JetBrains: more than 25k responses from almost 200 countries.
JETBRAINS.COM
Lesser Known Parts of Python Standard Library
This article covers some of the lesser used parts of the Python standard library, including Deque
, defaultdict
, UserDict
, and more.
TRICKSTER DEV
Projects & Code
AlgoTree: A Package for Working With Tree Structures
PYPI.ORG • Shared by Alex Towell
anacondacode: Execute Python Directly From Excel
PYPI.ORG
pare: Deploy Python Lambdas Alongside Your Web App
GITHUB.COM/GAUGE-SH
django-admin-action-forms: Forms for Django Admin
GITHUB.COM/MICHALPOKUSA
PromptMage Simplifies Managing LLM Workflows
PROMPTMAGE.IO • Shared by Tobias Sterbak
Events
EARL 2024
September 4 to September 6, 2024
DATACOVE.CO.UK
Weekly Real Python Office Hours Q&A (Virtual)
September 4, 2024
REALPYTHON.COM
PyCon Estonia 2024
September 5 to September 7, 2024
PYCON.EE
Canberra Python Meetup
September 5, 2024
MEETUP.COM
Sydney Python User Group (SyPy)
September 5, 2024
SYPY.ORG
PyDelhi User Group Meetup
September 7, 2024
MEETUP.COM
Happy Pythoning!
This was PyCoder’s Weekly Issue #645.
View in Browser »
[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]
Source:: PyCoder’s