Issue #466

Full-Text Search in 150 Lines, OrderedDict vs. dict, Checking on the Suez Canal, and More

March 30, 2021

Full-Text Search in 150 Lines, OrderedDict vs. dict, Checking on the Suez Canal, and More
#466 – MARCH 30, 2021 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Many Models Workflows in Python
Learn how to organize models into dataframes for exploratory data analysis, and why you might want to consider doing this.
ALEX HAYES

Building a Full-Text Search Engine in 150 Lines of Python Code
Go from data preparation to search engine in just a few lines of Python.
BART DE GOEDE

Get Granular Visibility into your Python Apps with Detailed Metrics and End-To-End Traces in Datadog
Datadog’s distributed tracing and APM generates flame graphs from real requests, enabling you to visualize app performance in real-time. Trace requests across service boundaries and optimize bottlenecks by drilling into individual traces end-to-end. Try Datadog APM free →
DATADOGsponsor

OrderedDict vs dict in Python: The Right Tool for the Job
In this step-by-step tutorial, you’ll learn what Python’s OrderedDict is and how to use it in your code. You’ll also learn about the main differences between regular dictionaries and ordered dictionaries.
REAL PYTHON

Announcing OpenTelemetry Python 1.0
OpenTelemetry Python distributed tracing API/SDK released its 1.0 version.
MATTHEW MCCLEARY • Shared by Alex Mitelman

PyCharm 2021.1 EAP 5 Is Out
JETBRAINS.COM

Announcing Mu Version 1.1.0-Beta.3
MADEWITH.MU

Python Basics Book: Paperback Copies Now Available
“Python Basics: A Practical Introduction to Python 3” is now available as a paperback book. Go from beginner to intermediate Python knowledge with a clear, concise, and practical curriculum. Print copies available on Amazon and your favorite book store →
REAL PYTHONsponsor


Discussions


Python Made Me Look Like a Wizard
A design team needs to process 745 headshots to fit 150x150px for an external platform. The team: Ugh, this will take over 2 weeks. A Python developer: Hang on, give me 5 minutes.
REDDIT


Python Jobs


Intermediate Python Developer
UPLIGHT 📍 BOULDER, CO, USA

Data Engineer
DOXO 📍 SEATTLE, WA, USA

Software Development Engineer
TOC LOGISTICS INTERNATIONAL, INC. 📍 INDIANAPOLIS, IN, USA

Full-Stack Django Developer
UNIFAI 📍 OSLO, NORWAY

More Python Jobs >>>


Articles & Tutorials


Understanding Python List Comprehensions
Python list comprehensions make it easy to create lists while performing sophisticated filtering, mapping, and conditional logic on their members. In this course, you’ll learn when to use a list comprehension in Python and how to create them effectively.
REAL PYTHON course

Using Python and Twilio Messaging to Find Out if the Suez Canal Is Still Blocked
The boat has finally been unstuck, but just in case you want to check on whether or not anything like this happens again, here you go!
SAM AGNEW

$100,000 Build on Redis Hackathon
Join us April 15 – May 15 to show the world what you can build on Redis for a chance to win big prizes totaling US$100,000 →
REDIS LABSsponsor

HPy: A Better C API for Python
The HPy project aims to create a simpler and faster C API for Python.
ANTONIO CUNI

Python Community Interview With Dane Hillard
Dane Hillard, the author of the book Practices of the Python Pro, discusses a variety of topics, including code complexity, Python package maintenance, and popcorn.
REAL PYTHON

Records and Sets: Selecting the Ideal Data Structure
Learn about two of Python’s data structures: records and sets. You’ll look at multiple types and classes for both of these and learn which implementations are best for your specific use cases.
REAL PYTHON course

Understand the Architecture Around your Python Apps in Containers and Serverless Environments
Epsagon lets dev teams see and understand dependencies and API integrations in microservices architecture. It’s a Microservices Observability SaaS with monitoring and investigative tools to “drill-down” and explore modern workloads. Setup Epsagon and see your Python services in minutes.
EPSAGONsponsor

Executing Encrypted Python with No Performance Penalty
If you need to secure Python’s bytecode to minimize attack surfaces in your production deployment, then you’ll definitely want to check this out!
WOLFGANG RICHTER

All the Important Features and Changes in Python 3.10
Python 3.10 is slated to be released in October of this year. Read about some of the features and changes you can expect to see.
MARTIN HEINZ • Shared by Martin Heinz

Improving the Learning Experience on Real Python
Dan Bader talks about Real Python’s completely refreshed layout designed to improve users’ learning experience.
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 →

hpy: A Better C API for Python
GITHUB.COM/HPYPROJECT

pyce: Encrypted Python Execution
GITHUB.COM/SOROCO

lux: Python API for Intelligent Visual Data Discovery
GITHUB.COM/LUX-ORG

mcpyrate: Advanced Macro Expander and Language Lab for Python
GITHUB.COM/TECHNOLOGICAT

flenser: A Simple, Minimal, Automated Exploratory Data Analysis Tool
GITHUB.COM/JOHNMCCAMBRIDGE

opentelemetry-python: OpenTelemetry Python API and SDK
GITHUB.COM/OPEN-TELEMETRY

icecream: Never Use print() to Debug Again
GITHUB.COM/GRUNS

Polars: Blazingly Fast DataFrames in Rust & Python
GITHUB.COM/RITCHIE46 • Shared by Robin van den Brink

📆🐍 Upcoming Python Events


Real Python Office Hours (Virtual)
March 31, 2020

Python for ML and AI Global Summit ‘21
April 8 – 10, 2021

PyCon Israel 2021 (Virtual)
May 2 – 3, 2021

PyCon 2021 (Virtual)
May 12 – 18, 2021

DjangoCon Europe 2021 (Virtual)
June 2 – 6, 2021

PyCon India 2021
September 17 – 20, 2021
Happy Pythoning!
Copyright © 2021 PyCoder’s Weekly, All rights reserved.