NumPy for Speed, Multiprocessing Performance, XML to YAML, and More

#566 – FEBRUARY 28, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
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.
ITAMAR TURNER-TRAURING

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 →
SCOUT APMsponsor

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.
ADITYA RAJ

Attack on PyPI Attempting to Deliver Rust Executable
PHYLUM.IO

Django 4.2 Beta 1 Released
DJANGO SOFTWARE FOUNDATION


Python Jobs


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.
NEWSCATCHER

One Does Not Simply pip install
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.
IAN WOOTTEN

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 →
COURIERsponsor

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.
REAL PYTHON

App Fiddle: Learn Flask/SQLAlchemy “In Action”
App Fiddle is to apps what JSFiddle is to JavaScript. Use this instance to learn Flask/SQLAlchemy, running an app in Codespaces. You can browse and explore using VSCode on the web, customize, and debug a complete project, including a database.
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.
DUARTE O.CARMO

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.
INFLUXDATAsponsor

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.
FRANCESCO CIULLA

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.
JAY MODY


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
DJNGO.COM

pygwalker: Turn Pandas Into a Tableau-Style UI
GITHUB.COM/KANARIES

feast: Feature Store for Machine Learning
GITHUB.COM/FEAST-DEV

RedditVideoMakerBot: Create Videos With One Command
GITHUB.COM/ELEBUMM

modelscope: Model-as-a-Service Platform for ML Learning
GITHUB.COM/MODELSCOPE

📆🐍 Upcoming Python Events


STL Python
March 1, 2023

Weekly Real Python Office Hours Q&A (Virtual)
March 1, 2023

PyStaDa
March 1, 2023

Canberra Python Meetup
March 2, 2023

Global AI Bootcamp
March 2, 2023

Django Girls CDO Workshop 2023
March 4 to March 5, 2023

GeoPython 2023
March 6 to March 9, 2023
Happy Pythoning!
Copyright © 2023 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

Buffer Flushing, Async Bugs, SQLAlchemy 2.0, and More

Tuesday, February 21, 2023

How to Flush the Output of the Python Print Function #565 – FEBRUARY 21, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo How to Flush the Output of the Python Print Function In this tutorial, you

Monorepos, SpiffWorkflow, Functional Python, and More

Tuesday, February 14, 2023

Monorepos in Python #564 – FEBRUARY 14, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Monorepos in Python A monorepo is a source control pattern in some organizations where a single code

Wordle Clone, Wasm, Three Python Trends, and More

Tuesday, February 7, 2023

Build a Wordle Clone With Python and Rich #563 – FEBRUARY 7, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Build a Wordle Clone With Python and Rich In this step-by-step project, you'll build

Apache Airflow, Nox, Simulating Broken DB Connections, and More

Tuesday, January 31, 2023

Orchestrating Large and Small Projects With Apache Airflow #562 – JANUARY 31, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Orchestrating Large and Small Projects With Apache Airflow Have you

Time, Property-Based Pytest, Continuous Profiling, and More

Tuesday, January 24, 2023

How to Get and Use the Current Time in Python #561 – JANUARY 24, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo How to Get and Use the Current Time in Python In this tutorial, you'll be getting

You Might Also Like

The Power of an Annual Review & Grammarly acquires Coda

Sunday, December 22, 2024

I am looking for my next role, Zen Browser got a fresh new look, Flipboard introduces Surf, Campsite shuts down, and a lot more in this week's issue of Creativerly. Creativerly The Power of an

Daily Coding Problem: Problem #1645 [Hard]

Sunday, December 22, 2024

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Facebook. Implement regular expression matching with the following special characters: .

PD#606 How concurrecy works: A visual guide

Sunday, December 22, 2024

A programmer had a problem. "I'll solve it with threads!". has Now problems. two he ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌ ͏ ‌

RD#486 (React) Things I Regret Not Knowing Earlier

Sunday, December 22, 2024

Keep coding, stay curious, and remember—you've got this ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌

🎶 GIFs Are Neat, but I Want Clips With Sound — Your Own Linux Desktop in the Cloud

Sunday, December 22, 2024

Also: 9 Games That Were Truly Ahead of Their Time, and More! How-To Geek Logo December 22, 2024 Did You Know Dextrose is another name for glucose, so if you see it listed prominently on the ingredients

o3—the new state-of-the-art reasoning model - Sync #498

Sunday, December 22, 2024

Plus: Nvidia's new tiny AI supercomputer; Veo 2 and Imagen 3; Google and Microsoft release reasoning models; Waymo to begin testing in Tokyo; Apptronik partners with DeepMind; and more! ͏ ͏ ͏ ͏ ͏ ͏

Sunday Digest | Featuring 'The World’s 20 Largest Economies, by GDP (PPP)' 📊

Sunday, December 22, 2024

Every visualization published this week, in one place. Dec 22, 2024 | View Online | Subscribe | VC+ | Download Our App Hello, welcome to your Sunday Digest. This week, we visualized public debt by

Android Weekly #654 🤖

Sunday, December 22, 2024

View in web browser 654 December 22nd, 2024 Articles & Tutorials Sponsored Solving ANRs with OpenTelemetry While OpenTelemetry is the new observability standard, it lacks official support for many

😸 Our interview with Amjad Masad

Sunday, December 22, 2024

Welcome back, builders Product Hunt Sunday, Dec 22 The Roundup This newsletter was brought to you by AssemblyAI Welcome back, builders Happy Sunday! We've got a special edition of the Roundup this

C#537 Automating Santa's Workshop with NServiceBus

Sunday, December 22, 2024

Using event-driven architecture for effective gift delivery 🎄🎁 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌