Coding With ChatGPT, Pydantic's Future, Properties, and More

#578 – MAY 23, 2023 VIEW IN BROWSER
The PyCoder’s Weekly Logo
ChatGPT: Your Personal Python Coding Mentor
Large language models have gained popularity since OpenAI released ChatGPT. In this tutorial, you’ll learn how to use ChatGPT as your Python coding mentor. You’ll study a variety of use cases, learn how to interpret results, and learn to beware of incorrect and irrelevant responses.
REAL PYTHON

Future of Pydantic and FastAPI
This interview with Samuel Colvin from Pydantic and Sebastián Ramírez from FastAPI took place at PyCon 2023 and covers the changes to Pydantic as part of its 2.0 release along with the impacts that has on libraries built on top of it.
KENNEDY, COLVIN, RAMIREZ podcast

Keep Corrupted URLs From Damaging Your Application
Explore the challenges that unsanitized URLs can bring to your application, and how to mitigate these risks in Snyk’s article on secure URL validation in Python →
SNYK.IOsponsor

Use Properties to Add Dynamic Behavior to Attributes
This article teaches you how to use properties to add dynamic behavior to your attributes. It covers the most common use cases for properties, how to use them, and shows examples of real-world usages of this feature.
RODRIGO GIRÃO SERRÃO • Shared by Rodrigo Girão Serrão

PyPI Temporarily Suspended New Registrations
Due to a large volume of traffic from malicious users, PyPI temporarily suspended new account and project registrations on May 20th. The suspension was lifted 30 hours later on May 21st.
PYTHON.ORG

FastAPI 0.95.2 Security Fix Released
TIANGOLO.COM


Discussions


What Are Some Good AI Regulations?
SLASHDOT.ORG

What’s Your Favorite GPT Powered Tool?
HACKER NEWS


Articles & Tutorials


Why You Should Still Read the Docs
Do you feel you’re fighting your tools? Do you feel you’re relying too much on autocomplete and inline documentation? tl;dr: Most good documentation won’t show up in your IDE – rather, it is about how to use the library, and the problem the library is solving.
ADRIAN

My Favorite Python Packages for Building Flask Applications
This blog post lists the Python packages that Patrick prefers to use when building Flask applications. These packages help with developing APIs, building static sites, building web applications, and testing Flask applications.
PATRICK KENNEDY • Shared by Patrick Kennedy

Keep Your Python Code Secure - Analyze for Free, no Expertise Required
Scan your code and dependencies for security vulnerabilities with Semgrep - the trusted OSS tool used by top companies like GitLab, Snowflake, and Slack. No security expertise needed, simply add your project and let Semgrep do the work in just minutes →
SEMGREPsponsor

Pandas vs Julia: Cheat Sheet and Comparison
This is a Python/Pandas vs Julia cheatsheet and comparison. You can find what is the equivalent of Pandas in Julia or vice versa. With an associated Hacker News Discussion.
DATASCIENTYST

Metaclasses in Python
Metaclasses are an important but mysterious behind-the-scenes mechanism for instantiating classes in Python. In this video course, you’ll learn how Python’s metaclasses work in object-oriented programming.
REAL PYTHON course

Faster CPython at PyCon, Part Two
This is the second part of an article describing the conversations at PyCon around CPython optimizations and performance improvements being worked on as part of the Faster CPython project.
JAKE EDGE

The Basics of Python Packaging in Early 2023
This post is a good guide to the latest in Python packaging, including the minimal configuration you need to adopt the most recent packaging standards.
JAY QI

Caching and Django Rest Framework
How and why to implement and API caching strategy when using the Django Rest Framework. A few lines of code can make a big difference in performance.
TIMO ZIMMERMANN

Comparing to None in Python and Pandas
Missing data are a frequent source of headache and bugs. This post discusses three guidelines that make it less error-prone.
REKA HORVATH • Shared by Reka

Why Engineers Need to Be Bored
An analysis on boredom in engineering productivity and how it can lead to deeper innovation.
JOHN MCBRIDE


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 →

Vecs: Vector Search Client for PostgreSQL/pgvector
GITHUB.COM/SUPABASE • Shared by Oliver Rice

lazycsv: Memory-Efficient CSV Parser
GITHUB.COM/CRUNCH-IO

cleanvision: Find Issues in Image Datasets
GITHUB.COM/CLEANLAB

json5kit: Whitespace-Preserving JSON5 Parser
GITHUB.COM/TUSHARSADHWANI • Shared by Tushar Sadhwani

rsync-time-machine.py: Time Machine-Style Backups
GITHUB.COM/BASNIJHOLT

📆🐍 Upcoming Python Events


PyKla Monthly Meetup
May 24, 2023

PyStaDa
May 24, 2023

Weekly Real Python Office Hours Q&A (Virtual)
May 24, 2023

PyCon Italia 2023
May 25 to May 29, 2023

SPb Python Drinkup
May 25, 2023

Django Girls Groningen
May 27 to May 28, 2023

DjangoCon Europe 2023
May 29 to June 3, 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

Faster CPython at PyCon, Trusted Publishing, Packaging, and More

Tuesday, May 16, 2023

Faster CPython at PyCon #577 – MAY 16, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Faster CPython at PyCon This article summarizes the report the Faster CPython team gave at PyCon 2023. It gives

SOLID OOP, Mojo, PyCon Keynote, and More

Tuesday, May 9, 2023

SOLID Principles: Improve Object-Oriented Design in Python #576 – MAY 9, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo SOLID Principles: Improve Object-Oriented Design in Python In this tutorial,

Object Oriented Python, PyCon 2023, Mastodon Bot, and More

Tuesday, May 2, 2023

Python Classes: The Power of Object-Oriented Programming #575 – MAY 2, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo Python Classes: The Power of Object-Oriented Programming In this tutorial, you

PyPI Trusted Publishers, Namespaces, ChatGPT REPL, and More

Tuesday, April 25, 2023

PyPI Introduces "Trusted Publishers" #574 – APRIL 25, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo PyPI Introduces “Trusted Publishers” PyPI package maintainers can adopt a new, more

Self-Healing Code, Pandas 2.0 Performance, Automation, and More

Wednesday, April 19, 2023

"Self-Healing" Programs That Fix Themselves Thanks to AI #573 – APRIL 18, 2023 VIEW IN BROWSER The PyCoder's Weekly Logo “Self-Healing” Programs That Fix Themselves Thanks to AI Wolverine

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 🎄🎁 ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌