PyCon JP 2024

ロケール設定が保存されました。pretalxでは英語のサポートが充実していると思っていますが、問題やエラーが発生した場合は、ぜひご連絡ください。

Unlocking Python's Core Magic
2024/09/28 , 4F Track4

Discover the hidden gems of Python that can significantly improve your coding skills. While fundamental concepts such as dunder methods, decorators, and iterable protocols are well-known to most Python developers, not everyone knows how to apply them. In this presentation, you will learn how these features work and see their application in real-world open-source projects.


This presentation briefly introduces a few of Python's fundamental concepts. The objective of this talk is not to extensively cover the details of these mechanisms but to demonstrate how these concepts can be applied to a real-world open-source project. The following concepts will be covered.

  1. dunder method
  2. __getattr__ and PEP 562
  3. decorators
  4. functool.partial
  5. Iterable Protocol

この題材を選んだ理由やきっかけ

Even though most Python developers are familiar with these concepts, they may not use them frequently during implementation and might forget about them. By demonstrating how they are used in an open-source project, I want to showcase how they can be applied to real-world use cases and how powerful they can be.

オーディエンスが持って帰れる具体的な知識やノウハウ

How the following Python feature can be applied to real-world use cases

  1. dunder method
  2. __getattr__ and PEP 562
  3. decorators
  4. functool.partial
  5. Iterable Protocol
オーディエンスに求める前提知識

Basic understanding of Python and have experience using decorators and dunder methods implemented by others

オーディエンスの経験レベル

Intermediate

発表の言語

English

発表資料の言語

English

See also: slide deck

Wei Lee is a software engineer and an Apache Airflow committer. He is an open-source ethicist who has contributed actively to Airflow since 2023. In addition to Airflow, he maintains commitizen-tools and has volunteered at PyCon Taiwan since 2019. When he's not working, Wei enjoys exploring the world through travel. Attending PyCon events gives him the perfect opportunity to do so. Wei has already attended PyCon TW 🇹🇼, PyCon US 🇺🇸, PyCon JP 🇯🇵, PyCon CA 🇨🇦, and more PyCons to come.

Personal Website: https://weilee.me
Twitter: @clleew