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

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

Prepare for a Lifetime of Adventure with Rosetta Stone

Tuesday, December 24, 2024

The Perfect Gift For Every Traveler on Your List Rosetta Stone makes it easy to connect with the world in a whole new way. With a Lifetime Unlimited plan, users can access 25 languages to prepare for

Tuesday Triage #232

Tuesday, December 24, 2024

Your weekly crème de la crème of the Internet is here! The 232nd edition featuring fish traps, little Mussolinis, and volvelles. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Elastic Community Newsletter

Tuesday, December 24, 2024

Check out the latest from the Elastic Community ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ elastic | Search. Observe. Protect community-newsletter-header-img.png

Daily Coding Problem: Problem #1646 [Medium]

Monday, December 23, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Write a function that rotates a list by k elements. For example, [1, 2, 3, 4,

GCP Newsletter #430

Monday, December 23, 2024

Welcome to issue #430 December 23rd, 2024 News Event Official Blog Calling all devs: Code the future of baseball with Google Cloud and MLB - Google Cloud and MLB are hosting a hackathon where