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

💎 Issue 424 - JRuby funding at Red Hat stopped – call for sponsors

Thursday, July 4, 2024

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 424 Release Date Jul 04, 2024 Your weekly report of the most popular Ruby news, articles and

💻 Issue 417 - Reflection for C++26

Thursday, July 4, 2024

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 417 Release Date Jul 04, 2024 Your weekly report of the most popular .NET news, articles and projects

💻 Issue 424 - How to Cancel Promises in JavaScript

Thursday, July 4, 2024

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 424 Release Date Jul 04, 2024 Your weekly report of the most popular JavaScript news, articles

📱 Issue 418 - Vulnerabilities in CocoaPods Open the Door to Supply Chain Attacks Against Thousands of iOS and MacOS Applications

Thursday, July 4, 2024

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 418 Release Date Jul 04, 2024 Your weekly report of the most popular iOS news, articles and projects Popular

Data Science Weekly - Issue 554

Thursday, July 4, 2024

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

💻 Issue 424 - Legendary Emails in Node js with mjml 📩

Thursday, July 4, 2024

This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 424 Release Date Jul 04, 2024 Your weekly report of the most popular Node.js news, articles and

💻 Issue 342 - Enhancing New York Times Web Performance with React 18

Thursday, July 4, 2024

This week's Awesome React Weekly Read this email on the Web The Awesome React Weekly Issue » 342 Release Date Jul 04, 2024 Your weekly report of the most popular React news, articles and projects

💻 Issue 419 - Ant Group open sources Mako, a front-end build tool, based on Rust.

Thursday, July 4, 2024

This week's Awesome Rust Weekly Read this email on the Web The Awesome Rust Weekly Issue » 419 Release Date Jul 04, 2024 Your weekly report of the most popular Rust news, articles and projects

📱 Issue 421 - The Era of Swift 6 Has Arrived! It’s the Best Choice Over C++

Thursday, July 4, 2024

This week's Awesome Swift Weekly Read this email on the Web The Awesome Swift Weekly Issue » 421 Release Date Jul 04, 2024 Your weekly report of the most popular Swift news, articles and projects

JSK Daily for Jul 4, 2024

Thursday, July 4, 2024

JSK Daily for Jul 4, 2024 View this email in your browser A community curated daily e-mail of JavaScript news How to Use Callback Functions in JavaScript When you're building dynamic applications