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

#425 – JUNE 16, 2020
The PyCoder’s Weekly Logo
Getting Machine Learning to Production
Millions of web apps get deployed to production every day. But machine learning models aren’t web apps. And very few people are talking about deployment. Learn how tools like Streamlit can help take the edge off deploying your machine learning models.
VICKI BOYKIS

Python Generators 101
In this step-by-step course, you’ll learn about generators and yielding in Python. You’ll create generator functions and generator expressions using multiple Python yield statements. You’ll also learn how to build data pipelines that take advantage of these Pythonic tools.
REAL PYTHON course

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

Introducing Pew Research Center’s Python Libraries
The Pew Research Center’s Data Labs team has open sources two Python libraries for wrangling files and cleaning up text documents.
PATRICK VAN KESSEL

Async Python Is Not Faster
Performance optimization is a tricky subject and silver bullets are rare. This article shines a light on some of the common misconceptions around async Python, like “async is always faster.” Related discussion on Hacker News.
CAL PATERSON

New LEGO Mindstorm Robot Kit Supports Python
In Fall 2020, LEGO will release a new Mindstorm Robot Inventor kit that allows children of all ages to build robots out of LEGO and program them with Python.
LEGO.COM

Django 3.1 Beta 1 Released
“Django 3.1 beta 1 is now available. It represents the second stage in the 3.1 release cycle and is an opportunity for you to try out the changes coming in Django 3.1. Django 3.1 has a potpourri of new features which you can read about in the in-development 3.1 release notes.”
DJANGO SOFTWARE FOUNDATION

Space Science With Python
Explore and analyze the wonders and mysteries of space… with Python!
THOMAS ALBIN


Discussions


Does Python Forbid Two Similarly Looking Unicode Identifiers?
Set 𝑓 = 1729. Now print(f) prints 1729! Excuse me, but I have questions!
STACK OVERFLOW

How Do You Get the Count for Each Item in a List of Lists?
collections.Counter and itertools to the rescue!
STACK OVERFLOW

How Does git Know What a Python Function/Class Definition Looks Like?
Hint: Regular expressions. Lots of them.
TWITTER.COM/SIMONW


Python Jobs


Senior Python Engineer (Remote)
GORGIAS

Software Engineer Java, Python (Remote)
PROFESSIONAL SEARCH GROUP (PSG)

Software Developer Python (Remote)
NETIZEN CORPORATION

More Python Jobs >>>


Articles & Tutorials


Python Keywords: An Introduction
Python keywords make up the fundamental building blocks of any Python program. In this tutorial, you’ll learn the basic syntax and usage for each of Python’s thirty-five keywords so you can write more efficient and readable code.
REAL PYTHON

Debugging Out-Of-Memory Crashes in Python
If your program crashes because it’s out of memory, how do you figure out where the memory issue occurs? The Fil memory profiler can help you out!
ITAMAR TURNER-TRAURING

The Cloud Python Developers Love
DigitalOcean is the cloud provider that makes it easy for developers to deploy and scale their applications. From Flask and Django apps to JupyterHub Notebook servers, DigitalOcean enables Python developers to focus their energy on creating software →
DIGITALOCEANsponsor

Making Python Integers Iterable
You can’t loop over an integer in Python… unless you change the source code! Learn how to make integers iterable by altering the CPython source code. Also learn why this is a bad idea.
ARPIT BHAYANI

SettingWithCopyWarning in Pandas: Views vs Copies
In this tutorial, you’ll learn about views and copies in NumPy and Pandas. You’ll see why the SettingWithCopyWarning occurs in Pandas and how to properly write code that avoids it.
REAL PYTHON

Never Forget Your Password With This Python Encryption Algorithm
Share your passwords safely with friends and family, even if you don’t trust a couple of them, just as an ancient and wise king well versed in Python once did.
MOSHE ZADKA

A Data Engineering Perspective on Go vs. Python
See how Go and Python stack up from the perspective of a data engineer by implementing the Mandelbrot set in both languages.
CHRISTIAN HOLLINGER

RSVP for the Python Web Conference (Virtual, June 17–19, 2020)
International experts share best practices for hard web production problems. 40+ talks on Django, Plone, CI/CD, Containers, Serverless, REST APIs, web security, microservices, etc. Join JetBrains and Six Feet Up to discuss what the future holds.
SIX FEET UPsponsor

PDFs in Python and Projects on the Raspberry Pi
Have you wanted to work with PDF files in Python? Maybe you want to extract text, merge and concatenate files, or even create PDFs from scratch. Are you interested in building hardware projects using a Raspberry Pi? Then check out this episode of the Real Python Podcast.
REAL PYTHON podcast

Beware of JSON fields in SQLAlchemy
“PostgreSQL JSON fields are a really convenient way of storing structured data alongside traditional row/column values, but when using them in SQLAlchemy you should be mindful of how changes are detected.”
ADRIÀ MERCADER • Shared by Adrià Mercader

Analyzing Messi and Ronaldo’s Games Using Python and Streamlit
Build an interactive dashboard exploring Messi and Ronaldo’s games during the 2017-18 LaLiga season using Python and Streamlit.
ADIL MOUJAHID

TLDR Newsletter: Byte Sized News for Techies
TLDR is a daily, curated newsletter with links and TLDRs of the most interesting stories in tech, science, and programming.
TLDRNEWSLETTER.COM

Introduction to Property-Based Testing in Python
FLORIAN DAHLITZ • Shared by Florian Dahlitz


Projects & Code


MicroscoPy: An Open-Source, Motorized, and Modular Microscope Built Using LEGO Bricks, Arduino, Raspberry Pi and 3D Printing
GITHUB.COM/IBM

SpiceyPy: SpiceyPy: A Pythonic Wrapper for the SPICE Toolkit
GITHUB.COM/ANDREWANNEX

genetic-drawing: A Genetic Algorithm Toy Project for Drawing
GITHUB.COM/ANOPARA

pewtils: General Programming Utilities From Pew Research Center
GITHUB.COM/PEWRESEARCH

pewanalytics: Text and Statistics Utilities From Pew Research Center
GITHUB.COM/PEWRESEARCH

chalice: Python Serverless Microframework for AWS
GITHUB.COM/AWS

dexplot: Simple Plotting Library That Wraps Matplotlib and Integrated With DataFrames
GITHUB.COM/DEXPLO

streamlit: The fastest way to build custom ML tools
GITHUB.COM/STREAMLIT

newtdb: A Python Object-Oriented Database With JSONB-based Access and Search in PostgreSQL
GITHUB.COM/NEWTDB

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

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

Python Performance, Moving Django Models, the 2020 Python Language Summit, and More

Tuesday, May 12, 2020

Under Discussion: The Performance of Python #420 – MAY 12, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Under Discussion: The Performance of Python Victor Stinner and Julien Danjou sat down (

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 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏