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

Dell’s data breach

Thursday, May 9, 2024

Plus: Mistral AI is raising funds and Bumble's new strategy View this email online in your browser By Christine Hall Thursday, May 9, 2024 Welcome back to TechCrunch PM. Today I have for you a

💻 Issue 416 - The new disposable APIs in Javascript

Thursday, May 9, 2024

This week's Awesome JavaScript Weekly Read this email on the Web The Awesome JavaScript Weekly Issue » 416 Release Date May 09, 2024 Your weekly report of the most popular JavaScript news, articles

💻 Issue 409 - Making a 3D modeler in C in a week

Thursday, May 9, 2024

This week's Awesome .NET Weekly Read this email on the Web The Awesome .NET Weekly Issue » 409 Release Date May 09, 2024 Your weekly report of the most popular .NET news, articles and projects

📱 Issue 410 - FDA recalls defective iOS app that injured over 200 insulin pump users

Thursday, May 9, 2024

This week's Awesome iOS Weekly Read this email on the Web The Awesome iOS Weekly Issue » 410 Release Date May 09, 2024 Your weekly report of the most popular iOS news, articles and projects Popular

💎 Issue 416 - Ruby typing 2024: RBS, Steep, RBS Collections, subjective feelings

Thursday, May 9, 2024

This week's Awesome Ruby Newsletter Read this email on the Web The Awesome Ruby Newsletter Issue » 416 Release Date May 09, 2024 Your weekly report of the most popular Ruby news, articles and

💻 Issue 416 - Part 5: Building a Simple Web Server with Node.js

Thursday, May 9, 2024

This week's Awesome Node.js Weekly Read this email on the Web The Awesome Node.js Weekly Issue » 416 Release Date May 09, 2024 Your weekly report of the most popular Node.js news, articles and

💻 Issue 334 - Why React Query?

Thursday, May 9, 2024

This week's Awesome React Weekly Read this email on the Web The Awesome React Weekly Issue » 334 Release Date May 09, 2024 Your weekly report of the most popular React news, articles and projects

📱 Issue 413 - Swift’s native Clocks are very inefficient

Thursday, May 9, 2024

This week's Awesome Swift Weekly Read this email on the Web The Awesome Swift Weekly Issue » 413 Release Date May 09, 2024 Your weekly report of the most popular Swift news, articles and projects

💻 Issue 411 - Microsoft's $1M Vote of Confidence in Rust's Future

Thursday, May 9, 2024

This week's Awesome Rust Weekly Read this email on the Web The Awesome Rust Weekly Issue » 411 Release Date May 09, 2024 Your weekly report of the most popular Rust news, articles and projects

LW 132 - Using JavaScript to manage a Shopify cart

Thursday, May 9, 2024

Using JavaScript to manage a Shopify cart Shopify Development news and articles Confused? Yes, normally these go out on Tuesday. This week only enjoy a special Thursday issue! Issue 132 - 05/07/2024