Pythonic Exercises, FastAPI App Structure, Data Visualization With Dash, and More

#455 – JANUARY 12, 2021 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Advent of Code 2020 “Pytudes”
Google researcher Peter Norvig goes through a suite of short Python programs and exercises for perfecting particular programming skills.
PETER NORVIG

NumPy Tutorial: Your First Steps Into Data Science in Python
Learn everything you need to know to get up and running with NumPy, Python’s de facto standard for multidimensional data arrays. NumPy is the foundation for most data science in Python, so if you’re interested in that field, then this is a great place to start.
REAL PYTHON

Rapidly Troubleshoot Your Python Application in Real Time With Datadog APM
Datadog’s Continuous Profiler analyzes code performance enabling you to identify the most resource-consuming parts in your application code in order to improve MTTR and enhance user experience. See which services or calls are contributing to overall latency and optimize your app performance →
DATADOGsponsor

Implementing FastAPI Services: Abstraction and Separation of Concerns
This article introduces an approach to structure FastAPI applications with multiple services in mind. The proposed structure decomposes the individual services into packages and modules, following principles of abstraction and separation of concerns.
CAMILLO VISINI • Shared by Camillo Visini

Visual Intro to NumPy and Data Representation
“In this post, we’ll look at some of the main ways to use NumPy and how it can represent different types of data (tables, images, text…etc) before we can serve them to machine learning models.”
JAY ALAMMAR • Shared by Python Bytes FM

Develop Data Visualization Interfaces in Python With Dash
Learn how to build a dashboard using Python and Dash. Dash is a framework for building data visualization interfaces. It helps data scientists build fully interactive web applications quickly.
REAL PYTHON

Reinventing the Python Logo: Interview With a UI Designer
UI designer Jessica Williamson redesigns the Python logo as a hobby project and receives 7000 upvotes on Reddit. Here’s an interview with her.
CARLO OCCHIENA

PyCon US 2021: Call for Proposals Is Open
PYCON.BLOGSPOT.COM


Discussions


Anaconda Is Not Free for Commercial Use (Anymore)?
Anaconda’s CEO responds on the thread: “At this time, there is no prohibition on using Anaconda Individual Edition in a small-scale commercial setting like yours.” Related discussion on Twitter.
REDDIT

Best IDE for Python
“Right now I am using the standard Python IDLE. I am new to Python and want something better. I have seen a few but they all look too complicated.”
REDDIT


Python Jobs


How Strong Is Your Resume?sponsor
Get a free, confidential review from a resume expert →

Entry-Level Engineering Programme (London, UK)
TESSIAN

Senior Backend Engineer (London, UK or Remote)
TESSIAN

Backend Engineer (London, UK or Remote)
TESSIAN

Backend Engineer (Berlin, Germany)
FEATHER

More Python Jobs >>>


Articles & Tutorials


What Is Data Engineering and Researching 10 Million Jupyter Notebooks
“Are you familiar with the role data engineers play in the modern landscape of data science and Python? Data engineering is a sub-discipline that focuses on the transportation, transformation, and storage of data. This week on the show, David Amos is back, and he’s brought another batch of PyCoder’s Weekly articles and projects.”
REAL PYTHON podcast

Django Migrations Without Downtimes [2015]
“Applying migrations on a live system can bring down your web-server in counter-intuitive ways. I’ll talk about common schema change scenarios and how those can be safely carried out on a live system with a Postgres database. We’ll look at locking and timing issues, multi-phase deployments and migration system peculiarities.”
LUDWIG HÄHNE

Automating Code Performance Testing Now Possible
Performance is a feature, test it as such. Test performance in CI/CD. Validate production deploys. Blackfire offers a robust way to run test scenarios and validate code changes, automatically. Discover Blackfire Builds now. Free 15 days trial.
BLACKFIREsponsor

Quick Way to Find and Fix Invalid Values in Numerical Data Columns
Real world data sets often include invalid data values. Investigating them can be difficult, since attempting to convert them to the correct types causes exceptions. In this article you’ll take a look at a “real world” messy data set and learn a quick trick to summarize and fix invalid data values.
DRAWINGFROMDATA.COM • Shared by Martin

Robust Web Scraping or Web API Based Data Collection
“Large scale data collection via web scraping or web APIs must run reliably over days or even weeks. This brings up problems that mainly focus on the robustness of the data collection process. I will try to tackle some of these problems in this post.”
MARKUS KONRAD • Shared by Markus Konrad

Building ML Teams and Finding ML Jobs
“Are you building or running an internal machine learning team? How about looking for a new ML position? On this episode, I talk with Chip Huyen from Snorkel AI about building ML teams, finding ML positions, and teach ML at Stanford.”
TALK PYTHON podcast

Indexing and Selecting in Pandas by Callable
“In Pandas, you can use callables where indexers are accepted. It turns out that can be handy for a pretty common use case.”
MATT WRIGHT

Hacking QR Code Design
“How to create QR codes that look like anything by inverting the QR creation process.” (Python source code included.)
MARIEN RAAT

Understand Django: Serving Static Files
Static files are critical to apps, but have little to do with Python code. See what they are and what they do.
MATT LAYMAN • Shared by Matt Layman

float vs decimal in Python
Learn the differences between floats and decimals in Python, common issues, and when to use each.
STEVEN PATE • Shared by Steven Pate

How to Make a Violin Plot in Python Using Matplotlib and Seaborn
ERIK MARSJA

The Easiest Way to Rename a Column in Pandas
Two easy recipes for renaming column(s) in a Pandas DataFrame.
BEN COOK

Switch/Case in Python
MATTEO GUADRINI

Event-Driven: Architecture Lessons Learned in Building a Poker Platform With Event Sourcing
MAX MCCREA • Shared by Max

Generate File Reports Using Python’s string.Template
FLORIAN DAHLITZ • Shared by Florian Dahlitz


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 →

Learn X by Doing Y: Project-Based Learning Search Engine
AQUADZN.GITHUB.IO

fontpreview: Python Library for Font Previews
GITHUB.COM/MATTEOGUADRINI

aioauth: Asynchronous OAuth 2.0 Framework and Provider for Python 3
GITHUB.COM/ALIEV

funct: Like a Python List but Better
GITHUB.COM/LAURIAT

Thonny: Hassle-Free Python Micro-IDE
THONNY.ORG

mutmut: Mutation Testing System
GITHUB.COM/BOXED

Scipy Lecture Notes: Tutorial Material on the Scientific Python Ecosystem
SCIPY-LECTURES.ORG

fpdf2: Simple PDF Generation for Python
GITHUB.COM/PYFPDF

📆🐍 Upcoming Python Events


⋅ Real Python Office Hours (Virtual) January 20, 2020

⋅ BelPy January 30 – 31, 2021

⋅ PyCascades 2021 (Virtual) February 19 – 21, 2021

⋅ PyCon 2021 (Virtual) May 12 – 18, 2021
Happy Pythoning!
Copyright © 2021 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

Unsubscribe | Update Email Address

Older messages

Ditching Excel for Python, How Python Attributes Work, IP Addresses in Python, and More

Tuesday, January 5, 2021

Ditching Excel for Python: Lessons Learned From a Legacy Industry #454 – JANUARY 5, 2021 VIEW IN BROWSER The PyCoder's Weekly Logo Ditching Excel for Python: Lessons Learned From a Legacy Industry

10 Million Jupyter Notebooks, Python on GPUs, Unravelling Boolean Operators, and More

Tuesday, December 29, 2020

Accelerating Python on GPUs With `nvc++` and Cython #453 – DECEMBER 29, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Accelerating Python on GPUs With nvc++ and Cython Python on GPUs has become a

Python Pickles, Chess From Scratch, Python Speed, and More

Tuesday, December 22, 2020

Python Software Foundation 2020 Fundraiser #452 – DECEMBER 22, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Python Software Foundation 2020 Fundraiser “COVID-19 has changed all aspects of our

Bitwise Operators, mypy Exhaustiveness Checking, Job Scheduling, and More

Tuesday, December 15, 2020

Bitwise Operators in Python #451 – DECEMBER 15, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Bitwise Operators in Python In this tutorial, you'll learn how to use Python's bitwise

ORMs, Numerical Precision, PyQt and SQL, and More

Tuesday, December 8, 2020

Why Should You Use an ORM (Object Relational Mapper)? #450 – DECEMBER 8, 2020 VIEW IN BROWSER The PyCoder's Weekly Logo Why Should You Use an ORM (Object Relational Mapper)? Budding web developers

You Might Also Like

Hacker Newsletter #697

Friday, April 26, 2024

Don't watch the clock; do what it does. Keep going. //Sam Levenson hackernewsletter Issue #697 // 2024-04-26 // View in your browser #Favorites Lattice is the AI-powered people platform that

TikTok threatens shutdown 📱, FCC passes net neutrality 🌐, the robotics renaissance 🤖

Friday, April 26, 2024

ByteDance would rather shut down TikTok than sell the company Sign Up |Advertise|View Online TLDR Together With Plaid TLDR 2024-04-26 6 fintech predictions you need to know for 2024 (Sponsor)

📧 What's inside MMA and how it can help you

Friday, April 26, 2024

What's Inside Modular Monolith Architecture? Hey there! 👋 I wish you an excellent end to the week. What better way to spend the weekend than diving headfirst into a 12+ hour course? Well, maybe

Data Science Weekly - Issue 544

Friday, April 26, 2024

Curated news, articles and jobs related to Data Science, AI, & Machine Learning ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Develop highly relevant search applications using AI

Friday, April 26, 2024

New Elasticsearch and AI training ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ elastic | Search. Observe. Protect A world of AI possibilities door-test 2.png Explore

Stripe makes more changes

Thursday, April 25, 2024

TikTok is in trouble, and net neutrality is back View this email online in your browser By Christine Hall Thursday, April 25, 2024 Welcome back to TechCrunch PM, your home for all things startups,

💎 Issue 414 - From a Lorry Driver to Ruby on Rails Developer at 38

Thursday, April 25, 2024

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

💻 Issue 414 - JavaScript Features That Most Developers Don’t Know

Thursday, April 25, 2024

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

💻 Issue 407 - The Performance Impact of C++'s `final` Keyword

Thursday, April 25, 2024

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

💻 Issue 414 - Everyone Has JavaScript, Right?

Thursday, April 25, 2024

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