PyCoder’s Weekly: Issue #364 (April 16, 2019)

#364 – APRIL 16, 2019
View in Browser »

The PyCoder’s Weekly Logo

Hands-On Python 3 Concurrency With the asyncio Module

Learn how to speed up your Python 3 programs using concurrency and the asyncio module in the standard library. See step-by-step how to leverage concurrency and parallelism in your own programs, all the way to building a complete HTTP downloader example app using asyncio and aiohttp.

Python Used to Take Photo of Black Hole

“Scientists have used a new algorithm to take a photo of a black hole. One of the most exciting parts about it to me is that they used a lot of Python libraries to do the magic.”

Monitor Python Applications With Datadog APM and Distributed Tracing


Datadog’s tracing client integrates with asynchronous libraries like asyncio, gevent, and Tornado. Trace requests across service boundaries to identify bottlenecks, and get the necessary context to debug critical errors. Dive into your Python applications today with a free 14-day trial of Datadog →
DATADOG sponsor

Django: Keeping Logic Out of Templates (And Views)

Solid advice! Keep your Django templates and views clean by moving application logic into model methods and model managers.

How to Create an Index in Django Without Downtime

In this step-by-step Python tutorial, you’ll get a solid understanding of the limitations of Django migrations by tackling a well known problem: creating an index in Django without downtime.

Meet Python Content Creators at PyCharm’s PyCon Booth

I’ll be there, the Real Python team will be there, and so will Mike Kennedy from Talk Python, Brian Okken from Test & Code, Matt Harrison, the PyBites team, Chris Medina, and Miguel Grinberg. Be sure to stop by and say hi 🙂 Thanks JetBrains!

list.sort() vs sorted(list)

Taking a closer look at Python’s built-in list sorting methods with regards to memory consumption and time efficiency. Nice writeup!

PyCon 2019 Close to Sell Out

Get your ticket before it’s too late 🙂


Just Found the Best Python Book…Cover

(Potentially not safe for work)

Python Jobs

Senior Python Developer (Copenhagen, Denmark)

GameAnalytics Ltd.

Senior Python Engineer (Remote)

ReCharge Payments

Python Engineer in Healthcare (Burlington, MA)

Nuance Communications

Machine Learning and Data Science Developer (Austin, TX)

Protection Engineering Consultants LLC

More Python Jobs >>>

Articles & Tutorials

Python String Formatting Tips & Best Practices

Learn the four main approaches to string formatting in Python, as well as their strengths and weaknesses. You’ll also get a simple rule of thumb for how to pick the best general purpose string formatting approach in your own programs.

Python App Settings Management With Dynaconf

Nice little project for managing settings in your Python apps: “The only line of code you need to manage your Python 3 configurations”

Stop Reviewing Code Manually


Take the hassle out of code reviews—Codacy flags errors so you can fix them quickly. Address security concerns, code duplication, code complexity and drops in coverage, directly from your workflow. Click here to get started →
CODACY sponsor

Introduction to the Python Calendar Module

Short & sweet intro to the calendar module in the Python standard library.

Be Your Own Certificate Authority

How to create a simple, internal CA for your microservice architecture or integration testing—with Python.

Linear Regression in Python

In this step-by-step tutorial, you’ll get started with linear regression in Python. Linear regression is one of the fundamental statistical and machine learning techniques, and Python is a popular choice for machine learning.

LSTMs for Human Activity Recognition

An example of using TensorFlow for Human Activity Recognition (HAR) on a smartphone data set in order to classify types of movement, e.g. “walking”, “sitting”, “standing” etc.

Raspberry Pi for Computer Vision and Deep Learning

You can teach your Raspberry Pi to “see” using Computer Vision, Deep Learning, and OpenCV. Let Adrian Rosebrock show you how →

How to Write a Python Web Framework (Part 4)

In this part of Jahongir’s blog post series you’ll see how to expand your web framework with custom exception handlers, support for static files, and middleware processing.

Using Python to Analyze Game of Thrones

Want to learn Python? What better way to learn than by having a Game of Thrones project to complete as motivation.
ROCKY KEV • Shared by Ricky White

Projects & Code

eht-imaging: The Code Behind the Black Hole Image

Imaging, analysis, and simulation software for radio interferometry used for generating the famous black hole image. Python FTW!


PyColorado 2019 CFP

September 6 to September 8 in Denver, CO

PyLadies Dublin

April 18, 2019


April 20, 2019

SciPy Japan 2019

April 23 to April 25, 2019

Happy Pythoning!
This was PyCoder’s Weekly Issue #364.
View in Browser »


[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]

Planet Python

Leave a Reply

Your email address will not be published. Required fields are marked *