Python dataclasses will save you HOURS, also featuring attrs

Опубликовано: 23 November 2026
на канале: mCoding
995,403
38k

Get rid of boilerplate writing classes using dataclasses!

In this video we learn about dataclasses and how to use them, as well as the related attrs library that dataclasses were based on.

Note: As of Python 3.10 dataclasses DO support slots.

― mCoding with James Murphy (https://mcoding.io)

Source code: https://github.com/mCodingLLC/VideosS...
attrs library: https://www.attrs.org/en/stable/examp...

SUPPORT ME ⭐
---------------------------------------------------
Patreon:   / mcoding  
Paypal: https://www.paypal.com/donate/?hosted...
Other donations: https://mcoding.io/donate

BE ACTIVE IN MY COMMUNITY 😄
---------------------------------------------------
Discord:   / discord  
Github: https://github.com/mCodingLLC/
Reddit:   / mcoding  
Facebook:   / james.mcoding