The Pythonic Way: An Architect’s Guide to Conventions and Best Practices for the Design, Development, Testing, and Management of Enterprise Python Code (English Edition)

· BPB Publications
Ebook
512
Pages

About this ebook

Learn to build and manage better software with clean, intuitive, scalable, maintainable, and high-performance Python code. 

 

KEY FEATURES  

● Comparative analysis of regular and Pythonic coding constructs.

● Illustrates application design paradigms for Python projects.

● Detailed pointers on optimal data processing and application design.

● Highlights accepted conventions for testing and managing production code.

 

DESCRIPTION 

‘The Pythonic Way' acquaints you with Python's capabilities beyond basic syntax. This book will help you understand widely accepted Pythonic constructs and procedures, thus enabling you to write reliable, optimized, and modular applications.


You'll learn about Pythonic data structures, class and object creation, and more. The book then delves into some of Python's lesser-known but incredibly powerful functionalities such as meta-programming, decorators, context managers, generators, and iterators. Additionally, you'll learn how to accelerate computations by using Pandas Series and Dataframes. You will be introduced to various design patterns that work well with Python applications. Finally, we'll discuss testing frameworks and best practices for testing, packaging, launching, and publishing applications in production environments.


This book will empower you as you transition from beginner or competitive Python coding to industry-standard Python software development. Intermediate Python developers will gain a deeper understanding of the language's nuances, enabling them to create better software.

 

WHAT YOU WILL LEARN

● Understand common practices for writing scalable and legible Python code.

● Create robust and maintainable production codebases for time and space performant applications.

● Master effective data processing practices and features like generators and decorators to improve complex computations on large datasets.

● Get familiar with Pythonic design patterns for secure, large-scale applications.

● Learn to organize your project’s code into modules.

● Familiarize yourself with different testing tools and frameworks.


WHO THIS BOOK IS FOR  

This book is a valuable reference manual for novice and intermediate programmers and data scientists to learn about Pythonic standards and conventions. For beginners, this book will get you started with Pythonic thinking. This book will serve as a guide to fine-tune your skills beyond syntax and help build robust Python applications for intermediate Python coders.

 

TABLE OF CONTENTS

1. Introduction to Pythonic Code

2. Pythonic Data Structures

3. Classes and OOP Conventions

4. Python Modules and Metaprogramming

5. Pythonic Décorators and Context Managers

6. Data Processing Done Right

7. Iterators, Generators, and Coroutines

8. Python Descriptors

9. Pythonic Application Design and Architecture

10. Effective Testing for Python Code

11. Production Code Management

Discover more

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.