#533 – JULY 12, 2022
View in Browser »
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 SOFTWAREsponsor
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
Discussions
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)
Senior Full-Stack Web Developer (Anywhere)
Principal Python Engineer, 100% Remote (San Francisco, CA, USA)
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.COMsponsor
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 PYTHONcourse
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 PYTHONcourse
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
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
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 ]