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

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

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