Issue #453

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

Dec. 29, 2020

10 Million Jupyter Notebooks, Python on GPUs, Unravelling Boolean Operators, and More
#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 big topic for processing big data and scientific computing. In this article from the NVIDIA Developer Blog, you’ll learn how to leverage C++ in Python using Cython and the nvc++ library. There’s even a real-world example that illustrates the Jacobi method to solve a heat equation.
ASHWIN SRINATH

Create Codeless Automation, Get Python Script!
From now on, any test created using TestProject’s automation platform can be generated into Python code, fully compatible with Appium & Selenium. Simply record your test, export to Python & continue from there! No complicated setups - one executable does all the heavy lifting for you. Try it today →
TESTPROJECTsponsor

We Downloaded 10,000,000 Jupyter Notebooks From Github: This Is What We Learned
The JetBrains Datalore team downloaded ten million Jupyter Notebooks and analyzed them to determine things like which languages were the most popular, what kinds of content are in notebook cells, and how consistently notebooks can be reproduced. It’s a fascinating look into trends in data science technology!
ALENA GUZHARINA

Django Admin Customization
Learn how to customize Django’s admin with Python. You’ll use AdminModel objects to add display columns, calculate values, link to referring objects, and search and filter results. You’ll also use template overriding to gain full control over the admin’s HTML.
REAL PYTHON course

Unravelling Boolean Operations
In the latest entry to his series on syntactic sugar, Brett Cannon explores boolean expressions. You’ll learn how boolean expressions “short circuit” and, as an unexpected bonus, a peek into how CPython “cheats” at variables.
BRETT CANNON

Top 10 Python Libraries of 2020 You Should Know About
This listicle is full of Python projects that you really should know about! Each library on the lists was launched or popularized in 2020 and has seen steady maintenance since its launch. Lots of great projects here!
ALAN DESCOINS

2020 Real Python Articles in Review
It’s been quite the year! The Real Python team has written, edited, curated, illustrated, and produced a mountain of Python articles this year. This year-end wrap-up shares a collection of articles that showcase a diversity of Python topics.
REAL PYTHON

What’s New in pandas 1.2.0
PYDATA.ORG


Discussions


How Do You Pronounce “Char”?
Charcoal? Chair? Car? Tupple? Two Pull? Sequel? Squeal? Why not end the year with a hearty discussion about pronunciation? (By the way… it’s “care.”)
REDDIT

30 Years of Python Development Visualized
REDDIT


Python Jobs


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

Entry-Level Engineering Programme
TESSIAN 📍 LONDON, UK

Senior Backend Engineer
TESSIAN 📍 LONDON, UK

Backend Engineer
TESSIAN 📍 LONDON, UK

Advanced Python Engineer
RESEARCH AFFILIATES 📍 NEWPORT BEACH, CA, USA

More Python Jobs >>>


Articles & Tutorials


NumPy Illustrated: The Visual Guide to NumPy
This illustrated guide to NumPy is a great way to learn NumPy or brush up on the package. Full of great visual aides, this tutorial covers all the basics and more!
LEV MAXIMOV

Isolate Python Subinterpreters
In this post, Victor Stinner takes a look back at the progress made on isolating Python subinterpreters in 2019 and 2020. You’ll learn about the technical challenges that have been solved, the current status of the project, and what the future holds.
VICTOR STINNER

Level Up Your Python Skills: PSF Charity Sale (Ends Jan 1)
Support the Python Software Foundation and level up your Python skills with books, courses, and more. You’ll get a discount on Python training products, and the money raised in this fundraiser will help the PSF fund the tools and initiatives that Pythonistas use everyday.
REAL PYTHONsponsor

The Zen of Python: A Most in Depth Article
Claiming to be “the most in-depth article about the Zen of Python,” this post covers the history of the Zen as told through comments from Guido van Rossum, Tim Peters, Barry Warsaw, and other Python heavyweights.
ABDUR-RAHMAAN JANHANGEER

Python and MySQL Database: A Practical Introduction
Learn how to connect your Python application with a MySQL database. You’ll design a movie rating system and perform some common queries on it. You’ll also see best practices and tips to prevent SQL injection attacks.
REAL PYTHON

Indexing and Selecting in Pandas
Selecting and indexing items from pandas Series and DataFrame objects can be confusing. This article gives you a lucid breakdown of three ways to select elements from pandas objects and explains the differences between each one.
MATT WRIGHT

Web Authentication Methods Compared
Take a look at commonly used methods for handling web authentication for Python web development including the pros and cons of each method. You’ll see how to apply different methods to the Flask, Django, and FastAPI frameworks.
AMAL SHAJI • Shared by Amal Shaji

Validating Data in Python With Cerberus
Thanks to an Advent of Code challenge, author Hector Castro was exposed to the Cerberus Python package for data validation. Get a quick introduction to Cerberus and see Hector’s solution to an Advent of Code challenge in this quick-yet-informative read.
HECTOR CASTRO

The Joy of Typed Python
The mypy project brings static type checking to Python. This opinion piece explores the good and the bad of typed Python from the perspective of someone who wouldn’t grab Python for their day-to-day coding.
BALAJEE RAMACHANDRAN opinion


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 →

frigate: NVR With Realtime Local Object Detection for IP Cameras
GITHUB.COM/BLAKEBLACKSHEAR

erpnext: Free and Open Source Alternative to SAP
GITHUB.COM/FRAPPE

vit-pytorch: SOTA Vision Classification With a Single Transformer Encoder
GITHUB.COM/LUCIDRAINS

cerberus: Lightweight and Extensible Data Validation Library for Python
GITHUB.COM/PYEVE

Flask-Meld: Full-Stack Framework for Flask
GITHUB.COM/MIKEABRAHAMSEN

simple-graph: Graph Database in SQLite
GITHUB.COM/DPAPATHANASIOU

📆🐍 Upcoming Python Events


Real Python Office Hours (Virtual)
December 30, 2020

Python Pizza New Year’s Party
December 31 to January 1, 2021

BelPy
January 30 – 31, 2021

PyCascades 2021 (Virtual)
February 19 – 21, 2021

PyCon 2021 (Virtual)
May 12 – 18, 2021
Happy Pythoning!
Copyright © 2020 PyCoder’s Weekly, All rights reserved.