PEP 618 Accepted, Python vs COVID-19, "pickle" Flaws You Should Know About, and More

#426 – JUNE 23, 2020
The PyCoder’s Weekly Logo
Hands-On Linear Programming: Optimization With Python
In this tutorial, you’ll learn about implementing optimization in Python with linear programming libraries. Linear programming is one of the fundamental mathematical optimization techniques. You’ll use SciPy and PuLP to solve linear programming problems.
REAL PYTHON

OpenSafely: Using Python, SQL and Docker to Understand Coronavirus Health Data
Django and Payton developers teamed up with clinicians and researchers to release a new analytics platform called OpenSafely that allows researchers to analyze NHS health records from over 24 million people In the UK. With strict safety and privacy standards, OpenSafely may help redefine how medical data is analyzed and shared.
JO BEST

Working From Home? 7 Coding-Related Tools to Keep Kids Busy
ActiveState has curated a list of coding-related toys and tools to keep your kids productively busy, so that you can get your own programming tasks done. Check out the list, including ActiveState’s platform for building Python runtimes. →
ACTIVESTATEsponsor

PEP 618 Accepted for Python 3.10: Add Optional Length-Checking to zip()
PEP 618, which adds a new strict parameter to the built-in zip() function that optionally enforces same-length iterables, has been accepted for Python 3.10. Read the acceptance letter here and some interesting discussion about the PEP on Reddit.
PYTHON.ORG

Pickle’s Nine Flaws
“Python’s pickle module is a very convenient way to serialize and de-serialize objects. It needs no schema, and can handle arbitrary Python objects. But it has problems. This post briefly explains the problems.”
NED BATCHELDER

PyLadies India Embarked On Its Journey
On June 20th, 2020 PyLadies India held their first Meetup featuring a talk by CPython Core Contributor Mariatta Wijaya. Organizer Anwesha Das recounts her PyLadies journey and the steps the organization took to make the meetup a reality.
ANWESHA DAS

Securing a Containerized Django Application with Let’s Encrypt
Secure a containerized Django app running behind an HTTPS Nginx proxy with Let’s Encrypt SSL certificates.
TESTDRIVEN.IO • Shared by Jan Giacomelli

Advanced pytest Techniques I Learned While Contributing to pandas
Contributing to open-source projects is a great way to learn new techniques and level up your skills. Martin Winkel shares five advanced pytest techniques he learned while contributing to the pandas project.
MARTIN WINKEL

NumPy 1.19.0 Is Now Available
Version 1.19.0 drops support for Python 3.5 and below, including Python 2.
NUMPY.ORG

2020 Python Software Foundation Board of Directors Election Results
PYTHON SOFTWARE FOUNDATION

DjangoCon US 2020 Is Cancelled
DJANGO SOFTWARE FOUNDATION


Discussions


Draw With Your CPU (Code Golf)
Here’s a challenge: draw the word “MAIL” on your operating system CPU usage graph. Can you think of a simple way to do it with Python? Read on and get your mind blown with a fun round of code golf.
STACKEXCHANGE.COM

You Probably Should Be Using JupyterLab Instead of Jupyter Notebooks
Are you using JupyterLab yet?
REDDIT

Regex to Find a Pair of Adjacent Digits With Different Digits Around Them
STACK OVERFLOW


Python Jobs


Senior Python Engineer (Remote)
GORGIAS

Python Developer (Remote)
LORVEN TECHNOLOGIES, INC.

Senior Python Developer (Remote)
VISIONAIRE PARTNERS

More Python Jobs >>>


Articles & Tutorials


Property Testing With Complex Inputs
Property based testing is a powerful tool for generating test data and probing edge cases. Once you’ve learned the basics of a framework like Hypothesis, though, you might be left wondering how to generate complex data needed to test real world applications. Learn about several strategies in this intermediate-level tutorial.
HILLEL WAYNE

Generating Cooking Recipes Using TensorFlow and LSTM Recurrent Neural Network: A Step-By-Step Guide
Learn about LSTM (Long short-term memory) and RNN (Recurrent Neural Network) techniques while building a recipe generator so that you too can enjoy delicious creations like “Cream Soda with Onions” and “Salmon Mousse of Beef and Stilton Salad with Jalapeños.”
OLEKSII TREKHLEB

Profile, Understand & Optimize Python Code Performance
You can’t improve what you can’t measure. Profile and understand Python code’s behavior and performance (Wall-time, I/O, CPU, HTTP requests, SQL queries). Browse through appealing graphs. Blackfire.io is now available as Public Beta. New features added regularly. →
BLACKFIREsponsor

PySimpleGUI: The Simple Way to Create a GUI With Python
In this step-by-step tutorial, you’ll learn how to create a cross-platform graphical user interface (GUI) using Python and PySimpleGUI. A graphical user interface is an application that has buttons, windows, and lots of other elements that the user can use to interact with your application.
REAL PYTHON

Creating a Discord Bot in Python
In this course, you’ll learn how to make a Discord bot in Python and interact with several APIs. You’ll learn how to handle events, accept commands, validate and verify input, and all the basics that can help you create useful and exciting automations!
REAL PYTHON course

Implementing Proxy Pattern in Python
The proxy pattern is a design pattern that promotes loose coupleing and enhanced testabaility. Learn how to use this pattern in Python and when you might want to do so.
REDOWAN DELOWAR • Shared by Redowan Delowar

All the Things You Can Do With GitHub API and Python
Learn how to use GitHub’s Python client to create issues, gists, upload files, and more.
MARTIN HEINZ • Shared by Martin Heinz

Stock Analysis in Python
Explore financial data with object-oriented programming and additive models.
WILL KOEHRSEN

Web Scraping in 5 Minutes With Python & Excel
Compare web scraping Audible audiobook data in both Python and Excel.
COREY J. GALLON • Shared by Corey J. Gallon

Should You Ship the Cython Generated C Code or Not?
STEFAN BEHNEL

Vim as Python IDE
SASS TEKOVIC


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 →

nlp: Datasets and Evaluation Metrics for Natural Language Processing in NumPy, Pandas, PyTorch and TensorFlow
GITHUB.COM/HUGGINGFACE

byob: BYOB (Build Your Own Botnet)
GITHUB.COM/MALWAREDLLC

gpt-2: Code for the Paper “Language Models Are Unsupervised Multitask Learners”
GITHUB.COM/OPENAI

macOS-Simple-KVM: Tools to Set Up a Quick macOS VM in QEMU, Accelerated by KVM
GITHUB.COM/FOXLET

stylegan2: StyleGAN2 Official TensorFlow Implementation
GITHUB.COM/NVLABS

jina: Jina Is the Cloud-Native Neural Search Framework Powered by State-Of-The-Art AI and Deep Learning
GITHUB.COM/JINA-AI

OpenSAFELY
GITHUB.COM

django-siteforms
GITHUB.COM/IDLESIGN • Shared by pythonz

dissert: Disable Python Assertions Per File/Module
GITHUB.COM/BOOTHBY

📆🐍 Upcoming Python Events


⋅ PyGotham Call for Proposals Open Until July 5 PyGotham TV is the online version of NYC’s annual Python conference. It will take place this October 2nd and 3rd. The call for talk proposals is open now through July 5. You could propose an infomercial, a talk show, a comedy routine, a sitcom, or just a regular tech talk about Python or any technology subject that interests you. PyGotham is an eclectic conference that covers policy, culture, and art, along with standard tech and Python topics.

⋅ DjangoCon Europe 2020 Goes Virtual (And Is Free)

⋅ PyCon India 2020 RFP Now Open
Happy Pythoning!
Copyright © 2020 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

 | 

Older messages

Async Python Isn't Always Faster, Python Space Science, Generators, and More

Tuesday, June 16, 2020

Getting Machine Learning to Production #425 – JUNE 16, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Getting Machine Learning to Production Millions of web apps get deployed to production every

Web Scraping Tools & Legality, How Async Should've Been, 90% Python Wheels Adoption, and More

Tuesday, June 9, 2020

Web Scraping in Python: Tools, Techniques, and Legality #424 – JUNE 9, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Web Scraping in Python: Tools, Techniques, and Legality Do you want to get

Python 3.9 PEPs, Dependency Mgmt & Injection, Python on the Raspberry Pi, and More

Tuesday, June 2, 2020

The Many Ways to Pass Code to Python From the Terminal #423 – JUNE 2, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo The Many Ways to Pass Code to Python From the Terminal You might know about

Async Python Tips, The Hypermodern Python Dev Setup, Job Hunting in a Pandemic, and More

Tuesday, May 26, 2020

Waiting in `asyncio` #422 – MAY 26, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Waiting in asyncio There are many ways to wait on the results of a coroutine in Python's asyncio framework.

Python vs JavaScript, Python Dev Survey 2019 Results, CPython 3.8.3 Released, and More

Tuesday, May 19, 2020

Python vs JavaScript for Pythonistas #421 – MAY 19, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Python vs JavaScript for Pythonistas Python and JavaScript are two of the most popular programming

You Might Also Like

JSK Daily for Feb 28, 2025

Friday, February 28, 2025

JSK Daily for Feb 28, 2025 View this email in your browser A community curated daily e-mail of JavaScript news Introducing the New Angular TextArea Component It is a robust and flexible user interface

Daily Coding Problem: Problem #1704 [Medium]

Friday, February 28, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Amazon. At a popular bar, each customer has a set of favorite drinks, and will happily

iOS Dev Weekly – Issue 701

Friday, February 28, 2025

What does Dave write about when he has a fever? 🤒 Let's find out! ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Feature | The Best Visualizations from February on Voronoi 🏆

Friday, February 28, 2025

See the most popular, most discussed, and most liked visualizations on our new data storytelling app Voronoi from February. View Online | Subscribe About a year ago, we launched Voronoi, our free new

Issue #582: Phaser Launcher, DOOM in TypeScript types, and A Prison for Dreams

Friday, February 28, 2025

View this email in your browser Issue #582 - February 28th 2025 Weekly newsletter about Web Game Development. If you have anything you want to share with our community please let me know by replying to

Stop Android photo surveillance 🔍

Friday, February 28, 2025

Cheaper streaming 📺; 1Password nightmare 💀 -- ZDNET ZDNET Week in Review - US February 28, 2025 machine eye A new Android feature is scanning your photos for 'sensitive content' - how to stop

Why Natural Language Coding Isn’t for Everyone—Yet

Friday, February 28, 2025

Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? 🪐 What's happening in tech today, February 28, 2025? The

iOS Cocoa Treats

Friday, February 28, 2025

View in browser Hello, you're reading Infinum iOS Cocoa Treats, bringing you the latest iOS related news straight to your inbox every week. Animatable Protocol: Taming Unruly SwiftUI Animations In

Your new cheap TV streaming option 📺

Friday, February 28, 2025

GPT-4.5; AI work study; Smartwatch faceoff ⌚; Run your own cloud -- ZDNET ZDNET Tech Today - US February 28, 2025 tv watching DirecTV's new no-contract 'Genre Packs' start at $35 - and you

⚙️ GPT 4.5 - worth the cost?

Friday, February 28, 2025

Plus: Nvidia didn't come to the rescue ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌