Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Clean Code in Python
  • Table Of Contents Toc
Clean Code in Python

Clean Code in Python - Second Edition

By : Anaya
4.6 (34)
close
close
Clean Code in Python

Clean Code in Python

4.6 (34)
By: Anaya

Overview of this book

Experienced professionals in every field face several instances of disorganization, poor readability, and testability due to unstructured code. With updated code and revised content aligned to the new features of Python 3.9, this second edition of Clean Code in Python will provide you with all the tools you need to overcome these obstacles and manage your projects successfully. The book begins by describing the basic elements of writing clean code and how it plays a key role in Python programming. You will learn about writing efficient and readable code using the Python standard library and best practices for software design. The book discusses object-oriented programming in Python and shows you how to use objects with descriptors and generators. It will also show you the design principles of software testing and how to resolve problems by implementing software design patterns in your code. In the concluding chapter, we break down a monolithic application into a microservices-based one starting from the code as the basis for a solid platform. By the end of this clean code book, you will be proficient in applying industry-approved coding practices to design clean, sustainable, and readable real-world Python code.
Table of Contents (13 chapters)
close
close
11
Other Books You May Enjoy
12
Index
chevron up

Index

A

abstractions 367, 368

acceptance test 287

adapter pattern 337, 338, 339

adapters 383

advanced coroutines 266

advanced decorators 165

annotations 13, 14, 15, 16

docstrings, replacing 17

anti-patterns, for inheritance 100, 101, 102, 103

Application Programming Interface (API) 74

arguments

copying, to functions 107, 108

in functions 107

in methods 107

passing, to decorators 165, 166

variable number 109, 110, 111, 112, 113

artifacts

versions 376

assertions

using, in Python 88, 89, 90

assignment expressions 40, 42

asymptotic notation 56

asynchronous code 68, 69, 70

asynchronous context managers 276, 277

asynchronous generators 280, 281

asynchronous iteration 278, 279, 280

asynchronous programming 273, 275

automated testing 287, 288

automatic checks

setup 26, 27

automatic formatting 23, 25

B

behavioral patterns 344

chain of responsibility 345...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Clean Code in Python
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon