#549 – NOVEMBER 1, 2022
View in Browser »
How to Get the First Match From a Python List or Iterable
In this tutorial you’ll learn about the best ways to get the first match from a Python list or iterable. You’ll look into two different strategies, for loops and generators, and compare their performance. Then you’ll end up by creating a reusable function for all your first matching needs.
REAL PYTHON
Generating Memes and Infographics With Pillow
Pillow is great for doing image resizing, adding borders or composing. This makes it a natural fit for creating tools for memes and infographics. This step-by-step article shows you what Pillow code you need to write to turn any image into a meme.
PIOTR MALIŃSKI
Built for Seamless, Continuous Deployment - Platform.sh Is Your Web Fleet Management Solution
Platform.sh is a secure cloud hosting platform that allows you to effortlessly manage, monitor and optimize all your websites. With our solution, your development team can avoid wasting precious time updating your websites individually or fixing deployment bugs and focus on what truly matters →
PLATFORM.SHsponsor
When Should You Upgrade to Python 3.11?
Python 3.11 has been released, when should you switch to using it? This posting covers the complications you can run into when moving to the latest release of any Python and how to know when it is best for you to upgrade.
ITAMAR TURNER-TRAURING
Discussions
Python Jobs
Software Engineer - Weissman Lab (Cambridge, MA, USA)
Whitehead Institute for Biomedical Research
Senior Software Engineer (Python, Qt, Linux) (Anywhere)
Content Operations Manager (Anywhere)
Articles & Tutorials
Caching in Django Applications
Caching can make a big difference in the performance of your application. This blog post describes how to apply caching to a Django project and what the benefits are. It is part 4 in a series with entries on Django performance improvement for the database, your code, and your front-end.
ESTHER VAATI
Cool New Features in Python 3.11
In this video course, you’ll explore what Python 3.11 brings to the table. You’ll learn how Python 3.11 is the fastest and most user-friendly version of CPython yet, and learn about improvements to the typing system and to the asynchronous features of Python.
REAL PYTHONcourse
Deepgram Is the Preferred Speech-to-Text API of Python Developers
Engineers from companies like NASA, Spotify & Volley chose Deepgram’s speech-to-text API to automatically transcribe their audio with understanding features like summarization, topic detection and language detection. Make the most of your audio data and get 200 hours of free transcription →
DEEPGRAMsponsor
Lambdas Don’t Support Type Hints, but That’s Okay
Python has no syntax to add type hints to lambdas, but that doesn’t mean you can’t use them in type-checked code. This post looks at how mypy can infer the types for lambdas, based on where they’re used.
ADAM JOHNSON
12 Factor Apps Revisited
The Twelve-Factor App methodology is a methodology for building software-as-a-service applications by Adam Wiggins. This article covers how it has evolved and what you can learn from it today.
MAHDI YUSUF
Simple, Sane, and Sensible Logging in Python
Get started with Logging in Python or deploy advanced, flexible loggers without the boiler-plate code. Learn all about log2d
, a third-party wrapper for the Python logging library.
PETE FISON• Shared by Pete Fison
PyCon US 2022 Recap and Recording Announcement
This posting contains a recap of PyCon US 2022 along with links to their YouTube channel containing many of the talks from the conference.
PYCON.BLOGSPOT.COM
Deepnote is the Best Way to Collaborate Around Your Data
Explore data with Python & SQL from your browser. Add context with data visualizations and rich text editing. Share analysis with stakeholders by simply sending a link.
DEEPNOTEsponsor
How to Set Up WebSockets in Starlette
Starlette is a relatively new entrant to the world of Python web frameworks. This blog post talks about how you can set up (and test) a WebSocket backend using Starlette.
SIDDHANT GOEL• Shared by Siddhant Goel
Should You Use Custom Exceptions in Python?
The article discusses whether or not to use custom exceptions in Python development. It shows how to create custom exceptions and when they can be useful.
MARCIN KOZAK• Shared by Marcin
Projects & Code
Events
STL Python
November 2, 2022
MEETUP.COM
NZPUG-Auckland: Crafting Software
November 2, 2022
MEETUP.COM
Heidelberg Python Meetup
November 2, 2022
MEETUP.COM
Weekly Real Python Office Hours Q&A (Virtual)
November 2, 2022
REALPYTHON.COM
PyCon PL 2022
November 3 to November 7, 2022
PYCON.ORG
PyCon Sweden
November 3 to November 5, 2022
PYCON.SE
Happy Pythoning!
This was PyCoder’s Weekly Issue #549.
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 ]