Inlined Comprehensions PEP, Iterators, Pandas 2.0, and More

#567 – MARCH 7, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
PEP 709: Inlined Comprehensions
Python Enhancement Proposal 709 covers a change to how comprehensions are handled. Currently they are compiled as nested functions. Benchmarking shows that treating list, dict, and set comprehensions as in-line code can result in a 2x speedup on the comprehension.
PYTHON.ORG

Iterators and Iterables in Python: Run Efficient Iterations
In this tutorial, you’ll learn what iterators and iterables are in Python. You’ll learn how they differ and when to use them in your code. You’ll also learn how to create your own iterators and iterables to make data processing more efficient.
REAL PYTHON

How Cisco Achieved Greater Observability with InfluxDB
Discover how Cisco teams use Python and InfluxDB to create custom DevOps and network monitoring solutions →
INFLUXDATAsponsor

Pandas 2.0 and the Arrow Revolution (Part I)
This article details the changes in the Pandas 2.0 release, with emphasis on the underlying adoption of Apache Arrow.
MARC GARCIA


Discussions


Python’s multiprocessing Performance Problem
Last week’s issue of PyCoders included a link to Python’s multiprocessing performance problem which now has a Hacker News conversation to go along with it.
HACKER NEWS

Why Python Keeps Growing
HACKER NEWS


Python Jobs


Software Engineer - Backend/Python (100% Remote)
CLOSE 📍 ANYWHERE

More Python Jobs >>>


Articles & Tutorials


The Speed of Python: It Ain’t That Bad!
The articles discusses whether Python is as slow as so many authors claim. When doing so, it mentions highly optimized Python frameworks for numerical computation, efficient compilers - but also coding time as opposed to execution time. All in all, Python is much faster than most think.
MARCIN KOZAK • Shared by Marcin

Your First Recurrent Neural Network (RNN)
In this introductory tutorial, you will build a recurrent neural network (RNN) with PyTorch. The RNN will be trained to read names and it will output the natural language they belong to. This is a modern spin on a tutorial from the PyTorch documentation.
RODRIGO GIRÃO SERRÃO • Shared by Rodrigo Girão Serrão

Deliver Clean Code with SonarQube
Level up your code game with SonarQube 9.9 LTS! Included is 2x faster Pull Request analysis and up to 90% faster first analysis of your Python projects if you are using Git SCM. Also, 21 rules to help you write error-free regex, new rules for detecting path-sensitive bugs, and more. Discover Now →
SONARQUBEsponsor

Writing Clean, Pythonic Code With namedtuple
In this video course, you’ll learn what Python’s namedtuple is and how to use it in your code. You’ll also learn about the main differences between named tuples and other data structures, such as dictionaries, data classes, and typed named tuples.
REAL PYTHON course

Using NumPy reshape() to Change the Shape of an Array
In this tutorial, you’ll learn how to use NumPy reshape() to rearrange the data in an array. You’ll learn to increase and decrease the number of dimensions and to configure the data in the new array to suit your requirements.
REAL PYTHON

13 Tips and Techniques for Modern Flask Apps
Flask is approaching its 13th birthday, and to celebrate, Phillip has written 13 tips for writing modern Flask apps. It covers dealing with JSON, environment based configuration, auto-generated docs, and more.
PHILIP JONES

Python 3.11 Is Faster, but Pyston & PyPy Still Show Advantages
There are many speed improvements in CPython 3.11, but that doesn’t mean the Python alternatives don’t still have some advantages. Pyston and PyPy are still better in some cases.
MICHAEL LARABEL

Using OpenAI and Python to Enhance Your Resume
This tutorial shows you how to build a system that takes a question template and writes a resume as output. The example is built on Streamlit and OpenAI.
PIERO PAIALUNGA

Elixir for Humans Who Know Python
Elixir is a functional based programming language with similarities to Ruby and Python. This article is an intro guide for programmers who know Python.
RICH JONES

Python Is Two Languages Now, and That’s Actually Great
Python’s addition of typing has created “two” languages: typed and untyped Python. Tin tells you why that’s a great thing.
TIN TVRTKOVIĆ

Connect, Integrate & Automate Your Data - From Python or Any Other Application
At CData, we simplify connectivity between the application and data sources that power business, making it easier to unlock the value of data.
CDATA SOFTWAREsponsor

Build a Python CLI Tool With Rust
This step-by-step tutorial shows you how to build a rust tool and deliver it through Python packaging mechanisms.
MAKSUDUL HAQUE' • Shared by Maksudul Haque

Testing Multiple Python Versions With nox and pyenv
Quick instructions on using nox with parameters to test multiple versions of Python against your test suite.
SETH LARSON


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 →

30-Days-Of-Python: Guide to Learning Python Programming
GITHUB.COM/ASABENEH

High Performance in-Memory Cache
GITHUB.COM/YILING-J • Shared by yiling

RWKV-LM: RNN With Transformer-Level LLM Performance
GITHUB.COM/BLINKDL

nosqlapi: NOSQL Database API
NOSQLAPI.READTHEDOCS.IO • Shared by Matteo Guadrini

paperless-ngx: Scan, Index & Archive Your Physical Docs
GITHUB.COM/PAPERLESS-NGX

📆🐍 Upcoming Python Events


Santa Cruz Python Meetup
March 8, 2023

Heidelberg Python Meetup
March 8, 2023

Weekly Real Python Office Hours Q&A (Virtual)
March 8, 2023

pyCologne User Group Treffen
March 8, 2023

Python North East
March 8, 2023

DFW Pythoneers 2nd Saturday Teaching Meeting
March 11, 2023

Python Web Conf 2023
March 13 to March 18, 2023

PyCascades
March 18 to March 20, 2023 in Vancouver, BC + Remote
Happy Pythoning!
Copyright © 2023 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

NumPy for Speed, Multiprocessing Performance, XML to YAML, and More

Tuesday, February 28, 2023

Using NumPy and Linear Algebra for Faster Python Code #566 – FEBRUARY 28, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Using NumPy and Linear Algebra for Faster Python Code Are you still using

Buffer Flushing, Async Bugs, SQLAlchemy 2.0, and More

Tuesday, February 21, 2023

How to Flush the Output of the Python Print Function #565 – FEBRUARY 21, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo How to Flush the Output of the Python Print Function In this tutorial, you

Monorepos, SpiffWorkflow, Functional Python, and More

Tuesday, February 14, 2023

Monorepos in Python #564 – FEBRUARY 14, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Monorepos in Python A monorepo is a source control pattern in some organizations where a single code

Wordle Clone, Wasm, Three Python Trends, and More

Tuesday, February 7, 2023

Build a Wordle Clone With Python and Rich #563 – FEBRUARY 7, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Build a Wordle Clone With Python and Rich In this step-by-step project, you'll build

Apache Airflow, Nox, Simulating Broken DB Connections, and More

Tuesday, January 31, 2023

Orchestrating Large and Small Projects With Apache Airflow #562 – JANUARY 31, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Orchestrating Large and Small Projects With Apache Airflow Have you

You Might Also Like

The Power of an Annual Review & Grammarly acquires Coda

Sunday, December 22, 2024

I am looking for my next role, Zen Browser got a fresh new look, Flipboard introduces Surf, Campsite shuts down, and a lot more in this week's issue of Creativerly. Creativerly The Power of an

Daily Coding Problem: Problem #1645 [Hard]

Sunday, December 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Implement regular expression matching with the following special characters: .

PD#606 How concurrecy works: A visual guide

Sunday, December 22, 2024

A programmer had a problem. "I'll solve it with threads!". has Now problems. two he ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

RD#486 (React) Things I Regret Not Knowing Earlier

Sunday, December 22, 2024

Keep coding, stay curious, and remember—you've got this ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

🎶 GIFs Are Neat, but I Want Clips With Sound — Your Own Linux Desktop in the Cloud

Sunday, December 22, 2024

Also: 9 Games That Were Truly Ahead of Their Time, and More! How-To Geek Logo December 22, 2024 Did You Know Dextrose is another name for glucose, so if you see it listed prominently on the ingredients

o3—the new state-of-the-art reasoning model - Sync #498

Sunday, December 22, 2024

Plus: Nvidia's new tiny AI supercomputer; Veo 2 and Imagen 3; Google and Microsoft release reasoning models; Waymo to begin testing in Tokyo; Apptronik partners with DeepMind; and more! ͏ ͏ ͏ ͏ ͏ ͏

Sunday Digest | Featuring 'The World’s 20 Largest Economies, by GDP (PPP)' 📊

Sunday, December 22, 2024

Every visualization published this week, in one place. Dec 22, 2024 | View Online | Subscribe | VC+ | Download Our App Hello, welcome to your Sunday Digest. This week, we visualized public debt by

Android Weekly #654 🤖

Sunday, December 22, 2024

View in web browser 654 December 22nd, 2024 Articles & Tutorials Sponsored Solving ANRs with OpenTelemetry While OpenTelemetry is the new observability standard, it lacks official support for many

😸 Our interview with Amjad Masad

Sunday, December 22, 2024

Welcome back, builders Product Hunt Sunday, Dec 22 The Roundup This newsletter was brought to you by AssemblyAI Welcome back, builders Happy Sunday! We've got a special edition of the Roundup this

C#537 Automating Santa's Workshop with NServiceBus

Sunday, December 22, 2024

Using event-driven architecture for effective gift delivery 🎄🎁 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌