Issue #442

Python 3.9 Follow-Up, PSF Python Survey 2020, Upcoming pip Changes, Web Scraping, and More

Oct. 13, 2020

Python 3.9 Follow-Up, PSF Python Survey 2020, Upcoming pip Changes, Web Scraping, and More
#442 – OCTOBER 13, 2020 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Exploring the New Features of Python 3.9
Python 3.9 has arrived! Real Python contributors Geir Arne Hjelle and Christopher Trudeau are walking you through changes and new features in Python 3.9, such as time zone improvements, merging dictionaries, the new parser, type hints, and more.
REAL PYTHON podcast

Converting USENET Tape Archives to Website With PostgreSQL and Python
“There were approximately 2.1 million posts in these archives created between Feb 1981 and June of 1991. This article describes the journey of converting those tapes into fully searchable PostgreSQL database and later also into the usenetarchives.com website.”
JOZEF JAROSCIAK

Master Python Testing for Android, iOS and Web in One Package [Python 3.9 Supported]!
Cover any mobile or web testing with this easy open source automation solution. With a single executable, zero configurations, and familiar Selenium APIs, you can develop and execute robust Python tests & get automatic HTML test reports as a bonus! All you need is: pip install testproject-python-sdk
TESTPROJECTsponsor

Python Developers Survey 2020
“This is the fourth iteration of the official Python Developers Survey. With this survey, we aim to understand how the world of Python development looks today and how it compares to last year. In 2019, over 24,000 Python developers from 150 countries responded sharing their opinions and helping us get an accurate picture of the Python community.”
PSF & JETBRAINS

Changes to the pip Dependency Resolver in 20.2
Changes in the behavior of pip install will reduce inconsistency and make it stricter. Pip will no longer install a combination of packages that is mutually inconsistent and if you ask pip to install two packages with incompatible requirements, it will refuse (rather than installing a broken combination, like it did in previous versions). These changes will become the default in pip 20.3, due to be released in October.
PYPA.IO

pip search User Feedback Survey
The pip team are considering removing pip search, or changing the way that it works. To help inform our decision, please tell us about your experience using pip search.
PIP TEAM

PyOxidizer 0.8 Released
GREGORY SZORC

Python Release Cycle Visualization
DUSTIN INGRAM


Discussions


Made This Tool With Python and My Son Now Hates Me
“I use it to generate endless random basic math questions for him to practice…”
REDDIT


Python Jobs


Python Software Developer Lead
PNC FINANCIAL SERVICES GROUP 📍 REMOTE

Python Architect / Lead
CYNET SYSTEMS 📍 REMOTE

Sr Backend Engineer Python/Django
JOBOT 📍 REMOTE

Python/React Engineer
OTTERBASE - TN 📍 REMOTE

More Python Jobs >>>


Articles & Tutorials


Web Scraping With Beautiful Soup and Python
In this course, you’ll walk through the main steps of the web scraping process. You’ll learn how to write a script that uses Python’s requests library to scrape data from a website. You’ll also use Beautiful Soup to extract the specific pieces of information that you’re interested in.
REAL PYTHON video

Understanding and Preventing DoS in Web Applications
This article provides a framework for engineering and application security teams to think about denial-of-service (DoS) risk, breaks down DoS vulnerabilities into high-, medium-, and low-risk classes, and has recommendations for mitigations at each layer.
JACOB KAPLAN-MOSS

Want to Level-Up Your Python Skills?
Write better code, debug faster, and become more productive with PyCharm, a tightly integrated IDE that understands your code and provides a complete set of tools to help you make it better. Try PyCharm now and code like a pro! Free trial →
JETBRAINSsponsor

Find & Fix Code Bugs in Python: Debug With IDLE
Learn how to identify and fix logic errors, or bugs, in your Python code. You’ll use the built-in debugging tools in Python’s Integrated Development and Learning Environment to practice locating and resolving bugs in an example function.
REAL PYTHON

How I Tried to Reduce Pylint Memory Usage
“[Pylint] was consuming a lot of memory, causing OOM failures if we tried to run it too much in parallel. I decided to roll up my sleeves and figure out: What exactly was consuming so much memory? Is there a way to avoid doing this?”
@RTPG_

Using ggplot in Python: Visualizing Data With plotnine
In this tutorial, you’ll learn how to use ggplot in Python to build data visualizations with plotnine. You’ll discover what a grammar of graphics is and how it can help you create plots in a very concise and consistent way.
REAL PYTHON

Ordered Dict Surprises
“Since Python 3.6, regular dictionaries retain their insertion order. […] Here are two surprising things about these ordered dicts: You can’t get the first item and OrderedDict is a little different.”
NED BATCHELDER

Case Study: Processing Historical Weather Pattern Data With Python
This article is a case study showing how to use Python to download and process historical temperature data in order to do analysis on the relationship between air temperature and power consumption.
CHRIS MOFFITT

Xkcd “StackSort” Implemented in Python
“StackSort connects to StackOverflow, searches for ‘sort a list’, and downloads and runs code snippets until the list is sorted.” This is obviously not safe for production use ;-)
DAVID BUCKLEY

Learn to Secure Your Python Apps at SnykCon 2020
A free, multi-track virtual event. Learn from leading security engineers and developers in hands-on technical sessions so you can work with your team to avoid malicious attacks and deliver secure code.
SNYK.IOsponsor

Porting Launchpad to Python 3: Progress Report
“Launchpad still requires Python 2, which in 2020 is a bit of a problem. Unlike a lot of the rest of 2020, though, there’s good reason to be optimistic about progress.”
COLIN WATSON

Embedding Python in Go
A practical example for executing Python code in a Golang program and exchanging data between Go and Python. Shows how to use the Python C API in Go.
CHRISTIAN KORNECK • Shared by Christian Korneck

PySDR: A Guide to SDR and DSP Using Python
A detailed guide / online textbook to Software-Defined Radio (SDR) and Digital Signal Processing (DSP) with Python.
DR. MARC LICHTMAN

Python Hash Tables: Understanding Dictionaries
An overview of Python hash tables and their main implementation: the dict object.
DAVIDE MASTROMATTEO • Shared by Davide Mastromatteo

Python PEPs Graph Visualization
Click on a PEP to see other PEPs it mentions.
VINAYAK MEHTA • Shared by Vinayak Mehta

What Makes a Healthy Python Codebase?
VLAD TEMIAN

PySide vs PyQt: Understanding the Difference
RAAHIM SIDDIQI • Shared by Raahim Siddiqi


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 →

aioupnp: Interact With UPnP Gateways Using asyncio
GITHUB.COM/LBRYIO

math-worksheet-generator: Create Basic Addition, Subtraction and Multiplication Practice Questions
GITHUB.COM/JANUSCHUNG

argparse Builder: Create Complex argparse Interfaces With a Convenient Form-Based GUI
KITAKITSUNE.ORG

Konfik: The Stragely Familiar Config Parser
REDOWAN DELOWAR • Shared by Redowan Delowar

python-doc: CLI Tool That Opens Python Docs in the Browser
GITHUB.COM/VINAYAK-MEHTA • Shared by Vinayak Mehta

Happy Pythoning!
Copyright © 2020 PyCoder’s Weekly, All rights reserved.