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

Daily Coding Problem: Problem #1647 [Medium]

Tuesday, December 24, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Square. In front of you is a row of N coins, with values v 1 , v 1 , ..., v n . You are

Sentiment Analysis, Topological Sort, Web Security, and More

Tuesday, December 24, 2024

Exploring Modern Sentiment Analysis Approaches in Python #661 – DECEMBER 24, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo Exploring Modern Sentiment Analysis Approaches in Python What are the

🤫 Do Not Disturb Mode Is My Secret to Sanity — 8 Gadgets I Want To See Nintendo Make

Tuesday, December 24, 2024

Also: The Best Christmas Movies to Watch on Netflix, and More! How-To Geek Logo December 24, 2024 Did You Know Their association with the Christmas season might make you think poinsettias hail from a

😱 AzureEdge.net DNS Retiring Jan. 2025, 🚀 Microsoft Phi-4 AI Outperforms, 🔒 Microsoft Secure Future Initiative

Tuesday, December 24, 2024

Blog | Advertise | View Online Your trusted source for Cloud, AI and DevOps guidance with industry expert Chris Pietschmann! Phi-4: Microsoft's New Small Language Model Outperforms Giants in AI

Mapped | The Top Health Insurance Companies by State 🏥

Tuesday, December 24, 2024

In 13 US states, a single company dominates the health insurance market, holding at least half of the total market share. View Online | Subscribe | Download Our App Presented by: Global X ETFs Power

The Stanford Grad Who Forgot How To Think

Tuesday, December 24, 2024

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, December 24, 2024? The

The next big HDMI leap is coming

Tuesday, December 24, 2024

Sora side hustles; Casio's tiny watch comes to the US -- ZDNET ZDNET Tech Today - US December 24, 2024 Ecovacs Deebot T30S Combo robot vacuum and mop The next big HDMI leap is coming next month -

⚙️ Robo-suits

Tuesday, December 24, 2024

Plus: The data center energy surge ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

Apache Tomcat Vulnerability CVE-2024-56337 Exposes Servers to RCE Attacks

Tuesday, December 24, 2024

THN Daily Updates Newsletter cover The Data Science Handbook, 2nd Edition ($60.00 Value) FREE for a Limited Time Practical, accessible guide to becoming a data scientist, updated to include the latest

Edge 459: Quantization Plus Distillation

Tuesday, December 24, 2024

Some insights into quantized distillation ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏