| The Hidden Performance Overhead of Python C Extensions |
It’s no secret that Python is slower than compiled languages like C, C++, and Rust. If you need a performance boost, you can write compiled Python C extensions. But there are some hidden performance costs that you should be aware of if you decide to do this. This article explains two ways that Python C extensions can actually be slower than pure Python and discusses some solutions and work around for them.
How to Use
ipywidgets to Make Your Jupyter Notebook Interactive
Jupyter Notebooks are great for exploratory data analysis. They’re also a good way to share results and analysis with other people, who can alter the notebook to further explore the data themselves. But there are some limitations to notebook interactivity. That’s where
ipywidgets comes in! In this tutorial you’ll learn how to create widgets like check boxes, drop-down menus, sliders, and how to handle events like button clicks.
Rapidly Identify Bottlenecks in Your Python Applications with Datadog APM.
Datadog’s Continuous Profiler allows you to find the most resource-consuming parts in your production code all the time, at any scale, with minimal overhead. Debug and optimize your code, enhancing application performance before your customers notice. Try Datadog APM today →
Build a Platform Game in Python With
Building games can be a fun way to learn new Python concepts and practice techniques you’ve already learned. Plus, they make for great projects to share! This step-by-step tutorial shows you how to build a platform game using the
arcade library. You’ll learn techniques for designing levels, sourcing assets, and implementing advanced features.
Python 3.10.0b1 Is Now Available
Python 3.8.10 and 3.9.5 have also been released.
CPYTHON DEV BLOG
Microsoft Becomes the Third PSF Visionary Sponsor
EuroPython 2021: Call for Sponsors
Django Security Releases Issued: 3.2.1, 3.1.9, and 2.2.21
DJANGO SOFTWARE FOUNDATION
“WARNING: Value for
scheme.data Does Not Match” When I Try to Update Pip or Install Packages
Are you seeing warnings about
scheme.platlib, and other
scheme.* items when installing with
pip? While these warnings don’t affect the
pip installation, they are noisy and annoying. Fortunately, the
pip team has fixed them in the latest patch release, so upgrading to
pip 21.1.1 or later should get rid of them for you.
The Most Copied Comment on Stack Overflow Is on How to Resize Figures in Matplotlib
In a recent blog post, Stack Overflow analyzed data the obtained during an April Fools gag about how people copy and paste code from their platform. One of the results from the data set indicates that to most copied comment comes from an answer about resizing figures in Matplotlib.
Senior Full Stack Engineer
YONDER 📍 USA
TRUVERIS 📍 NEW YORK, NY, USA
SAGEBEANS RPO 📍 REMOTE
PL/SQL Developer with Python
DOTCOM TEAM, LLC 📍 REMOTE
More Python Jobs >>>
Articles & Tutorials
Film Simulations From Scratch Using Python
In analog photography, you can achieve different “looks” for your photographs by selecting different kinds of film to shoot with. Digital camera manufacturers often include different presets to simulate different kinds of film. In this article, you’ll learn how to simulate different films on your own images using color lookup tables, or CLUTs, using NumPy and the Pillow image library.
KEVIN MARTIN JOSE
Simplify Python GUI Development With PySimpleGUI
In this step-by-step course, you’ll learn how to create a cross-platform graphical user interface (GUI) using Python and PySimpleGUI. A graphical user interface is an application that has buttons, windows, and lots of other elements that the user can use to interact with your application.
REAL PYTHON course
Are You Up For the Ubiq Ramen Challenge?
PyCoder’s listen up! We want to show you how simple and fast it is to build encryption directly into any application. We think… faster than it takes to make a bowl of ramen. Enter our Ubiq Ramen Challenge and you could win a year’s supply of Ramen and a $500 Amazon gift card →
Validating user input is one of the most common programming tasks. There are a number of approaches to validation and a host of third-party Python packages available on PyPI. One of these approaches that is common in the functional programming paradigm is applicative-style validation, which the author of this article calls declarative validation. In this short-yet-informative article, you’ll learn how declarative validation works and how to cook up a small validation library.
Python News: What’s New From April 2021?
April 2021 was an eventful month in the world of Python. In this article, you’ll get up to speed on everything that happened in the past month, including new sponsorships for the PSF, changes to Python error messages, and a community-led discussion over the future of type annotations.
Dockerizing FastAPI with Postgres, Uvicorn, and Traefik
FastAPI is quickly gaining popularity in the world of asynchronous Python web frameworks. With more and more users flocking to the framework, the demand for Dockerized development and production workflows is growing. In this step-by-step tutorial, you’ll learn how to dockerize a FastAPI application using Postgres, Uvicorn, and Traefik.
AMAL SHAJI • Shared by Amal Shaji
Podcast Rewind With Guest Highlights for 2020-2021
This week’s episode of the Real Python podcast is a bit different. Take a look back in this rewind episode featuring highlights from the many interviews over the past year or so of the show.
REAL PYTHON podcast
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 →
tablib: Python Module for Tabular Datasets in XLS, CSV, JSON, YAML, &C
wasmer-python: WebAssembly Runtime for Python
gradio: Create UIs for Prototyping Your Machine Learning Model in 3 Minutes
tortoise-orm: Familiar Asyncio ORM for Python, Built With Relations in Mind
mongo-arrow: Easily Move Data Between MongoDB and Apache Arrow