Astrophysics, pyproject.toml, Query Languages, and More

#644 – AUGUST 27, 2024 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Exploring Astrophysics in Python With pandas and Matplotlib
This course uses three problems often covered in introductory astro-physics courses to play in Python. Along the way you’ll learn some astronomy and how to use a variety of datascience libraries like NumPy, Matplotlib, pandas, and pint.
REAL PYTHON course

What’s the Deal With setup.py, pyproject.toml and Wheels?
Packaging in Python has a bit of a history and if you’ve come across the variety of ways of specifying and building packages you might wonder “why?” This article gives you the history and current best practices.
BITECODE

Accelerate Your Data Science Workflows End-to-End Self-Paced Course
Discover how to create, accelerate, and deploy data pipelines with RAPIDS for GPU-accelerated data science workflows. Take this course for free when you join the NVIDIA Developer Program →
NVIDIAsponsor

How to Build a Query Language in Python
This guide walks you through how to build a custom query language in Python. The example given is a language to search through song lyrics.
JAMES G

Quiz: Python’s Built-in Exceptions
REAL PYTHON

Quiz: Getting Started With Testing in Python
REAL PYTHON


Articles & Tutorials


Build a Blog Using Django, GraphQL, and Vue
In this step-by-step project, you’ll build a blog from the ground up. You’ll turn your Django blog data models into a GraphQL API and consume it in a Vue application for users to read. You’ll end up with an admin site and a user-facing site you can continue to refine for your own use.
REAL PYTHON

Exploring Robotics and Python Through Electronic Projects
Are you interested in learning robotics with Python? Can physical electronics-based projects grow a child’s interest in coding? This week on the show, we speak with author Marwan Alsabbagh about his book “Build Your Own Robot - Using Python, CRICKIT, and Raspberry Pi.”
REAL PYTHON podcast

How Pre-Commit Works
As a user of pre-commit hooks, do you know what happens when you run pre-commit install or why you have to run it in the first place? How does pre-commit actually work with Git? In this article, Stefanie takes you behind the scenes of how your pre-commit setup works.
STEFANIEMOLIN.COM • Shared by Stefanie Molin

Python range(): Represent Numerical Ranges
Master the Python range() function and learn how it works under the hood. You most commonly use ranges in loops. In this tutorial, you’ll learn how to iterate over ranges but also identify when there are better alternatives.
REAL PYTHON

Practices of Reliable Software Design
The author was asked what he would considered if he wrote a in-memory cache. This article talks about the eight principles he would use, many of which he wouldn’t have considered when a younger developer.
TWO WRONGS

Python’s Preprocessor
Every now and then you hear outrageous claims such as “Python has no preprocessor”, well it is there if you’re willing to dig deep enough. Learn how to hack Python’s compile step.
PYDONG

500 Python Interpreters
Work continues on removing and/or optimizing the GIL in Python. This article gives a little history so you can better understand why the GIL is there and what changes are coming.
IZZY MUERTE

Python Top Language of 2024
“Python continues to cement its overall dominance, buoyed by things like popular libraries for hot fields such as A.I.” Read the article to see where other languages have placed.
IEEE SPECTRUM

10 Python Programming Optimization Techniques
Optimization should be your last step, but once you’re there, just what can you do? This article covers ten different techniques that address memory size and code performance.
JAMES ONONIWU

uv: Unified Python Packaging
A new release of of uv is out and it has added a lot of features. This post talks about what is new and how it can simplify your packaging process.
SIMON WILLISON

PyPI Slashes Malware Response Time
“PyPI has drastically improved its malware response times, resolving 90% of issues in under 24 hours and removing 900 projects since March 2024.”
SARAH GOODING


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 →

Gists-Gone, a CLI for Bulk Deleting Your Github Gists
GITHUB.COM/BEN-N93 • Shared by Ben Nour

deltadb: A Lightweight Database Built on Polars and Deltalake
GITHUB.COM/UNAME-N

django-public-admin: A Public and Read-Only Django Admin
GITHUB.COM/CUDUCOS

sqlfluff: A Modular SQL Linter and Auto-Formatter
GITHUB.COM/SQLFLUFF

authentik: The Authentication Glue You Need
GITHUB.COM/GOAUTHENTIK

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
August 28, 2024

PyCon PL 2024
August 29 to September 1, 2024

SPb Python Drinkup
August 29, 2024

PythOnRio Meetup
August 31, 2024

Melbourne Python Users Group, Australia
September 2, 2024

EARL 2024
September 4 to September 6, 2024

PyCon Estonia 2024
September 5 to September 7, 2024
Happy Pythoning!
Copyright © 2024 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

Scrapy Extensions, REST APIs, Django Sub-Commands, and More

Tuesday, August 20, 2024

Using a Custom Scrapy Extension to Log to a DB #643 – AUGUST 20, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Using a Custom Scrapy Extension to Log to a DB The Scrapy crawl stat logs are useful

Testing with nox, Async Iterators, Log Propagation, and More

Tuesday, August 13, 2024

Testing Coverage and Using `nox` #642 – AUGUST 13, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Testing Coverage and Using nox This is part 9 in an in-depth series on testing. This part talks

Setuptools Deprecation, Installable Django Apps, Flask, and More

Tuesday, August 6, 2024

Setuptools Breaks Things, Then Fixes Them #641 – AUGUST 6, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Setuptools Breaks Things, Then Fixes Them This post is Bite Code's monthly summary, but

Great Tables, itertools, Asyncio In A Thread, and More

Tuesday, July 30, 2024

Build Captivating Display Tables in Python With Great Tables #640 – JULY 30, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Build Captivating Display Tables in Python With Great Tables Do you need

Asyncio Exceptions, Protocols, Free-Threaded CPython, and More

Tuesday, July 23, 2024

Asyncio `gather()` Handle Exceptions #639 – JULY 23, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Asyncio gather() Handle Exceptions The asyncio.gather() function takes an optional argument

You Might Also Like

This Week in Rust #565

Thursday, September 19, 2024

Email isn't displaying correctly? Read this e-mail on the Web This Week in Rust issue 565 — 18 SEP 2024 Hello and welcome to another issue of This Week in Rust! Rust is a programming language

Daily Coding Problem: Problem #1561 [Easy]

Thursday, September 19, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Print the nodes in a binary tree level-wise. For example, the following

Sixteen Candles Down the Drain

Thursday, September 19, 2024

Spectacles, Vestager, EC Posts, Meta Letters, PayPal Design, Microsoft Deals, Palmer Luckey Goggles, Spotify Ads Sixteen Candles Down the Drain Spectacles, Vestager, EC Posts, Meta Letters, PayPal

How Greedy Miners Are Breaking DAG Blockchains

Thursday, September 19, 2024

Top Tech Content sent at Noon! A dev conference with discussions, workshops, and 1:1 feedback sessions Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today

Issue 332 - Camouflaged Tesla Robotaxi prototype sighted

Thursday, September 19, 2024

View this email in your browser If you are just now finding out about Tesletter, you can subscribe here! If you already know Tesletter and want to support us, check out our Patreon page Issue 332 -

Programmer Weekly - Issue 223

Thursday, September 19, 2024

View this email in your browser Programmer Weekly Welcome to issue 223 of Programmer Weekly. Let's get straight to the links this week. Quote of the Week "It's tempting to write a long

Data Science Weekly - Issue 565

Thursday, September 19, 2024

Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Contrarian Report Shades GitHub Copilot Productivity, Bits Polished as .NET 9 Nears, Python in VS Code, More

Thursday, September 19, 2024

Home | News | How To | Webcasts | Whitepapers | Advertise .NET Insight September 19, 2024 THIS ISSUE SPONSORED BY: ■ dtSearch® - INSTANTLY SEARCH TERABYTES ■ Live! 360: Developer / IT / Security / Data

Web Tools #583 - No Code Maps, React, Testing, Git/CLI

Thursday, September 19, 2024

WEB VERSION Issue #583 • September 19, 2024 The following is a paid product review for No Code Map App, a platform for building custom interactive maps from almost any data source, no coding required.

Python Weekly - Issue 668

Thursday, September 19, 2024

View this email in your browser Python Weekly Welcome to issue 668 of Python Weekly. Let's get straight to the links this week. From Our Sponsor Get Your Weekly Dose of Programming A weekly