Metaprogramming with Python
eBook - ePub

Metaprogramming with Python

Sulekha AloorRavi

Share book
  1. 402 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Metaprogramming with Python

Sulekha AloorRavi

Book details
Table of contents
Citations

About This Book

A practical approach to metaprogramming with real-world examples that enables the development of advanced frameworks, libraries, and applications using PythonKey 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 examplesBook DescriptionEffective 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 practicesWho this book is forIf 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.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Metaprogramming with Python an online PDF/ePUB?
Yes, you can access Metaprogramming with Python by Sulekha AloorRavi in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.

Information

Year
2022
ISBN
9781838557584
Edition
1

Table of contents