About 472 results
Open links in new tab
  1. Metaprogramming with Python[Book] - O'Reilly Media

    With Python, you will have access to advanced metaprogramming features that you can use to build high-performing applications. The book starts by introducing you to the need and applications of metaprogramming, before navigating the fundamentals of …

  2. 9. Metaprogramming - Python Cookbook, 3rd Edition [Book]

    The main purpose of this chapter is to explore various metaprogramming techniques and to give examples of how they can be used to customize the behavior of Python to your own whims.

  3. Metaprogramming with Python [Book] - O'Reilly Media

    Metaprogramming with Python by Sulekha AloorRavi Get full access to Metaprogramming with Python and 60K+ other titles, with a free 10-day trial of O'Reilly. There are also live events, courses curated by job role, and more.

  4. Python Metaprogramming in Practice - O'Reilly Media

    Join expert Trey Hunner to dive into the low-level metaprogramming features that Python provides for library and framework authors. You'll explore decorators, descriptors, and metaclasses, and see how each of these Python features works and what power they hold.

  5. Advanced Python: Metaprogramming - O'Reilly Media

    Explain how the Python execution model really works, including what happens defining a class. Identify the kinds of problems that metaclasses solve. Know when to use advanced techniques like monkey-patching and eval and exec.

  6. Chapter 3 : Understanding Decorators and their Applications

    We will first take a look at decorators and how decorators can be implemented in Python 3. Decorators are one of the metaprogramming concepts that deal with decorating a function without modifying the actual function body.

  7. Metaprogramming with Python [Book] - O'Reilly Media

    In this chapter, we will learn how to use ASTs in Python to generate code for various applications. We will apply these abstract syntax trees to metaprogramming to implement automatic code generated in this chapter.

  8. Chapter 7 : Understanding Generics and Typing - O'Reilly Media

    In this chapter, we will look at what generics are and how to perform type checking in Python 3 and understand how it is useful in metaprogramming. Python is a programming language where variables are declared as generics and they don’t get a …

  9. Chapter 8 : Defining Templates for Algorithms - O'Reilly Media

    Templates, as the name suggests, can act as a template, a format, or a model on how a sequence of operations can be performed on a Python object. These templates can be used to define the common functionalities of methods within a class and to reuse them through the application of the ...

  10. Preface - Metaprogramming with Python [Book] - O'Reilly Media

    This book starts by introducing you to the need for and applications of metaprogramming, before navigating the fundamentals of object-oriented programming. As you progress, you will learn about simple decorators, then work with meta classes, and …

Refresh