Issue #383

CPython Deep Dive, Refactoring Functions, Python 2.x EOL, and More

Aug. 27, 2019

CPython Deep Dive, Refactoring Functions, Python 2.x EOL, and More
#383 – AUGUST 27, 2019 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Your Guide to the CPython Source Code
In this detailed Python tutorial, you’ll explore the CPython source code. By following this step-by-step walkthrough, you’ll take a deep dive into how the CPython compiler works and how your Python code gets executed.
REAL PYTHON

Refactoring Functions to Multiple Exit Points
“It’s sometimes claimed that not only should a function have a single entry point, but that it should also have a single exit. One could argue such from sense of mathematical purity. But unless you work in a programming language that combines mathematical purity with convenience […] that point seems moot to me.”
MARTIJN FAASSEN

Safely Roll Out New Features in Python With Optimizely Rollouts
Tired of code rollbacks, hotfixes, or merge conflicts? Instantly turn on or off features in production. Comes with unlimited collaborators and feature flags. Embrace safer CI/CD releases with SDKs for Python and all major platforms. Get started today for free →
OPTIMIZELYsponsor

Python 3 Readiness Update
This is an automated Python 3 support table for the most popular packages. 360 out of the 360 most downloaded packages on PyPI now support Python 3.
PY3READINESS.ORG

Time to Shed Python 2
“Don’t constrict yourself, Python 2 slithers off into the sunset in 2020.”
NCSC.GOV.UK

Onelinerizer: Rewrite Python Code as a Single Line
Fun!
ONELINERIZER.COM


Discussions


What Was the Most the Rewarding Thing That You’ve Automated?
REDDIT

Why Didn’t Python Beat Out JavaScript in the Browser?
REDDIT


Python Jobs


Python Web Developer
PREMIERE DIGITAL SERVICES 📍 REMOTE

Senior Backend Software Engineer
CLOSE 📍 REMOTE

Senior Python Developer
INQUEST 📍 AUSTIN, TX

Backend and DataScience Engineers
CITYMAPPER LTD 📍 LONDON, RELOCATION & VISA POSSIBLE

Software Engineering Lead, Python
SIMPLELEGAL 📍 HOUSTON, TX

Software Engineer
INVITAE 📍 MULTIPLE US LOCATIONS

Senior Software Developer
LEVVEN ELECTRONICS LTD. 📍 EDMONTON, AB

Lead Data Scientist
UTILANT LLC 📍 BUFFALO, NY

More Python Jobs >>>


Articles & Tutorials


How to Use Python Lambda Functions
Learn about Python lambda functions and see how they compare with regular functions and how you can use them in accordance with best practices.
REAL PYTHON video

Quick and Dirty Mock Service With Starlette
“Have you ever needed to mock out a third party service for use in a large testing environment? I recently did, and I used Starlette, a new async Python web framework, to do it. See what Starlette offers!”
MATT LAYMAN • Shared by Matt Layman

Python Developers Are in Demand on Vettery
Vettery is an online hiring marketplace that’s changing the way people hire and get hired. Ready for a bold career move? Make a free profile, name your salary, and connect with hiring managers from top employers today →
VETTERYsponsor

Insider Trading Visualized With Python
“We use Python to visualize insider trading as reporting in SEC Form 4 filings. Our goal is find patterns to create signals for buy/sell decisions and general risk monitoring of investment portfolios.”
JAN L. SCHROEDER

Editing Excel Spreadsheets in Python With openpyxl
Learn how to handle spreadsheets in Python using the openpyxl package. You’ll see how to manipulate Excel spreadsheets, extract information from spreadsheets, create simple or more complex spreadsheets, including adding styles, charts, and so on.
REAL PYTHON

Handling Imbalanced Datasets With SMOTE in Python
Use SMOTE and the Python package, imbalanced-learn, to bring harmony to an imbalanced dataset.
JUAN DE DIOS SANTOS

Building an Image Hashing Search Engine With VP-Trees and OpenCV
Learn how to build a scalable image hashing search engine using OpenCV, Python, and VP-Trees.
ADRIAN ROSEBROCK

How the Gunicorn WSGI Server Works
An overview of how the Gunicorn WSGI HTTP server works internally.
REBECA SARAI

Left-Recursive PEG Grammars
Part 5 of Guido’s series on PEG parsers.
GUIDO VAN ROSSUM

Continuously Deploying Django to DigitalOcean With Docker and GitLab
MICHAEL HERMAN • Shared by Michael Herman

101 Machine Learning Algorithms for Data Science
NATHAN PICCINI • Shared by Blair Heckel

Minimax With Alpha-Beta Pruning in Python
MINA KRIVOKUĆA

Type-Checking Django and DRF
NIKITA SOBOLEV


Projects & Code


rapidtables: Fast Table Rendering for Console
GITHUB.COM/ALTTCH

aiomixcloud: Mixcloud API Wrapper for Python and Async IO
GITHUB.COM/AMIKROP • Shared by Aristotelis Mikropoulos

drf-pretty-update: Django REST Framework (DRF) Writable Nested Fields
GITHUB.COM/YEZYILOMO • Shared by Yezileli Ilomo

vermin: Detect the Minimum Python Versions Needed to Run Code
GITHUB.COM/NETROMDK

cloud-detect: Guess a Host’s Cloud Provider
GITHUB.COM/DGZLOPES

supersqlite: Supercharged SQLite Library for Python
GITHUB.COM/PLASTICITYAI

darglint: Linter Which Checks That the Docstring Description Matches the Definition
GITHUB.COM/TERRENCEPREILLY

portray: Zero-Config Documentation Websites for Python
TIMOTHYCROSLEY.GITHUB.IO

mini-django: Single File Django Project
GITHUB.COM/READEVALPRINT

TypedDjango: Type-Checking Stubs for Django
GITHUB.COM

📆🐍 Upcoming Python Events


PyCon Latam 2019
August 29 to September 1, 2019

EuroSciPy 2019
September 2 to September 7, 2019

Melbourne Python Users Group, Australia
September 2, 2019

Dominican Republic Python User Group
September 3, 2019

Heidelberg Python Meetup
September 4, 2019
Happy Pythoning!
Copyright © 2019 PyCoder’s Weekly, All rights reserved.