Polars, Immortal Objects, Playwright, and More

#591 – AUGUST 22, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Python Polars: A Lightning-Fast DataFrame Library
Welcome to the world of Polars, a powerful DataFrame library for Python! In this showcase tutorial, you’ll get a hands-on introduction to Polars’ core features and see why this library is catching so much buzz.
REAL PYTHON

Introducing Immortal Objects for Python
This article explains immortal objects (PEP 683) which are excluded from garbage collection. This causes performance and shared memory improvements for large architectures.
ENGINEERING AT META

Support Your Next Python Project With a .XYZ Domain
The .xyz domain extension was built for tech-forward applications. Python developers can showcase their skills or support their latest project using a .xyz domain name. New .xyz domains are on sale for just about $2 at Porkbun now. Get your .xyz domain →
PORKBUNsponsor

End-to-End Testing With Python and Playwright
This post shows you how to get started with Playwright, add end-to-end tests to an existing project, and automate running it using GitHub Actions.
MARKOS GOGOULOS • Shared by Laura Stephens

Introducing Python in Excel
Microsoft has announced that they’re embedding Python into Excel through a partnership with Anaconda. Read on for details.
STEFAN KINNESTRAND


Articles & Tutorials


Using the NumPy Random Number Generator
In this tutorial, you’ll take a look at the powerful random number capabilities of the NumPy random number generator. You’ll learn how to work with both individual numbers and NumPy arrays, as well as how to sample from a statistical distribution.
REAL PYTHON

Not-So-Casual Performance Optimization in Python
Nathaniel did a small project where he implemented the sum of inverse squares in multiple programming languages. The Python version was rather slow. This article talks about alternate ways of writing the Python code for better performance.
NATHANIEL THOMAS

Companies like GitLab, Snowflake, and Slack Scan Their Code for Vulnerabilities Using Semgrep
Scan your code and dependencies for security vulnerabilities for free with Semgrep - the trusted OSS tool used by top companies like GitLab, Snowflake, and Slack. No security expertise needed, simply add your project and let Semgrep do the work in just minutes →
SEMGREPsponsor

Solving a Simple Puzzle Using SymPy
This short blog post shows you how to formulate a series of equations and solve them using SymPy for a small geometric brain teaser. There is also an associated Hacker News Discussion.
STEFAN PETREA

Process Images Using the Pillow Library and Python
In this video course, you’ll learn how to use the Python Pillow library to deal with images and perform image processing. You’ll also explore using NumPy for further processing, including to create animations.
REAL PYTHON course

Python: Just Write SQL
This article shows you how to use SQL directly from Python, serializing to a dataclass instead of using an ORM. It has an associated Hacker News Discussion.
JOÃO FERREIRA

Create Your Own Diff-Tool Using Python
This article teaches you how to create your own diff-tool using pure Python. In addition to covering how to diff content, it also incorporates argparse to manage the command line options.
FLORIAN DAHLITZ

What Learning APL Taught Me About Python
Sometimes learning a new language provides perspective in the ones you already know. Rodrigo picked up APL, and this article discusses what that taught him about Python.
RODRIGO GIRÃO SERRÃO

GitHub Now Scans Public Issues for PyPI Secrets
This PyPI blog post talks about the integration between them and GitHub to help ensure accidental exposure of PyPI secrets is quickly dealt with.
THE PYTHON PACKAGE INDEX

Reference Counting Internals of Python
Explore CPython’s memory management through a deep dive into Reference Counting. Learn how it functions, its implementation and its limitations
ABHINAV UPADYAY

Learn How to Deploy Scientific AI Models to Edge Environments, Using OpenVINO Model Server
🤔 Can cell therapy and AI be used together? Learn how to efficiently build and deploy scientific AI models using open-source technologies with Beckman Coulter Life Sciences at our upcoming DevCon OpenVINO webinar. #DevCon2023
INTEL CORPORATIONsponsor

Avoiding Silent Failures: Best Practices for Error Handling
The Zen of Python famously states, “Errors should never pass silently.” But just what does that mean, and what should you do instead?
BOB BELDERBOS


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 →

functime: Time-Series ML and Embeddings at Scale
GITHUB.COM/DESCENDANT-AI

learndb-py: Learn Database Internals by Implementing One
GITHUB.COM/SPANDANB

outlines: Generative Model Programming
GITHUB.COM/NORMAL-COMPUTING

trafilatura: Python & Command-Line Tool to Get Web Text
GITHUB.COM/ADBAR

PythonMonkey: JavaScript Engine Embedded in Python
GITHUB.COM/DISTRIBUTIVE-NETWORK

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
August 23, 2023

PyCon Latam 2023
August 24 to August 27, 2023

PyDelhi User Group Meetup
August 26, 2023

PythOnRio Meetup
August 26, 2023

Singula Python Meetup Online
August 29, 2023

PyConTW 2023
September 2 to September 4, 2023
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

Annotating self, Context Managers, PEP 723, and More

Tuesday, August 15, 2023

How to Annotate Methods That Return `self` #590 – AUGUST 15, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo How to Annotate Methods That Return self In this tutorial, you'll learn how to use

Pandas 2.0, Foreign Functions, Versioning, and More

Tuesday, August 8, 2023

Exploring Pandas 2.0 & Targets for Apache Arrow #589 – AUGUST 8, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Exploring Pandas 2.0 & Targets for Apache Arrow What are the new ways to

F-Strings in Py3.12, Profiling, Quirks, No-GIL, and More

Tuesday, August 1, 2023

Python 3.12 Preview: More Intuitive and Consistent F-Strings #588 – AUGUST 1, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Python 3.12 Preview: More Intuitive and Consistent F-Strings In this

Folium, 6502 Emulator, Pystack, and More

Tuesday, July 25, 2023

Creating Web Maps From Your Data With Python Folium #587 – JULY 25, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Creating Web Maps From Your Data With Python Folium You'll learn how to create

Mazes, Organizing Monoliths, Passing NumPy Arrays, and More

Tuesday, July 18, 2023

Mazes in Python Part 2: Storing and Solving #586 – JULY 18, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Mazes in Python Part 2: Storing and Solving In part two of this two-part project, you'

You Might Also Like

📧 Did you want this discount?

Thursday, May 2, 2024

Your chance to save on MMA is about to end. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Scoop: Tiger Global-backed Innovaccer in talks to raise $250M

Wednesday, May 1, 2024

Plus: An update on Google's layoffs and the social platform X didn't see coming View this email online in your browser By Christine Hall Wednesday, May 1, 2024 Welcome to TechCrunch PM. Today,

🖥️ Why I'm Never Going Back to a Windows PC — Tips Before You Buy a Smart Ring

Wednesday, May 1, 2024

Also: How to Clear the Moisture Detected Warning on Samsung Phones, and More How-To Geek Logo May 1, 2024 Did You Know A single 1 oz shot of espresso only has approximately 40 mg of caffeine, whereas a

Daily Coding Problem: Problem #1428 [Hard]

Wednesday, May 1, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Given an array of positive integers, divide the array into two subsets such

Top Tech Deals 👀 Samsung Gaming Monitor, Pixel Watch 2, MacBook Air, and More

Wednesday, May 1, 2024

Get a discounted M3 MacBook Air or expand your Xbox storage. How-To Geek Logo May 1, 2024 Top Tech Deals: Samsung Gaming Monitor, Pixel Watch 2, MacBook Air, and More Get a discounted M3 MacBook Air or

Infographic | Visualizing Global Gold Production in 2023 🏅

Wednesday, May 1, 2024

Gold production in 2023 was led by China, Australia, and Russia, with each outputting over 300 tonnes. View Online | Subscribe Presented by: Access European benchmarks with a trusted 25-year history

⚙️ GPT-5 may be releasing sooner than expected

Wednesday, May 1, 2024

Plus: Amazon rebrands AI branch ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Noonification: How to Create a CI/CD Pipeline Using GitHub and AWS EC2

Wednesday, May 1, 2024

Top Tech Content sent at Noon! Get Algolia: AI Search that understands How are you, @newsletterest1? 🪐 What's happening in tech today, May 1, 2024? The HackerNoon Newsletter brings the HackerNoon

Arc for Windows is better than Chrome

Wednesday, May 1, 2024

Adobe bug bounty; Rabbit's first R1 software update; Dream podcaster mic -- ZDNET ZDNET Tech Today - US May 1, 2024 placeholder Arc browser is now available for Windows and it's so much better

Is TikTok trying to get banned from the App Store early?

Wednesday, May 1, 2024

TikTok is offering some users a way to buy its in-app tipping tokens outside of Apple's App Store. View this email online in your browser By Alex Wilhelm Wednesday, May 1, 2024 Good morning, and