Prototype Pollution, PEP 703, 2022's Most Popular, and More

#560 – JANUARY 17, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
PEP 703: Making the GIL Optional in CPython
This PEP proposes changes to the CPython build process that would allow you to build a GIL-less interpreter. This kind of interpreter would not be ABI compatible with the GIL-based one, and the programmer would become responsible for some locking situations in C-extensions. If implemented, this would lead the way to being able to operate without the GIL in cases where backward compatibility issues are not important.
PYTHON.ORG

Prototype Pollution in Python
Prototype pollution is a particular attack in JavaScript where the base Prototype object is modified having wide ranging effects. Unfortunately, similar things can be accomplished in Python by messing with __class__.__base__. Read on for details.
ABDULRAHEEM KHALED

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. Our SQL-based connectors streamline data access making it easy to access real-time data from on-premise or cloud databases, SaaS, APIs, NoSQL and Big Data →
CDATA SOFTWAREsponsor

Learn From 2022’s Most Popular Python Tutorials and Courses
Revisit some of your favorite Real Python tutorials and video courses from 2022. It’s been a busy year, with new materials on topics ranging from the basics to web development, machine learning, effective coding environments, and more.
REAL PYTHON

Python 3.12.0 Alpha 4 Released
CPYTHON DEV BLOG


Discussions


Debugging in Python Using code.interact()
TWITTER.COM/KARPATHY


Articles & Tutorials


Python Folium: Create Web Maps From Your Data
You’ll learn how to create web maps from data using folium. The package combines Python’s data wrangling strengths with the data visualization power of the JavaScript library Leaflet. In this tutorial, you’ll create and style a choropleth world map that shows the ecological footprint per country.
REAL PYTHON

Speeding Up Your DataFrames With Polars
How can you get more performance from your existing data science infrastructure? What if a DataFrame library could take advantage of your machine’s available cores and provide built-in methods for handling larger-than-RAM datasets? This week on the show, Liam Brannigan is here to discuss Polars.
REAL PYTHON podcast

Access Web Data with Bright Data’s Toolkit for Developers
Bright Data, your 360 solution for data collection. Access complex websites and solve CAPTCHAs . Collect Data at scale from any location. Choose a dataset from our marketplace or create your own web scraper in minutes.  Find out how Bright Data makes web data accessible →
BRIGHT DATAsponsor

Logging Practices I Follow
“No matter what kind of software you’re developing, you most definitely leverage logging to some extent, probably every single day.” This article outlines good cross-language logging practices making it easier to find bugs and understand what has happened in your software.
ELIRAN TURGEMAN

Same Words, Different Meanings
One of the difficulties when comparing programming languages is that they sometimes use the same words to describe similar things, but always with differences. Sometimes the differences are large enough that we want to use different words, but often they are not.
NED BATCHELDER

Combining R and Python With {reticulate} and Quarto
Sometimes you might need to use R. Sometimes you might need to use Python. Sometimes you need to use both at the same time. This blog post shows you how to combine R and Python code using {reticulate} and output the results using Quarto.
NICOLA RENNIE

Structured Logging With Structlog
Structured logging is the idea of creating logs that are both human readable and easily machine parsable. This article introduces structured logging, its advantages, and the structlog package for Python.
MAXIMILIAN FILTENBORG

The yaml Document From Hell
As a data format, yaml is extremely complicated and it has many footguns. In this post Ruud explains some of those pitfalls by means of an example and suggests a few simpler and safer yaml alternatives.
RUUD VAN ASSELDONK

Edge Computing & Data Replication
Companies are doing more work at the edge with the need for high precision, and highly granular data in real-time for decision-making. This e-book shows the challenges around edge computing and provides a solution to address this critical pain point.
INFLUXDATAsponsor

Django: How to Log Users in With Their Email
Learn how to log users in with an email instead of a username with Django. This tutorial makes full use of Django’s built-in features to minimise custom code.
CTRLZBLOG.COM • Shared by Alice Ridgway

I Scanned PyPI and Found 57 Live AWS Keys
Tom got stung by a leaked AWS key a while back and decided to go hunting. This article shows you how he scanned PyPI and just how many leaked keys he found.
TOM FORBES


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 →

nanoGPT: Repository for Training GPTs
GITHUB.COM/KARPATHY

Designed a Keyboard Using Python
HSGW

fiftyone: Build High-Quality Datasets and Computer Vision Models
GITHUB.COM/VOXEL51

PyChatGPT: Python Client for the Unofficial ChatGPT API
GITHUB.COM/RAWANDAHMAD698

Neutron: Cross-Platform Apps in Python Using HTML and CSS
GITHUB.COM/IANTERZO

📆🐍 Upcoming Python Events


Python Meeting Düsseldorf
January 18, 2023

Weekly Real Python Office Hours Q&A (Virtual)
January 18, 2023

PyData Bristol Meetup
January 19, 2023

Python Northwest
January 19, 2023

PyLadies Dublin
January 19, 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

bpython, perf and Python 3.12, Packaging Binaries, and More

Tuesday, January 10, 2023

Discover `bpython`: A Python REPL With IDE-Like Features #559 – JANUARY 10, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Discover bpython : A Python REPL With IDE-Like Features In this tutorial,

Real Python 2022 Wrap Up, Classifying Virtual Envs, PyTorch Compromised, and More

Tuesday, January 3, 2023

2022 Real Python Tutorial & Video Course Wrap Up #558 – JANUARY 3, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo 2022 Real Python Tutorial & Video Course Wrap Up “It's been another

Best of PyCoder's 2022

Tuesday, December 27, 2022

Python 3.11: Cool New Features for You to Try #557 – DECEMBER 27, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo It is that time of year again, everybody is making lists. Hopefully you weren't

Build Systems, PEP 701, Python in ChatGPT, and More

Tuesday, December 20, 2022

Using a Build System & Continuous Integration in Python #556 – DECEMBER 20, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Using a Build System & Continuous Integration in Python What

Python Through Stories, Parallelism Control, Mastodon Bot on AWS, and More

Tuesday, December 13, 2022

Package Python Code With `pyproject.toml` & Listing Files With `pathlib` #555 – DECEMBER 13, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Package Python Code With pyproject.toml & Listing

You Might Also Like

Christmas On Repeat 🎅

Monday, December 23, 2024

Christmas nostalgia is a hell of a drug. Here's a version for your browser. Hunting for the end of the long tail • December 22, 2024 Hey all, Ernie here with a refresh of a piece from our very

SRE Weekly Issue #456

Monday, December 23, 2024

View on sreweekly.com A message from our sponsor, FireHydrant: On-call during the holidays? Spend more time taking in some R&R and less getting paged. Let alerts make their rounds fairly with our

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