Metaclasses in Python











>> YOUR LINK HERE: ___ http://youtube.com/watch?v=yWzMiaqnpkI

Metaclasses customize the class creation process. • We go over what metaclasses are and give some notable examples, including: abstract base classes, adding function overloads, and dataclasses or code generation. • CONTEST WINNERS (CONTEST ENDED 10/9/21) : • PyCharm: Yannick Kuhn, peter duffy • CLion: BalkanSwine, Laurin Neff • OFFICIAL CONTEST RULES: • 1. All entries must comply with the YouTube community guidelines ( http://www.youtube.com/t/community_gu...) and YouTube Terms of Service (http://www.youtube.com/static?gl=US t.... Entries that violate YouTube guidelines are automatically disqualified. • 2. YouTube is not a sponsor of the contest and viewers are required to release YouTube from any liability related to the contest. • 3. Privacy notice: no personal data will be collected for this contest. • 4. In order to enter, you must (a) be one of my subscribers, AND (b) make a top-level comment to the video including #pycharm or #clion or both. If you only include one you will only have a chance to win that corresponding license. • 5. The contest is free, there is no fee required to enter. • 6. Winners will be chosen randomly 1 week after the date the video went live from all users who have entered and not been disqualified. • 7. Each winner will be notified via a comment reply from me that details what prize was won (e.g. Congratulations! You have won XYZ. Please email me. ). I will ask the winner to contact me by email, and I will reply through email with a random token which must be posted as another reply to the winning comment from the winning account in order to verify account ownership and prevent fraud. • 8. Each winner will have 72 hours to respond AND prove account ownership or their prize is automatically forfeited and another winner will be chosen. • 9. A winner can only win 1 prize per contest. • 10. The prize pool for this contest is: 2 licenses for PyCharm Professional ( Free 1-Year Personal Subscription ) and 2 licenses for CLion ( Free 1-Year Personal Subscription ), which are products made by JetBrains. A prize consists of 1 license, which will be delivered in the form of a redeemable code that can be redeemed at https://www.jetbrains.com/store/redeem/ before May 01, 2022. • 11. You may not enter the contest if doing so would be a violation of any relevant federal, state, and local laws, rules, and regulations, including U.S. sanctions. • ― mCoding with James Murphy (https://mcoding.io) • Source code: https://github.com/mCodingLLC/VideosS... • Python metaclass docs: https://docs.python.org/3/reference/d... • Previous video on new:    • __new__ vs __init__ in Python   • Another great metaprogramming video:    • Python 3 Metaprogramming   • Python descriptor docs: https://docs.python.org/3/howto/descr... • Python ABC docs: https://docs.python.org/3/library/abc... • SUPPORT ME ⭐ • --------------------------------------------------- • Patreon:   / mcoding   • Paypal: https://www.paypal.com/donate/?hosted... • Other donations: https://mcoding.io/donate • Top patrons and donors: Jameson, Laura M, John Martin, Dragos C, Vahnekie, Pieter G, Casey G, Sigmanificient • BE ACTIVE IN MY COMMUNITY 😄 • --------------------------------------------------- • Discord:   / discord   • Github: https://github.com/mCodingLLC/ • Reddit:   / mcoding   • Facebook:   / james.mcoding   • CHAPTERS • --------------------------------------------------- • 0:00 Intro • 1:28 What is a metaclass • 3:58 Simplest possible metaclass • 4:59 Load time metaclass • 6:08 Abstract base classes • 8:03 Function overloads • 14:10 Dataclass code generation • 15:01 Giveaway instructions

#############################









Content Report
Youtor.org / YTube video Downloader © 2025

created by www.youtor.org