Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gahjelle/decorators_tutorial

Introduction to Decorators - Tutorial given at PyCon Online 2020 and 2021
https://github.com/gahjelle/decorators_tutorial

decorators materials pycon python tutorial

Last synced: 2 months ago
JSON representation

Introduction to Decorators - Tutorial given at PyCon Online 2020 and 2021

Awesome Lists containing this project

README

        

# Introduction to Decorators Tutorial

This repository contains material for the **Introduction to Decorators - Power Up Your Python Code** tutorials that I've given.

I've had the pleasure of teaching about decorators at [PyCon US](https://us.pycon.org/) several times. Each occasion has its own page with all the materials. The sessions have also been filmed and are available on YouTube:

- **PyCon 2023 Salt Lake City** [ [Materials](2023/) - [Video](https://youtu.be/wHpphKNegSI) ]
- **PyCon 2021 Online** [ [Materials](2021/) - [Video](https://youtu.be/VWZAh1QrqRE) ]
- **PyCon 2020 Online** [ [Materials](2020/) - [Video](https://youtu.be/T8CQwGIsrx4) ]

# Decorator Resources

- Real Python articles:
- [Primer on Python Decorators](https://realpython.com/primer-on-python-decorators)
- [Python Timer Functions: Three Ways to Monitor Your Code](https://realpython.com/python-timer/)
- [Python 3.9: More Flexible Decorators](https://realpython.com/python39-new-features/#more-flexible-decorators)

- Real Python video course: [Python Decorators 101](https://realpython.com/courses/python-decorators-101/)

- Python Enhancement Proposals about decorators:
- [PEP 318: Decorators for Functions and Methods](https://www.python.org/dev/peps/pep-0318/)
- [PEP 3129: Class Decorators](https://www.python.org/dev/peps/pep-3129/)
- [PEP 614: Relaxing Grammar Restrictions On Decorators](https://www.python.org/dev/peps/pep-0614/)

- Awesome Python Decorator List
- [Awesome Python Decorator List](https://github.com/lord63/awesome-python-decorator)
- [`decorator` library for easier definition of decorators](https://pypi.org/project/decorator/)