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

Your Phone’s Other Number 📱

Saturday, April 27, 2024

Let's talk about your phone's IMEI number. Here's a version for your browser. Hunting for the end of the long tail • April 27, 2024 Today in Tedium: As you may know, Tedium is a blog and/or

🕹️ How to Play Retro Games for Free on iPhone — Why I Can't Live Without an eReader

Saturday, April 27, 2024

Also: Anker MagGo (Qi2) Power Bank Review, and More! How-To Geek Logo April 27, 2024 📩 Get expert reviews, the hottest deals, how-to's, breaking news, and more delivered directly to your inbox by

Weekend Reading — The Bob Ross of programming

Saturday, April 27, 2024

This week we use coffee tasting as our design practice, get as close to and as far away from the metal as possible, find an easier way to write documentation, discover why Google Search is getting so

Issue #538: All the Jam entries, Panthera 2, and Tristram

Saturday, April 27, 2024

Weekly newsletter about HTML5 Game Development. Is this email not displaying correctly? View it in your browser. Issue #538 - April 26th 2024 If you have anything you want to share with the HTML5 game

Daily Coding Problem: Problem #1424 [Easy]

Saturday, April 27, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Microsoft. Implement a URL shortener with the following methods: shorten(url) , which

Charted | Countries That Became More Happy (or Unhappy) Since 2010 😅

Saturday, April 27, 2024

Which countries had the highest happiness gains since 2010? Which became sadder? View Online | Subscribe Presented by Voronoi: The App Where Data Tells the Story FEATURED STORY Countries With the

Noonification: What Is E-Waste Hacking?

Saturday, April 27, 2024

Top Tech Content sent at Noon! The first AI-powered startup unlocking the “billionaire economy” for your benefit How are you, @newsletterest1? 🪐 What's happening in tech this week: The

TikTok faces a ban in the US, Tesla profits drop and healthcare data leaks

Saturday, April 27, 2024

Plus: Amazon's new delivery subscription and a deep dive on Rippling View this email online in your browser By Kyle Wiggers Saturday, April 27, 2024 Image Credits: TechCrunch Welcome, folks, to

🐍 New Python tutorials on Real Python

Saturday, April 27, 2024

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: Write Unit Tests for Your Python Code With

Bogus npm Packages Used to Trick Software Developers into Installing Malware

Saturday, April 27, 2024

THN Daily Updates Newsletter cover Webinar -- Uncovering Contemporary DDoS Attack Tactics -- and How to Fight Back Stop DDoS Attacks Before They Stop Your Business... and Make You Headline News.