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

Key phrases

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

Get Compliant in 2024 - Download Ultimate PAM Policy Template Today

Wednesday, May 1, 2024

Privileged Access Management Policy Template What are your PAM policies for 2024? Get ready for the New Year Is your approach to Privileged Access Management as current and effective as it could be? In

What's new in Autodesk Inventor 2025?

Wednesday, May 1, 2024

‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Post from Syncfusion Blogs on 05/01/2024

Wednesday, May 1, 2024

New blogs from Syncfusion Chart of the Week: Creating a WPF 100% Stacked Area Chart to Visualize the World Vehicle Production in Major Countries By Karthikeyan V Let's visualize the world vehicle

New U.K. Law Bans Default Passwords on Smart Devices Starting April 2024

Wednesday, May 1, 2024

THN Daily Updates Newsletter cover Webinar -- Uncovering Contemporary DDoS Attack Tactics -- and How to Fight Back Stop DDoS Attacks Before They Stop Your Business... and Make You Headline News.

Our verdict on Beats' $200 Solo 4 headphones

Wednesday, May 1, 2024

The Morning After It's Wednesday, May 01, 2024. Beats today announced the Solo 4, a $200 set of familiar-looking cans with significant upgrades inside, even if they look almost entirely the same as

Power BI Weekly #256 - 1st May 2024

Wednesday, May 1, 2024

Power BI Weekly Newsletter Issue #256 powered by endjin Welcome to the 256th edition of Power BI Weekly! No announcements this week, so we'll jump straight into the highlighted articles. Firstly,

Apple AI browser 🌎, Tesla fires Supercharger team ⚡,  new sudo replacement 👨‍💻

Wednesday, May 1, 2024

Apple is testing a version of its Safari web browser that includes an AI-powered tool called Intelligent Search Sign Up |Advertise|View Online TLDR Together With Modern Treasury TLDR 2024-05-01 The

JSter #218 - Libraries and more

Wednesday, May 1, 2024

All JavaScript is good JavaScript. I'm close to done with my SurviveJS rework. The new site will have more content while being much lighter and faster to compile so that's all good. Libraries

BetterDev #258 - Build an 8-bit computer from scratch and Home automation with ESP8266

Wednesday, May 1, 2024

Better Dev #258 Apr 30, 2024 Hi all, We come back with a new issue this week. If you like BetterDev, please help spead word out by refer to your friends. Buy me a coffee would be great too. Build an 8-

Interface Interference 👎

Wednesday, May 1, 2024

Amid the AI device dunking, should everything “just be an app”? Here's a version for your browser. Hunting for the end of the long tail • April 30, 2024 Interface Interference The problem