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

Charted | The $124 Trillion Global Stock Market, Sorted by Region 📊

Thursday, February 27, 2025

In this graphic, we show the world's 48000 publicly-traded companies, collectively valued at $124 trillion. View Online | Subscribe | Download Our App Enjoying Visual Capitalist? You'll love

AI CAPTCHA Fails Are the Internet’s New Comedy Show!

Thursday, February 27, 2025

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, February 27, 2025? The

Say Goodbye to Type Erasure

Thursday, February 27, 2025

View in browser 🔖 Articles Practical Kotlin: When and How to Use inline reified, noinline, and crossinline Master Kotlin's inline reified functions to tackle type erasure and boost performance!

SRE Weekly Issue #464

Thursday, February 27, 2025

View on sreweekly.com A message from our sponsor, incident.io: For years, on-call has felt more like a burden than a solution. But modern teams are making a change. On Feb 26 at 1 PM EST, hear why—and

Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds, More

Thursday, February 27, 2025

Home | News | How To | Webcasts | Whitepapers | Advertise .NET Insight February 27, 2025 THIS ISSUE SPONSORED BY: ■ Visual Studio Live! Las Vegas: .NET Developer Training Conference ■ VSLive! 4-Day

Re: Tomorrow's Password Class: How to sign up!

Thursday, February 27, 2025

Hi there, Do you reuse passwords? Do you struggle to remember unique passwords across accounts? Have you tried setting up a password manager but found it to be a hassle? You might not realize how

Documenting Event-Driven Architecture with EventCatalog and David Boyne

Thursday, February 27, 2025

If you're wondering on how to document Event-Driven Architecture, or you don't know that you should, I have something for you. We discussed with David Boyne, why data governance practices and

wpmail.me issue#708

Thursday, February 27, 2025

wpMail.me wpmail.me issue#708 - The weekly WordPress newsletter. No spam, no nonsense. - February 27, 2025 Is this email not displaying correctly? View it in your browser. News & Articles Shaping

Hackers stole 1Password logins - here's how

Thursday, February 27, 2025

Amazon AI races ahead; Research agents; Smartwatch trade-in -- ZDNET ZDNET Tech Today - US February 27, 2025 thief stealing passwords Hackers stole this engineer's 1Password database. Could it

New Golang-Based Backdoor Uses Telegram Bot API for Evasive C2 Operations

Thursday, February 27, 2025

THN Daily Updates Newsletter cover ⚡ LIVE WEBINAR ➟ Building Resilient Identity: Reducing Security Debt in 2025 Attacks Evolve, So Can Your Defenses--Learn How to Mitigate Risk and Optimize Identity