Build a Calculator, Satellite Data, Best Practices, and More

#636 – JULY 2, 2024 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Build a GUI Calculator With PyQt and Python
In this video course, you’ll learn how to create graphical user interface (GUI) applications with Python and PyQt. Once you’ve covered the basics, you’ll build a fully functional desktop calculator that can respond to user events with concrete actions.
REAL PYTHON course

Satellites Spotting Ships
Umbra Space has released a data set consisting of satellite based radar images of shipping. This article from Mark shows you how to grab the data, visualize, and annotate it.
MARK LITWINTSCHIK

Discover the Power of Observability With Pydantic Logfire
Logfire, by the makers of Pydantic, is an observability platform that will help you understand your app’s behavior with less code and time. Built on OpenTelemetry, it features user-friendly dashboards, SQL querying, and Python-specific integrations. Get started today →
PYDANTICsponsor

Modern Good Practices for Python Development
This is a very detailed list of best practices for developing in Python. It includes tools, language features, application design, which libraries to use an more.
STUART ELLIS

PSF Board Candidates for 2024
PYTHON SOFTWARE FOUNDATION

Python 3.13.0 Beta 3 Released
CPYTHON DEV BLOG

Django 5.1 Beta 1 Released
DJANGO SOFTWARE FOUNDATION

PyBay 2024 Call for Proposals
PYBAY


Articles & Tutorials


Build a Guitar Synthesizer: Play Musical Tablature in Python
In this tutorial, you’ll build a guitar synthesizer using the Karplus-Strong algorithm in Python. You’ll model vibrating strings, simulate strumming techniques, read musical notation and tablature, and apply audio effects. By the end, you’ll have created a digital guitar that can play any song. This tutorial was also discussed on Real Python Podcast Episode #210.
REAL PYTHON

Python’s Security Model After the xz-utils Backdoor
The backdoor introduced to the xz-utils compression project through social engineering was one of the topics at the Python Language Summit. Participants discussed what can be done to prevent similar social engineering attacks on the Python source.
PYTHON SOFTWARE FOUNDATION

Authentication Your Whole Team Will Love
“With PropelAuth, I think I’ve spent about a day – total – on auth over the past year.” PropelAuth is easy to integrate and provides all the tools your team needs to manage your users - dashboards, user insights, impersonation, SSO and more →
PROPELAUTHsponsor

Running Prettier Against Django or Jinja Templates
“Prettier” is a JavaScript based linting tool for templates. For folks not familiar with the world of npm, it can be a bit daunting to get it going. Simon fiddled with it so you don’t have to and posted how he got it working on his system.
SIMON WILLISON

Write Less Code, You Must
An often overlooked aspect of software development is architecture at the module & function level. It is important to write code that is simple and easy to move from one place to another.
DAVIDVUJIC.BLOGSPOT.COM • Shared by David Vujic

Quickstart for Playing With LLMs Locally
This is a simple, quick guide to getting started running LLMs on your local computer. It covers the basics of the powerful libraries Ollama and LangChain for controlling these AI models.
JOSHUA COOK • Shared by Joshua Cook

Under the Hood of Python’s set Data Structure
This tutorial covers hash tables, collision handling, performance optimization and how it relates to the implementation of the set data structure in Python.
ABHINAV UPADHYAY

Ways to Have an Atomic Counter in Django
Keeping a counter across objects in Django means having to be careful about race conditions. This article outlines several approaches to the problem.
GONÇALO VALÉRIO

Saying Thanks to Open Source Maintainers
Brett talks about the different ways you can support the many maintainers of open source projects, and often times just saying “thanks” means a lot.
BRETT CANNON

A Guide to Python’s Weak References
Learn all about weak references in Python: reference counting, garbage collection, and practical uses of the weakref module
MARTIN HEINZ • Shared by Martin Heinz

Creating Great README Files for Your Python Projects
In this tutorial, you’ll learn how to create, organize, and format high-quality README files for your Python projects.
REAL PYTHON

Get Terminal Size
This quick TIL post from Rodrigo shows you how to get information about the terminal size from the shutil module.
RODRIGO GIRÃO SERRÃO

A Complete Guide to pytest Fixtures
Learn how to use pytest fixtures for writing maintainable and isolated tests.
STANLEY ULILI


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 →

burr: Build Apps That Make Decisions (Chatbots, Agents, etc)
GITHUB.COM/DAGWORKS-INC

Lazy f-strings
GITHUB.COM/POMPONCHIK • Shared by pomponchik

oxo: Security Scanning Orchestrator
GITHUB.COM/OSTORLAB

jax: Composable Transformations of Python+NumPy Programs
GITHUB.COM/GOOGLE

dbt-utils: Utility Functions for DBT Projects
GITHUB.COM/DBT-LABS

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
July 3, 2024

Canberra Python Meetup
July 4, 2024

Sydney Python User Group (SyPy)
July 4, 2024

EuroPython 2024
July 8 to July 15, 2024

SciPy US 2024
July 8 to July 14, 2024

PyCon Nigeria 2024
July 10 to July 14, 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

Calendar Versioning, Rounding, Generating Test Data, and More

Tuesday, June 25, 2024

PEP 2026: Calendar Versioning for Python #635 – JUNE 25, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo PEP 2026: Calendar Versioning for Python This PEP proposes updating the versioning scheme for

NumPy 2.0, Calendar Versioning, Mappings, and More

Tuesday, June 18, 2024

Should Python Adopt Calendar Versioning? #634 – JUNE 18, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Should Python Adopt Calendar Versioning? Python's use of semantic style versioning

String Interpolation, Music Processing, Command-Line Utilities, and More

Tuesday, June 11, 2024

String Interpolation in Python: Exploring Available Tools #633 – JUNE 11, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo String Interpolation in Python: Exploring Available Tools In this tutorial,

Hashables, PyCon US Recap, Circular Imports, and More

Tuesday, June 4, 2024

What's a Python Hashable Object? #632 – JUNE 4, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo What's a Python Hashable Object? You can ignore reading about hashable objects for quite a bit

Tkinter, pyastgrep, Django 5.1, and More

Monday, June 3, 2024

Building a Python GUI Application With Tkinter #631 – MAY 28, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Building a Python GUI Application With Tkinter In this video course, you'll learn

You Might Also Like

AI's Potential Ouroboros Problem

Wednesday, July 24, 2024

Jumping Jackrabbits! The ultimate echo chamber... AI's Potential Ouroboros Problem Jumping Jackrabbits! The ultimate echo chamber... By MG Siegler • 24 Jul 2024 View in browser View in browser

💡 8 Facebook Features You Should Be Using — Keep Your Old Game Consoles

Wednesday, July 24, 2024

Also: How to Factory Reset a Chromebook, and More! How-To Geek Logo July 24, 2024 Did You Know The brand name of Leatherman multitools and knives isn't just a manly trademark; it's actually the

Charted | Average Wage Growth in G7 Countries (2000-2022) 📈

Wednesday, July 24, 2024

G7 countries have generally seen steady wage growth since 2000, but some certain countries are lagging behind. View Online | Subscribe Presented by: One Week Left to Claim Your VC+ Lifetime Membership

Daily Coding Problem: Problem #1506 [Hard]

Wednesday, July 24, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Salesforce. Given an array of integers, find the maximum XOR of any two elements.

Tech Deals 👀 Pixel 7a, Anker Earbuds, Hisense QLED TV, Robot Vacs, and More!

Wednesday, July 24, 2024

Get a Pixel 7a, Anker's 65w Nano charger, and much more at big discounts. How-To Geek Logo July 24, 2024 Tech Deals: Pixel 7a, Anker Earbuds, Hisense QLED TV, Robot Vacs, and More! Get a Pixel 7a,

Why You Dont Need PNPM And YARN

Wednesday, July 24, 2024

Top Tech Content sent at Noon! Find the hottest jobs from top tech companies Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, July 24, 2024? The

Learn how Nolan Transportation increased sales

Wednesday, July 24, 2024

July 25, Discover AI playbooks to expedite onboarding and guide reps View as a web page TechCrunch Online Event Dialpad webinar on July 25 Learn to up your sales coaching game. And close deals faster.

7 password rules to live by now

Wednesday, July 24, 2024

Credit Karma's new AI tools; Vision Pro's multiverse; Best sleep trackers -- ZDNET ZDNET Tech Today - US July 24, 2024 placeholder 7 password rules to live by in 2024, according to security

⚙️ In Taiwan, farmers had to give up their water to AI companies

Wednesday, July 24, 2024

Plus: The FTC has a problem with surveillance pricing ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Join VC+ for a Lifetime of Insight - Offer ends soon!⏱

Wednesday, July 24, 2024

The very best of Visual Capitalist, available for one simple payment. View email in browser Taking Visual Capitalist to the Next Level If you enjoy Visual Capitalist's regular work, you'll love