| Using NumPy and Linear Algebra for Faster Python Code |
Are you still using loops and lists to process your data in Python? Have you heard of a Python library with optimized data structures and built-in operations that can speed up your data science code? This week on the show, Jodie Burchell, developer advocate for data science at JetBrains, returns to share secrets for harnessing linear algebra and NumPy for your projects.
REAL PYTHON podcast
Python’s Multiprocessing Performance Problem
While multiprocessing allows Python to scale to multiple CPUs, it has some performance overhead compared to threading. This article details why processes have performance issues that threads don’t, ways to work around it, and a sample bad solution.
Simple Observability Tool for Peace of Mind: TelemetryHub by Scout APM
We built TelemetryHub to make observability easy. It’s our goal to provide you with peace of mind by providing a user experience that’s intuitive, easy to use, and allows you to monitor and understand what’s happening inside your application at a glance →
Convert XML to YAML in Python
XML and YAML are two of the most popular text based data formats. This article teaches you how to use third-party Python libraries to convert from one to the other.
Attack on PyPI Attempting to Deliver Rust Executable
Django 4.2 Beta 1 Released
DJANGO SOFTWARE FOUNDATION
Software Engineer - Backend/Python (100% Remote)
CLOSE 📍 ANYWHERE
More Python Jobs >>>
Articles & Tutorials
Top 6 Text Annotation Tools
Text annotation is the process of reading natural language data and adding additional information to it in a way your program can use it. This info can be used to train models or help process the data. This article describes 6 different tools that can help you annotate your text data.
One Does Not Simply
Find your favorite package and turn to the readme to get it installed - it seems dead simple just a ‘pip install’ away. Nothing could possibly go wrong. Right? If you’re used to it, it is easy to forget almost all the instructions are skipping a step: using a virtual environment.
The New Notification Stack for Python Developers
Get the Python resources you need to build your notifications infrastructure, faster. Everything from code tutorials, to an SDK and docs all in one place. See for yourself →
How to Iterate Over Rows in Pandas, and Why You Shouldn’t
In this tutorial, you’ll learn how to iterate over a pandas DataFrame’s rows, but you’ll also understand why looping is against the way of the panda. You’ll understand vectorization, see how to choose vectorized methods, and compare the performance of iteration against pandas.
App Fiddle: Learn Flask/SQLAlchemy “In Action”
APILOGICSERVER.GITHUB.IO • Shared by Val Huber
An Opinionated Python Boilerplate
This is Duarte’s take on what tools and practices to use for a new Python project. Includes samples for pyproject.toml, details on using pip-tools, and even the occasional Makefile.
Understanding Python Metaclasses
Metaclasses are part of the darker corners of Python and many developers avoid them. This article dives deep into how you can use them to reduce boilerplate code and build APIs.
IONEL CRISTIAN MĂRIEȘ
How to Control Crowds with Python, OpenCV and InfluxDB
In this quick training, learn how to build a face recognition application using open source tools like OpenCV (Open Source Computer Vision Library) and InfluxDB time series platform. Github repository included.
Build a CRUD REST API in Python
This step-by-step guide shows you how to build a REST API with Create, Read, Update, and Delete methods using Flask, SQLAlchemy, Postgres, and Docker.
GPT in 60 Lines of NumPy
Everybody is talking about GPT, this article is actually building one. Learn how to implement a GPT model from scratch in NumPy.
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 →
Portable Django: Django and Python in an Executable Zip
pygwalker: Turn Pandas Into a Tableau-Style UI
feast: Feature Store for Machine Learning
RedditVideoMakerBot: Create Videos With One Command
modelscope: Model-as-a-Service Platform for ML Learning