Python Bytes cover image

Python Bytes

#356 Ripping from PyPI

Oct 10, 2023
Topics covered in this podcast include the recommended use of Psycopg 3 for new projects and its native asyncio support, the features of the dacite library for creating data classes from dictionaries, the new Rust implementation of PIP with exciting features, the challenges of writing flaky tests and concurrency issues, and discussions about data testing and experiences with email clients.
24:13

Podcast summary created with Snipd AI

Quick takeaways

  • PsychoPG3 is recommended for new projects, while PsychoPG2 is still maintained for legacy projects.
  • Dacite simplifies the creation of data classes from dictionaries, supporting nested structures, type checking, and custom type hooks.

Deep dives

PsychoPG3 is the new present and PsychoPG2 is the past

PsychoPG, the popular PostgreSQL adapter for Python, has released PsychoPG3 as the latest version. The announcement signifies that PsychoPG3 is now the present and recommended for new projects, while PsychoPG2 is still maintained but considered the past. PsychoPG3 brings new features such as native async IO support, support for more Python types like enums and Postgres types, including multi-range, and improved parameter bindings. The community encourages developers to consider using PsychoPG3 for new projects and provides resources for comparison with PsychoPG2.

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode