Skip to content

Issue #533 (July 12, 2022)

#533 – JULY 12, 2022

Python 3.11 Preview: TOML and tomllib

Python 3.11 will be released in the fall of 2022. In this tutorial, you’ll install the latest beta release of Python 3.11 in order to preview the new tomllib module that’s added to the standard library. You’ll also explore some of the static typing enhancements that are coming.
REAL PYTHON

Build a Progressive Web Application with Django and Angular

In this two-part article series, you’ll learn how to build a Progressive Web Application (and a fun trivia game) with Django and the Django Rest Framework for the backend API, and Angular for the frontend interface.
ROB ALFORD • Shared by Rob Alford

Connect, Integrate, & Automate Your Data—From Python, or Any Other Application or Tool

CData makes it easier to unlock the value of data — simplifying connectivity between applications and data sources. Our SQL-based connectors streamline data access making it easy to access real-time data from on-premise and cloud databases, SaaS, APIs, NoSQL and more. Visit cdata.com to learn more →
CDATA SOFTWARE sponsor

Apply Constraints With assert in Python

When applying runtime constraints on a value a common practice is to compare the value to an expected range and raise a ValueError if it’s not within the range. This article argues for the use of assert instead.
REDOWAN DELOWAR

Python 3.11 Release May Be Delayed

PYTHON.ORG

Quart Is Now a Pallets Project

PALLETSPROJECTS.COM

Discussions

PyPI Goes 2FA, atomicwrites Works Around It, Drama Ensues

REDDIT

What Is Something That Blew Your Mind in Python?

MATT HARRISON

Python Jobs

Remote (US) Python/JavaScript Full-Stack Software Engineers (Anywhere)

United States Senate Sergeant at Arms

Senior Python Software Engineer (San Francisco, CA, USA)

MyOme

Senior Full-Stack Web Developer (Anywhere)

MonetizeMore

Principal Python Engineer, 100% Remote (San Francisco, CA, USA)

Nira

More Python Jobs >>>

Articles & Tutorials

Functional Programming Jargon in Simple Terms

“Functional programming (FP) provides many advantages, and its popularity has been increasing as a result. However, each programming paradigm comes with its own unique jargon and FP is no exception. By providing a glossary, we hope to make learning FP easier.”
JAMES YOU

SQLite or PostgreSQL? It’s Complicated!

Employees at Twilio blog a lot and have an internal Python application that showed a dashboard about topics and their popularity. As the number of bloggers and hits grew, the dashboard needed to keep pace.This article discusses how they measured whether to go from SQLite to PostgreSQL for performance reasons and the decision they finally arrived at.
MIGUEL GRINBERG

“Operation Python” Humble Bundle for Charity

Make mastering Python your mission: This mix of online courses, books, exercises, and productivity tools is here to help you succeed—whether you’re a beginner or a skilled Python pro. Support Pythonic charities like the PSF and get Python books, software, and video courses collectively valued at $1,400 for a pay-what-you-want price →
HUMBLEBUNDLE.COM sponsor

Forms in Django 4.0+

Django 4 introduced the capability of rendering forms based on the template engine. You can now specify how base forms are built by overriding a template. The current beta of Django 4.1 has also introduced this power at the widget level. Learn about the changes in this article.
DAVID SMITH

Python any(): Powered Up Boolean Function

If you’ve ever wondered how to simplify complex conditionals by determining if at least one in a series of conditions is true, then look no further. This video course will teach you all about how to use any() in Python to do just that.
REAL PYTHON course

Technical Things Every Software Developer Should Know

This is a collection of materials that are useful for coders, no matter their skill level. Topics covered include algorithms, data structures, data types, latency, memory, distributed systems, security, and much more.
GITHUB.COM/MTDVIO

Using the Python and Operator

In this video course, you’ll learn how Python’s and operator works and how to use it in your code. You’ll get to know its special features and see what kind of programming problems you can solve by using and in Python.
REAL PYTHON course

Indexing and Slicing: Complete Tutorial With Exercises

Learn all about the indexing and slicing of lists in Python, including: negative indexes, enumeration, slices, steps in slices, and more. Includes eight exercises to practice your slicing skills.
JOHN LOCKWOOD

Just Use Dictionaries

Using simple data structures is an important part of keeping it simple, and Python is all about simplicity. Less code is less problems. Just use dictionaries, you probably don’t need classes.
DAVID VUJIC • Shared by David Vujic

How to Organize Python Code

Python is very flexible, but with that flexibility also comes the potential for making bad decisions. This opinionated article discusses naming and the structuring of code.
GUILHERME LATROVA • Shared by Gui Latrova

Projects & Code

Uniform eXchange Format (UXF)

GITHUB.COM/MARK-SUMMERFIELD • Shared by Mark Summerfield

pyKeylogger: Track Keystrokes, Clipboard, & Take Screenshots

GITHUB.COM/KARTIKMEHTA8 • Shared by Kartik Mehta

django-test-migrations: Test Django Schema & Migrations

GITHUB.COM/WEMAKE-SERVICES

correlate: Brute-Force Correlator for Kinda-Messy Data

GITHUB.COM/LARRYHASTINGS

semgrep: Lightweight Static Analysis for Many Languages

GITHUB.COM/RETURNTOCORP

Events

EuroPython 2022

July 11 to July 18, 2022
EUROPYTHON.EU

Building Scalable Web Apps With Python

July 11 to July 16, 2022
EVENTBRITE.COM

Santa Cruz Python Meetup

July 13, 2022
MEETUP.COM

Weekly Real Python Office Hours Q&A (Virtual)

July 13, 2022
REALPYTHON.COM

PiterPy Breakfast

July 13, 2022
TIMEPAD.RU

Python Atlanta

July 14, 2022
MEETUP.COM

Karlsruhe Python User Group (KaPy)

July 15, 2022
BL0RG.NET

Happy Pythoning!
This was PyCoder’s Weekly Issue #533.
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