logo
Product categories

EbookNice.com

Most ebook files are in PDF format, so you can easily read them using various software such as Foxit Reader or directly on the Google Chrome browser.
Some ebook files are released by publishers in other formats such as .awz, .mobi, .epub, .fb2, etc. You may need to install specific software to read these formats on mobile/PC, such as Calibre.

Please read the tutorial at this link.  https://ebooknice.com/page/post?id=faq


We offer FREE conversion to the popular formats you request; however, this may take some time. Therefore, right after payment, please email us, and we will try to provide the service as quickly as possible.


For some exceptional file formats or broken links (if any), please refrain from opening any disputes. Instead, email us first, and we will try to assist within a maximum of 6 hours.

EbookNice Team

(Ebook) Clean Code in Python Develop maintainable and efficient code 2nd Edition by Mariano Anaya ISBN 9781800560215 1800560214

  • SKU: EBN-57054248
Zoomable Image
$ 32 $ 40 (-20%)

Status:

Available

4.5

36 reviews
Instant download (eBook) Clean Code in Python: Develop maintainable and efficient code, 2nd Edition after payment.
Authors:Anaya, Mariano
Pages:422 pages.
Year:2021
Editon:2nd ed.
Publisher:Packt Publishing
Language:english
File Size:3.01 MB
Format:pdf
ISBNS:9781800560215, 1800560214
Categories: Ebooks

Product desciption

(Ebook) Clean Code in Python Develop maintainable and efficient code 2nd Edition by Mariano Anaya ISBN 9781800560215 1800560214

(Ebook) Clean Code in Python Develop maintainable and efficient code 2nd Edition by Mariano Anaya - Ebook PDF Instant Download/Delivery: 9781800560215 ,1800560214
Full download (Ebook) Clean Code in Python Develop maintainable and efficient code 2nd Edition after payment


Product details:

ISBN 10: 1800560214
ISBN 13: 9781800560215
Author: Mariano Anaya

Tackle inefficiencies and errors the Pythonic way Key Features Enhance your coding skills using the new features introduced in Python 3.9 Implement the refactoring techniques and SOLID principles in Python Apply microservices to your legacy systems by implementing practical techniques Book Description 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. What you will learn Set up a productive development environment by leveraging automatic tools Leverage the magic methods in Python to write better code, abstracting complexity away and encapsulating details Create advanced object-oriented designs using unique features of Python, such as descriptors Eliminate duplicated code by creating powerful abstractions using software engineering principles of object-oriented design Create Python-specific solutions using decorators and descriptors Refactor code effectively with the help of unit tests Build the foundations for solid architecture with a clean code base as its cornerstone Who this book is for This book is designed to benefit new as well as experienced programmers. It will appeal to team leads, software architects and senior software engineers who would like to write Pythonic code to save on costs and improve efficiency. The book assumes that you have a strong understanding of programming
 

(Ebook) Clean Code in Python Develop maintainable and efficient code 2nd Edition Table of contents:

  1. What this book covers
  2. To get the most out of this book
  3. Download the example code files
  4. Download the color images
  5. Conventions used
  6. Get in touch
  7. Reviews
  8. Introduction, Code Formatting, and Tools
  9. Introduction
  10. The meaning of clean code
  11. The importance of having clean code
  12. Some exceptions
  13. Code formatting
  14. Adhering to a coding style guide on your project
  15. Documentation
  16. Code comments
  17. Docstrings
  18. Annotations
  19. Do annotations replace docstrings?
  20. Tooling
  21. Checking type consistency
  22. Generic validations in code
  23. Automatic formatting
  24. Setup for automatic checks
  25. Summary
  26. References
  27. Pythonic Code
  28. Indexes and slices
  29. Creating your own sequences
  30. Context managers
  31. Implementing context managers
  32. Comprehensions and assignment expressions
  33. Properties, attributes, and different types of methods for objects
  34. Underscores in Python
  35. Properties
  36. Creating classes with a more compact syntax
  37. Iterable objects
  38. Creating iterable objects
  39. Creating sequences
  40. Container objects
  41. Dynamic attributes for objects
  42. Callable objects
  43. Summary of magic methods
  44. Caveats in Python
  45. Mutable default arguments
  46. Extending built-in types
  47. A brief introduction to asynchronous code
  48. Summary
  49. References
  50. General Traits of Good Code
  51. Design by contract
  52. Preconditions
  53. Postconditions
  54. Pythonic contracts
  55. Design by contract – conclusions
  56. Defensive programming
  57. Error handling
  58. Value substitution
  59. Exception handling
  60. Using assertions in Python
  61. Separation of concerns
  62. Cohesion and coupling
  63. Acronyms to live by
  64. DRY/OAOO
  65. YAGNI
  66. KIS
  67. EAFP/LBYL
  68. Inheritance in Python
  69. When inheritance is a good decision
  70. Anti-patterns for inheritance
  71. Multiple inheritance in Python
  72. Method Resolution Order (MRO)
  73. Mixins
  74. Arguments in functions and methods
  75. How function arguments work in Python
  76. How arguments are copied to functions
  77. Variable number of arguments
  78. Positional-only parameters
  79. Keyword-only arguments
  80. The number of arguments in functions
  81. Function arguments and coupling
  82. Compact function signatures that take too many arguments
  83. Final remarks on good practices for software design
  84. Orthogonality in software
  85. Structuring the code
  86. Summary
  87. References
  88. The SOLID Principles
  89. The single responsibility principle
  90. A class with too many responsibilities
  91. Distributing responsibilities
  92. The open/closed principle
  93. Example of maintainability perils for not following the OCP
  94. Refactoring the events system for extensibility
  95. Extending the events system
  96. Final thoughts about the OCP
  97. Liskov's substitution principle
  98. Detecting LSP issues with tools
  99. Using mypy to detect incorrect method signatures
  100. Detecting incompatible signatures with pylint
  101. More subtle cases of LSP violations
  102. Remarks on the LSP
  103. Interface segregation
  104. An interface that provides too much
  105. The smaller the interface, the better
  106. How small should an interface be?
  107. Dependency inversion
  108. A case of rigid dependencies
  109. Inverting the dependencies
  110. Dependency injection
  111. Summary
  112. References
  113. Using Decorators to Improve Our Code
  114. What are decorators in Python?
  115. Function decorators
  116. Decorators for classes
  117. Other types of decorator
  118. More advanced decorators
  119. Passing arguments to decorators
  120. Decorators with nested functions
  121. Decorator objects
  122. Decorators with default values
  123. Decorators for coroutines
  124. Extended syntax for decorators
  125. Good uses for decorators
  126. Adapting function signatures
  127. Validating parameters
  128. Tracing code
  129. Effective decorators – avoiding common mistakes
  130. Preserving data about the original wrapped object
  131. Dealing with side effects in decorators
  132. Incorrect handling of side effects in a decorator
  133. Requiring decorators with side effects
  134. Creating decorators that will always work
  135. Decorators and clean code
  136. Composition over inheritance
  137. The DRY principle with decorators
  138. Decorators and separation of concerns
  139. Analysis of good decorators
  140. Summary
  141. References
  142. Getting More Out of Our Objects with Descriptors
  143. A first look at descriptors
  144. The machinery behind descriptors
  145. Exploring each method of the descriptor protocol
  146. The get method
  147. The set method
  148. The delete method
  149. The set name method
  150. Types of descriptors
  151. Non-data descriptors
  152. Data descriptors
  153. Descriptors in action
  154. An application of descriptors
  155. A first attempt without using descriptors
  156. The idiomatic implementation
  157. Different forms of implementing descriptors
  158. The issue of shared state
  159. Accessing the dictionary of the object
  160. Using weak references
  161. More considerations about descriptors
  162. Reusing code
  163. An alternative to class decorators
  164. Analysis of descriptors
  165. How Python uses descriptors internally
  166. Functions and methods
  167. Built-in decorators for methods
  168. Slots
  169. Implementing descriptors in decorators
  170. Final remarks about descriptors
  171. Interface of descriptors
  172. Object-oriented design of the descriptors
  173. Type annotations on descriptors
  174. Summary
  175. References
  176. Generators, Iterators, and Asynchronous Programming
  177. Technical requirements
  178. Creating generators
  179. A first look at generators
  180. Generator expressions
  181. Iterating idiomatically
  182. Idioms for iteration
  183. The next() function
  184. Using a generator
  185. Itertools
  186. Simplifying code through iterators
  187. The iterator pattern in Python
  188. Coroutines
  189. The methods of the generator interface
  190. close()
  191. throw(ex_type[, ex_value[, ex_traceback]])
  192. send(value)
  193. More advanced coroutines
  194. Returning values in coroutines
  195. Delegating into smaller coroutines – the 'yield from' syntax
  196. Asynchronous programming
  197. Magic asynchronous methods
  198. Asynchronous context managers
  199. Other magic methods
  200. Asynchronous iteration
  201. Asynchronous generators
  202. Summary
  203. References
  204. Unit Testing and Refactoring
  205. Design principles and unit testing
  206. A note about other forms of automated testing
  207. Unit testing and agile software development
  208. Unit testing and software design
  209. Defining the boundaries of what to test
  210. Tools for testing
  211. Frameworks and libraries for unit testing
  212. unittest
  213. pytest
  214. Code coverage
  215. Mock objects
  216. Refactoring
  217. Evolving our code
  218. Production code isn't the only one that evolves
  219. More about testing
  220. Property-based testing
  221. Mutation testing
  222. Common themes in testing
  223. Boundaries or limit values
  224. Classes of equivalence
  225. Edge cases
  226. A brief introduction to test-driven development
  227. Summary
  228. References
  229. Common Design Patterns
  230. Design pattern considerations in Python
  231. Design patterns in action
  232. Creational patterns
  233. Factories
  234. Singleton and shared state (monostate)
  235. Builder
  236. Structural patterns
  237. Adapter
  238. Composite
  239. Decorator
  240. Facade
  241. Behavioral patterns
  242. Chain of responsibility
  243. The template method
  244. Command
  245. State
  246. The null object pattern
  247. Final thoughts about design patterns
  248. The influence of patterns over the design
  249. Design patterns as theory
  250. Names in our models
  251. Summary
  252. References
  253. Clean Architecture
  254. From clean code to clean architecture
  255. Separation of concerns
  256. Monolithic applications and microservices
  257. Abstractions
  258. Software components
  259. Packages
  260. Managing dependencies
  261. Other considerations when managing dependencies
  262. Artifact versions
  263. Docker containers
  264. Use case
  265. The code
  266. Domain models
  267. Calling from the application
  268. Adapters
  269. The services
  270. Analysis
  271. The dependency flow
  272. Limitations
  273. Testability
  274. Intention revealing
  275. Summary
  276. References
  277. Summing it all up
  278. Other Books You May Enjoy

People also search for (Ebook) Clean Code in Python Develop maintainable and efficient code 2nd Edition:

    
what is code maintainability
    
clean code python
    
clean code in python github
    
clean code in python
    
clean code principles python

Tags: Mariano Anaya, Clean Code, Develop maintainable, efficient code

*Free conversion of into popular formats such as PDF, DOCX, DOC, AZW, EPUB, and MOBI after payment.

Related Products