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

#559 – JANUARY 10, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Discover bpython: A Python REPL With IDE-Like Features
In this tutorial, you’ll learn about bpython, an alternative Python REPL that brings code suggestions and many other IDE-like features to the terminal. Once you discover how much bpython can improve your productivity, you’ll never want to return to using the vanilla Python REPL again.
REAL PYTHON

perf Engineering With Python 3.12
Python 3.12 can run in a special mode that allows Python functions to appear in the output of the Linux perf profiler. This article walks you through a dummy application and using the profiler to find the bad parts.
PETER MCCONNELL

Fastest Residential Proxies to Scrape Anything Only at Smartproxy
Forget IP blocks, flags, and CAPTCHA trouble. Shift your scraping game to max gear with the most effective residential proxies. Gather data seamlessly with the connection speed of <0.61 seconds — the fastest in the market! Enjoy 40M+ IPs from 195+ locations worldwide with a 99.47% success rate →
SMARTPROXYsponsor

Packaging With Native Binaries
The pypackaging-native site is a collection of content about key Python packaging topics and issues for projects using native code, with a focus on scientific, data science, and ML/AI projects in the PyData ecosystem.
PYPACKAGING-NATIVE.GITHUB.IO

Pillow 9.4.0 Released
PILLOW.READTHEDOCS.IO

Plone 6.0 Released
PLONE.ORG

Django Bugfix Release: 4.1.5
DJANGO SOFTWARE FOUNDATION


Discussions


Python 2 Removed From Debian
The last remnants of Python 2.7 have been removed from the Debian builds. As with all discussions on the internet, this is both a celebration and a diatribe about how it was all done wrong. Enjoy!
HACKER NEWS


Articles & Tutorials


Microfeatures I’d Like to See in More Languages
Some language features are intrinsic to the language, others are syntactic sugar that could easily be borrowed in other programming languages. This opinion piece from Hillel highlights some features from more obscure languages that should be stolen by the mainstream. Two Python features he’d like to see in more languages are chained evaluations (2 <= x < 10) and numbers with separators (1000000 == 1_000_000).
HILLEL WAYNE

What I Learned Through Advent of Code 2022
This opinion piece from Dan Turkel outlines the new things he learned as part of doing the Advent of Code at the end of 2022. Topics include revisiting some classic data structures, using the new match statements, the not so new walrus operator, and more.
DAN TURKEL

How to Write Tests in Python Using Doctest
Python’s doctest tool is useful to write tests for the code in the function by defining both the input and output values, saving time and effort while writing top quality code. Learn more about how to write tests using doctest using this step-by-step guide from Snyk →
SNYK.IOsponsor

Build Cross-Platform GUI Apps With Kivy
In this video course, you’ll learn how to build a cross-platform mobile application with Python and the Kivy GUI framework. You’ll discover how to develop an application that can run on your desktop as well as your phone. Then, you’ll package your app for Windows, Linux, and macOS.
REAL PYTHON course

How Shapley Values Work
Shapley values are machine learning explainability techniques that are easy to use and interpret. However, trying to make sense of their theory can be intimidating. This article explores how Shapley values work through code and simplified explanations.
AIDANCOOPER.CO.UK • Shared by Aidan Cooper

Exploratory Spatial Data Analysis With Python
Kyle Walker is the author of “Analyzing US Census Data: Methods, Maps, and Models, in R”. In this article he translates some of the book’s examples into Python.
KYLE WALKER

Writing a Python SQL Engine From Scratch
SQLGlot is a an SQL parser/translator written in Python. This accompanying article explains the motivation behind the work and highlights parts of the design.
TOBY MAO

Infinite AI Array
Learn about an insane library containing special lists and dicts so that any missed calls automatically go to GPT3 and add a predictive value in its place.
IANBICKING.ORG

30 Helpful Python Snippets
A collection of short Python snippets that can be helpful when you code. Includes uniqueness, anagrams, sizing info, chaining function calls, and more.
LARA BALDWIN

Find Your Next Tech Job Through Hired
Hired is home to thousands of companies, from startups to Fortune 500s, that are actively hiring the best engineers, designers, data scientists, and more. Create a profile to let hiring managers extend interview requests to you. Sign for free today!
HIREDsponsor

Add Google Maps to a Jupyter Notebook
This article shows you how to integrate Google Maps into a Jupyter Notebook. Once embedded, you can programmatically manipulate the maps.
ALEXANDER TYLER

Lazy Evaluation Using Recursive Python Generators
Learn how to implement “lazy recursion” using recursive generators. Includes concrete examples where this technique is useful.
MARTIN HEINZ


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 →

Cross Platform GUI Framework Based on HTML/CSS
GITHUB.COM/SCRIPTIOT • Shared by dragondjf

Loge Notebook: Interactive Reports
LOGE.READTHEDOCS.IO • Shared by Lukasz Laba

Python Terminal Music Player
GITHUB.COM/BMWANT • Shared by Misha Behersky

pyright: Static Type Checker for Python
GITHUB.COM/MICROSOFT

meltano: CLI for ELT+
GITHUB.COM/MELTANO

📆🐍 Upcoming Python Events


Santa Cruz Python Meetup
January 11, 2023

Heidelberg Python Meetup
January 11, 2023

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

Python Atlanta
January 12, 2023

PyData Leeds Inaugural Event
January 24, 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

Key phrases

Older messages

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

Comprehensions, pathlib, Guido Interview, and More

Tuesday, December 6, 2022

Using Python's `pathlib` Module #554 – DECEMBER 6, 2022 VIEW IN BROWSER The PyCoder's Weekly Logo Using Python's pathlib Module In this video course, you'll learn how to effectively

You Might Also Like

Architecture Weekly #177 - 29nd April 2024

Monday, April 29, 2024

How do you make predictions about tech without the magical crystal ball? We did that today by example. We analysed what Redis and Terraform license changes relate to the new Typescript framework Effect

Software Testing Weekly - Issue 217

Monday, April 29, 2024

How do you deal with conflicts in QA? ⚔️ View on the Web Archives ISSUE 217 April 29th 2024 COMMENT Welcome to the 217th issue! How do you deal with conflicts in QA? Ideally, you'd like to know how

📧 Did you watch the free MMA chapters? (1+ hours of content)

Monday, April 29, 2024

Did you watch the free MMA chapters? Hey there! 👋 I wish you a fantastic start to the week. Last week, I launched Modular Monolith Architecture. More than 300+ students are already deep into the MMA

WP Weekly 191 - Essentials - Duplicate in Core, White Label Kadence, Studio for Mac

Monday, April 29, 2024

Read on Website WP Weekly 191 / Essentials It seems many essential features are being covered in-house, be it the upcoming duplicate posts/pages feature in the WordPress core or the launch of Studio

SRE Weekly Issue #422

Monday, April 29, 2024

View on sreweekly.com A message from our sponsor, FireHydrant: FireHydrant is now AI-powered for faster, smarter incidents! Power up your incidents with auto-generated real-time summaries,

Quick question

Sunday, April 28, 2024

I want to learn how I can better serve you ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Kotlin Weekly #404 (NOT FOUND)

Sunday, April 28, 2024

ISSUE #404 28st of April 2024 Announcements Kotlin Multiplatform State of the Art Survey 2024 Help to shape and understand the Kotlin Multiplatform Ecosystem! It takes 4 minutes to fill this survey.

📲 Why Is It Called Bluetooth? — Check Out This AI Text to Song Generator

Sunday, April 28, 2024

Also: What to Know About Emulating Games on iPhone, and More! How-To Geek Logo April 28, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your

Daily Coding Problem: Problem #1425 [Easy]

Sunday, April 28, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Suppose an arithmetic expression is given as a binary tree. Each leaf is an

PD#571 Software Design Principles I Learned the Hard Way

Sunday, April 28, 2024

If there's two sources of truth, one is probably wrong. And yes, please repeat yourself. ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌