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

Key phrases

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

Charted | Countries That Became More Happy (or Unhappy) Since 2010 😅

Saturday, April 27, 2024

Which countries had the highest happiness gains since 2010? Which became sadder? View Online | Subscribe Presented by Voronoi: The App Where Data Tells the Story FEATURED STORY Countries With the

Noonification: What Is E-Waste Hacking?

Saturday, April 27, 2024

Top Tech Content sent at Noon! The first AI-powered startup unlocking the “billionaire economy” for your benefit How are you, @newsletterest1? 🪐 What's happening in tech this week: The

TikTok faces a ban in the US, Tesla profits drop and healthcare data leaks

Saturday, April 27, 2024

Plus: Amazon's new delivery subscription and a deep dive on Rippling View this email online in your browser By Kyle Wiggers Saturday, April 27, 2024 Image Credits: TechCrunch Welcome, folks, to

🐍 New Python tutorials on Real Python

Saturday, April 27, 2024

Hey there, There's always something going on over at realpython.com as far as Python tutorials go. Here's what you may have missed this past week: Write Unit Tests for Your Python Code With

Bogus npm Packages Used to Trick Software Developers into Installing Malware

Saturday, April 27, 2024

THN Daily Updates Newsletter cover Webinar -- Uncovering Contemporary DDoS Attack Tactics -- and How to Fight Back Stop DDoS Attacks Before They Stop Your Business... and Make You Headline News.

This Smart Scale for iPhone Is the Best on the Market

Saturday, April 27, 2024

The ultimate checkup, with electrocardiogram.¹ Learn about your body at every weigh-in: pinpoint muscle and fat mass, monitor your cardiovascular health and detect a cardiac anomaly. Body Scan, the

How are you liking the Tip of the Day?

Saturday, April 27, 2024

Dear iPhone Life Reader, Now that you've been enjoying Tip of the Day for a few weeks, we have a quick favor to ask: If you've found the daily emails helpful, please share this link with a

📧 Request Response Messaging Pattern With MassTransit

Saturday, April 27, 2024

​ Request Response Messaging Pattern With MassTransit Read on: m​y website / Read time: 5 minutes BROUGHT TO YOU BY ​ Get ready for POST/CON 24! ​ Join us in San Francisco from April 30 - May 1 for

Tesla Autopilot investigation closed

Friday, April 26, 2024

Inside the IBM-HashiCorp deal and Thoma Bravo takes another company private View this email online in your browser By Christine Hall Friday, April 26, 2024 Good afternoon, and welcome to TechCrunch PM.

Microsoft's and Google's bet on AI is paying off - Weekly News Roundup - Issue #464

Friday, April 26, 2024

Plus: AI-controlled F-16 has been dogfighting with humans; Grok-1.5 Vision; BionicBee; Microsoft's AI generates realistic deepfakes from a single photo; and more! ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏