Issue #444

A Faster CPython, Modulo in Practice, Isolating Code, and More

Oct. 27, 2020

A Faster CPython, Modulo in Practice, Isolating Code, and More
#444 – OCTOBER 27, 2020 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Python Modulo in Practice: How to Use the % Operator
In this tutorial, you’ll learn about the Python modulo operator (%). You’ll look at the mathematical concepts behind the modulo operation and how the modulo operator is used with Python’s numeric types. You’ll also see ways to use the modulo operator in your own code.
REAL PYTHON

Implementation Plan for Speeding Up CPython
Core contributer Mark Shannon has a plan to increase CPython’s performance fivefold in four stages of updates.
MARK SHANNON

Pinpoint Hard-To-Reproduce Problems in Your Production Code Without Affecting Your App Performance.
Datadog’s Continuous Profiler is an always-on, production code profiler that enables you to analyze code-level performance across your entire environment, with minimal overhead. Profiles reveal which functions (or lines of code) consume the most resources, such as CPU and memory. Try it yourself →
DATADOGsponsor

On Code Isolation in Python
How can you hide, or isolate, Python code in an application from potential bad actors? Learn several methods for doing so and why you should never run thirs party code in the same Python interpreter as your applications.
ARTEM GOLUBIN

The Real Python Podcast – Episode #32: Our New “Python Basics” Book & Filling the Gaps in Your Learning Path
Do you have gaps in your Python learning path? If you’re like me, you may have followed a completely random route to learn Python. This week on the show, David Amos is here to talk about the release of the Real Python book, “Python Basics: A Practical Introduction to Python 3”. The book is designed not only to get beginners up to speed but also to help fill in the gaps many intermediate learners may still have.
REAL PYTHON

Python Software Foundation Fellow Members for Q3 2020
Congratulations to all the new fellows!
PYTHON SOFTWARE FOUNDATION


Discussions


Speeding Up CPython
Mark Shannon has a plan to speed up CPython roughly 5 times over four stages. The community opines.
PYTHON-DEV

The youtube-dl GitHub Repo Has Received a DMCA Takedown Request From the RIAA
REDDIT


Python Jobs


Senior Full Stack Developer
PANOPTA 📍 CHICAGO, IL, USA

Senior Software Engineer
SILICON THERAPEUTICS 📍 REMOTE

Senior Research Programmer
SILICON THERAPEUTICS 📍 REMOTE

Business Analyst/Data Analyst
PROJAS TECHNOLOGIES, LLC 📍 SOUTH SAN FRANCISCO, CA, USA

More Python Jobs >>>


Articles & Tutorials


How to Shoot Yourself in the Foot With Python, Part 1
If you’re new to Python, you might find yourself confused by some of the situations described in this article. Learn about five mistakes you could make, why they happen, and how to fix them.
MIGUEL BRITO

Using the Facade Pattern to Wrap Third-Party Integrations
“There are many ways we can create systems with layered architecture; one of the more popular techniques is to leverage Structural Design Patterns to create explicit relationships between classes. This post explores how the Facade Pattern can be used to wrap third-party integrations to improve software design.”
ALY SIVJI • Shared by Aly Sivji

Python Developers Are in Demand on Vettery
Get discovered by top companies using Vettery to actively grow their tech teams with Python developers (like you). Here’s how it works: create a profile, name your salary, and connect with hiring managers at startups to Fortune 500 companies. Sign up today - it’s completely free for job-seekers →
VETTERYsponsor

Creating a Binary Search in Python
Binary search is a classic algorithm in computer science. In this step-by-step course, you’ll learn how to implement this algorithm in Python. You’ll learn how to leverage existing libraries as well as craft your own binary search Python implementation.
REAL PYTHON

Solving the Sequence Alignment Problem in Python
Sequence alignment is a method of pairing elements of two sequences under some constraints. It can be used to analyze sequences of biological data, such as nucleic acid sequences. Learn how solve the sequence alignment problem in Python using a brute-force method and a more efficient method that uses dynamic programming.
JOHN LEKBERG

Getting Started with OpenTelemetry and Distributed Tracing in Python
Learn why distributed tracing is the foundation for observability, and how to instrument your Python applications with OpenTelemetry in under 10 minutes.
LIGHTSTEPsponsor

Level Up Your Skills With the Real Python Slack Community
In this guide, you’ll learn how to get the most out of your Real Python membership using the community Slack. You’ll learn some lesser-known features of Slack and see how to communicate your technical problems more effectively.
REAL PYTHON

Higher Kinded Types in Python
Higher kinded types (HKT) are a notion in type theory that can be really helpful in functional programming and typing tensors and matrices. HKTs aren’t supported yet in Python, but you can emulate them.
NIKITA SOBOLEV

Automating Photoshop
Learn how to automate Photoshop using Python and the Photoshop COM programming interface.
DAVID VAILLANCOURT


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 →

lambda-networks: A New Approach to Image Recognition That Reaches SOTA With Less Compute
GITHUB.COM/LUCIDRAINS

you-get: Dumb Downloader That Scrapes the Web
GITHUB.COM/SOIMORT

nbQA: Run Any Standard Python Code Quality Tool on a Jupyter Notebook
GITHUB.COM/NBQA-DEV

Sorting-Algorithms-Visualizer: See How Sorting Algorithm Works With Pygame
GITHUB.COM/LUCASPILLA

Faster-Cpython: How to Make CPython Faster
GITHUB.COM/MARKSHANNON

Super-mario-bros-PPO-pytorch: Proximal Policy Optimization (PPO) Algorithm for Super Mario Bros
GITHUB.COM/UVIPEN

📆🐍 Upcoming Python Events


SciPy Japan 2020
October 30 to November 3, 2020

Python Brasil 2020
November 2 to November 9, 2020
Happy Pythoning!
Copyright © 2020 PyCoder’s Weekly, All rights reserved.