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.

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner