Metaprogramming with Python : a Programmer's Guide to Writing Reusable Code to Build Smarter Applications

Book Cover
Average Rating
Published
Birmingham : Packt Publishing, Limited, 2022.
Status
Available Online

Description

A practical approach to metaprogramming with real-world examples that enables the development of advanced frameworks, libraries, and applications using Python Key Features Learn applied metaprogramming through a simple step-by-step approach Work with easily understandable examples and explanations that take you deep into the theory of metaprogramming Get practical experience in writing reusable code with real-world examples Book Description Effective and reusable code makes your application development process seamless and easily maintainable. 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 object-oriented programming. Next, you will learn about simple decorators, work with metaclasses, and later focus on introspection and reflection. You'll also delve into generics and typing before defining templates for algorithms. As you progress, you will understand your code using abstract syntax trees and explore method resolution order. This Python book also shows you how to create your own dynamic objects before structuring the objects through design patterns. Finally, you will learn simple code-generation techniques along with discovering best practices and eventually building your own applications. By the end of this learning journey, you'll have acquired the skills and confidence you need to design and build reusable high-performing applications that can solve real-world problems. What you will learn Understand the programming paradigm of metaprogramming and its need Revisit the fundamentals of object-oriented programming Define decorators and work with metaclasses Employ introspection and reflection on your code Apply generics, typing, and templates to enhance your code Get to grips with the structure of your code through abstract syntax trees and the behavior through method resolution order Create dynamic objects and generate dynamic code Understand various design patterns and best practices Who this book is for If you are an intermediate-level Python programmer looking to enhance your coding skills by developing reusable and advanced frameworks, then this book is for you. Basic knowledge of Python programming will help you get the most out of this learning journey.

More Details

Format
Language
English
ISBN
183855758X, 9781838557584

Notes

Description
A practical approach to metaprogramming with real-world examples that enables the development of advanced frameworks, libraries, and applications using Python Key Features Learn applied metaprogramming through a simple step-by-step approach Work with easily understandable examples and explanations that take you deep into the theory of metaprogramming Get practical experience in writing reusable code with real-world examples Book Description Effective and reusable code makes your application development process seamless and easily maintainable. 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 object-oriented programming. Next, you will learn about simple decorators, work with metaclasses, and later focus on introspection and reflection. You'll also delve into generics and typing before defining templates for algorithms. As you progress, you will understand your code using abstract syntax trees and explore method resolution order. This Python book also shows you how to create your own dynamic objects before structuring the objects through design patterns. Finally, you will learn simple code-generation techniques along with discovering best practices and eventually building your own applications. By the end of this learning journey, you'll have acquired the skills and confidence you need to design and build reusable high-performing applications that can solve real-world problems. What you will learn Understand the programming paradigm of metaprogramming and its need Revisit the fundamentals of object-oriented programming Define decorators and work with metaclasses Employ introspection and reflection on your code Apply generics, typing, and templates to enhance your code Get to grips with the structure of your code through abstract syntax trees and the behavior through method resolution order Create dynamic objects and generate dynamic code Understand various design patterns and best practices Who this book is for If you are an intermediate-level Python programmer looking to enhance your coding skills by developing reusable and advanced frameworks, then this book is for you. Basic knowledge of Python programming will help you get the most out of this learning journey.
Local note
O'Reilly O'Reilly Online Learning: Academic/Public Library Edition

Discover More

Also in this Series

Checking series information...

Reviews from GoodReads

Loading GoodReads Reviews.

Citations

APA Citation, 7th Edition (style guide)

AloorRavi, S. (2022). Metaprogramming with Python: a Programmer's Guide to Writing Reusable Code to Build Smarter Applications . Packt Publishing, Limited.

Chicago / Turabian - Author Date Citation, 17th Edition (style guide)

AloorRavi, Sulekha. 2022. Metaprogramming With Python: A Programmer's Guide to Writing Reusable Code to Build Smarter Applications. Birmingham: Packt Publishing, Limited.

Chicago / Turabian - Humanities (Notes and Bibliography) Citation, 17th Edition (style guide)

AloorRavi, Sulekha. Metaprogramming With Python: A Programmer's Guide to Writing Reusable Code to Build Smarter Applications Birmingham: Packt Publishing, Limited, 2022.

Harvard Citation (style guide)

AloorRavi, S. (2022). Metaprogramming with python: a programmer's guide to writing reusable code to build smarter applications. Birmingham: Packt Publishing, Limited.

MLA Citation, 9th Edition (style guide)

AloorRavi, Sulekha. Metaprogramming With Python: A Programmer's Guide to Writing Reusable Code to Build Smarter Applications Packt Publishing, Limited, 2022.

Note! Citations contain only title, author, edition, publisher, and year published. Citations should be used as a guideline and should be double checked for accuracy. Citation formats are based on standards as of August 2021.

Staff View

Grouped Work ID
07e29237-5750-0c2a-c1ad-d64ab2442b3b-eng
Go To Grouped Work View in Staff Client

Grouping Information

Grouped Work ID07e29237-5750-0c2a-c1ad-d64ab2442b3b-eng
Full titlemetaprogramming with python a programmers guide to writing reusable code to build smarter applications
Authoraloorravi sulekha
Grouping Categorybook
Last Update2025-01-24 12:33:29PM
Last Indexed2025-05-22 03:01:49AM

Book Cover Information

Image Sourcedefault
First LoadedSep 18, 2024
Last UsedJan 30, 2025

Marc Record

First DetectedMar 14, 2023 08:40:24 AM
Last File Modification TimeDec 17, 2024 08:20:57 AM
SuppressedRecord had no items

MARC Record

LEADER04769cam a22004577a 4500
001on1341442623
003OCoLC
00520241217081949.0
006m     o  d        
007cr cnu---unuuu
008220903s2022    enk     o     000 0 eng d
015 |a GBC2E6886|2 bnb
0167 |a 020717466|2 Uk
020 |a 183855758X
020 |a 9781838557584|q (electronic bk.)
035 |a (OCoLC)1341442623
037 |a 9781838554651|b O'Reilly Media
037 |a 10162013|b IEEE
040 |a EBLCP|b eng|e pn|c EBLCP|d ORMDA|d OCLCQ|d UKMGB|d OCLCF|d UPM|d UKAHL|d OCLCQ|d N$T|d IEEEE|d OCLCO
049 |a MAIN
050 4|a QA76.73.P98
08204|a 005.13/3|2 23/eng/20220913
1001 |a AloorRavi, Sulekha.
24510|a Metaprogramming with Python :|b a Programmer's Guide to Writing Reusable Code to Build Smarter Applications /|c Sulekha AloorRavi.
260 |a Birmingham :|b Packt Publishing, Limited,|c 2022.
300 |a 1 online resource (402 pages)
336 |a text|b txt|2 rdacontent
337 |a computer|b c|2 rdamedia
338 |a online resource|b cr|2 rdacarrier
5050 |a Table of Contents The Need For and Applications of Meta programming Refresher of OOP Concepts in Python Understanding Decorators and Their Applications Working with Metaclasses Understanding Introspection Implementing Reflection on Python Objects Understanding Generics and Typing Defining Templates for Algorithms Understanding Code through Abstract Syntax Tree Understanding Method Resolution Order of Inheritance Creating Dynamic Objects Applying GOF Design Patterns - Part 1 Applying GOF Design Patterns - Part 2 Generating Code from AST Implementing a Case Study Following Best Practices.
520 |a A practical approach to metaprogramming with real-world examples that enables the development of advanced frameworks, libraries, and applications using Python Key Features Learn applied metaprogramming through a simple step-by-step approach Work with easily understandable examples and explanations that take you deep into the theory of metaprogramming Get practical experience in writing reusable code with real-world examples Book Description Effective and reusable code makes your application development process seamless and easily maintainable. 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 object-oriented programming. Next, you will learn about simple decorators, work with metaclasses, and later focus on introspection and reflection. You'll also delve into generics and typing before defining templates for algorithms. As you progress, you will understand your code using abstract syntax trees and explore method resolution order. This Python book also shows you how to create your own dynamic objects before structuring the objects through design patterns. Finally, you will learn simple code-generation techniques along with discovering best practices and eventually building your own applications. By the end of this learning journey, you'll have acquired the skills and confidence you need to design and build reusable high-performing applications that can solve real-world problems. What you will learn Understand the programming paradigm of metaprogramming and its need Revisit the fundamentals of object-oriented programming Define decorators and work with metaclasses Employ introspection and reflection on your code Apply generics, typing, and templates to enhance your code Get to grips with the structure of your code through abstract syntax trees and the behavior through method resolution order Create dynamic objects and generate dynamic code Understand various design patterns and best practices Who this book is for If you are an intermediate-level Python programmer looking to enhance your coding skills by developing reusable and advanced frameworks, then this book is for you. Basic knowledge of Python programming will help you get the most out of this learning journey.
5880 |a Print version record.
590 |a O'Reilly|b O'Reilly Online Learning: Academic/Public Library Edition
650 0|a Python (Computer program language)|9 71333
77608|i Print version:|a AloorRavi, Sulekha.|t Metaprogramming with Python.|d Birmingham : Packt Publishing, Limited, ©2022
85640|u https://library.access.arlingtonva.us/login?url=https://learning.oreilly.com/library/view/~/9781838554651/?ar|x O'Reilly|z eBook
938 |a Askews and Holts Library Services|b ASKH|n AH40309899
938 |a ProQuest Ebook Central|b EBLB|n EBL7073135
938 |a EBSCOhost|b EBSC|n 3360708
994 |a 92|b VIA
999 |c 282299|d 282299