Issue #604 (Nov. 21, 2023)

#604 – NOVEMBER 21, 2023

Learning Python During an AI Revolution

Has the current growth of artificial intelligence (AI) systems made you wonder what the future holds for Python developers? What are the hidden benefits of learning to program in Python and practicing computational thinking? This week on the show, we speak with author Lawrence Gray about his upcoming book “Mastering Python: A Problem Solving Approach.”
REAL PYTHON podcast

How Many Python Core Devs Use Typing?

“How many old-school Python developers use type annotations?” This article dives into projects written by past and present core Python developers to see how often they use annotations in the wild.
GRAM VORONOV

10 Best Practices for Securely Developing with AI

Whether you’re diving into AI-assisted applications or enhancing your AI-assisted development skills, this comprehensive cheat by Snyk is for you. Walk through some crucial tips to securely embrace AI technology and to protect against AI-generated code risks such as prompt injection and data access →
SNYK.IO sponsor

Let’s Create a Python Debugger Together

Ever wondered how a debugger works? Implementing a simple one requires less code than you might think. Read on to find out how.
JOHANNES BECHBERGER

PyPI Has Completed Its First Security Audit

PYPI.ORG

Python Jobs

Software Engineer – Intern (Summer 2024) (Dallas, TX, USA)

Causeway Capital Management

More Python Jobs >>>

Articles & Tutorials

Habits of Great Software Engineers

This opinion piece by Vadim highlights some of the key habits of great software builders. Some items are separate from coding, like doing a tech detox and focusing beyond the code, while others are deep in the tech, like the love for tinkering. Associated HN discussion.
VADIM KRAVCENKO

Embeddings and Vector Databases With ChromaDB

Vector databases are a crucial component of many NLP applications. This tutorial will give you hands-on experience with ChromaDB, an open-source vector database that’s quickly gaining traction. Along the way, you’ll learn what’s needed to understand vector databases with practical examples.
REAL PYTHON

Type-Hinting Dataframes

This article demonstrates complete DataFrame type-hinting in Python, now available with generically defined containers in StaticFrame 2. In addition to usage in static analysis (with Pyright and Mypy), these type hints can be validated at runtime with an included decorator.
CHRISTOPHER ARIZA • Shared by Christopher Ariza

JupyterLab for an Enhanced Notebook Experience

In this tutorial, you’ll learn how to use the JupyterLab authoring environment and what it brings to the popular computational notebook Jupyter Notebook. You’ll learn about its different tools and discover how they can work together to enhance your notebook experience.
REAL PYTHON

Four Kinds of Optimisation

“Premature optimisation might be the root of all evil, but overdue optimisation is the root of all frustration. No matter how fast hardware becomes, we find it easy to write programs which run too slow.” Read on to learn what to do about it.
LAURENCE TRATT

Python Basics: Modules and Packages

In this Python Basics video course, you’ll learn how to build an application by putting related code into separate files called modules. You’ll also use the import statement to use modules in another file.
REAL PYTHON course

Querying Every File in Every Release on PyPI

Lots of information can be found by delving into the Python Package Index and examining the libraries hosted there. This article shows you what is involved in querying all that data.
SETH LARSON

Guide to Queues in Python

A queue is a mechanism for storing information in a system, and is a particularly helpful data structure when dealing with multi-processing. Learn all about queues in Python.
DIMITRIJE STAMENIC

Deobfuscating World of Warships’ Python Scripts

An in-depth analysis of how World of Warships obfuscates its game scripts and how to mostly deobfuscate them automatically.
LANDER

How to (And How Not To) Design REST APIs

Read about common mistakes in REST API design and how best to structure your URLs and use those HTTP verbs.
JEFF SCHNITZER

Database Generated Columns With Django & SQLite

An introduction to database generated columns, using SQLite and the new GeneratedField added in Django 5.0.
PAOLO MELCHIORRE

Projects & Code

Regex Crossword: Learn Regexes With This Game

REGEXCROSSWORD.COM

cluestar: Gain Clues From Clustering!

GITHUB.COM/KOANING

marcel: A Modern Shell

GITHUB.COM/GEOPHILE

de4py: Toolkit for Python Reverse Engineering

GITHUB.COM/FADI002

markdown-crawler: Multithreaded Web Crawler

GITHUB.COM/PAULPIERRE • Shared by Paul Pierre

Events

Weekly Real Python Office Hours Q&A (Virtual)

November 22, 2023
REALPYTHON.COM

PyCon Chile 2023

November 24 to November 27, 2023
PYCON.CL

Django Girls Medellín

November 25 to November 26, 2023
DJANGOGIRLS.ORG

PythOnRio Meetup

November 25, 2023
PYTHON.ORG.BR

Python Sheffield

November 28, 2023
GOOGLE.COM

PyLadiesCon 2023

December 2 to December 4, 2023
PYLADIES.COM

Happy Pythoning!
This was PyCoder’s Weekly Issue #604.
View in Browser »

[ Subscribe to 🐍 PyCoder’s Weekly 💌 – Get the best Python news, articles, and tutorials delivered to your inbox once a week >> Click here to learn more ]

Source:: PyCoder’s