Robust Python

Write Clean and Maintainable Code



Bookstore > Books > Robust Python

Price$40.21 - $48.49
Rating
AuthorPatrick Viafore
PublisherO'Reilly Media
Published2021
Pages380
LanguageEnglish
FormatPaper book / ebook (PDF)
ISBN-101098100662
ISBN-139781098100667
EBook Hardcover Paperback

Does it seem like your Python projects are getting bigger and bigger? Are you feeling the pain as your codebase expands and gets tougher to debug and maintain? Python is an easy language to learn and use, but that also means systems can quickly grow beyond comprehension. Thankfully, Python has features to help developers overcome maintainability woes.

In this practical book, author Patrick Viafore shows you how to use Python's type system to the max. You'll look at user-defined types, such as classes and enums, and Python's type hinting system. You'll also learn how to make Python extensible and how to use a comprehensive testing strategy as a safety net. With these tips and techniques, you'll write clearer and more maintainable code.

Learn why types are essential in modern development ecosystems; Understand how type choices such as classes, dictionaries, and enums reflect specific intents; Make Python extensible for the future without adding bloat; Use popular Python tools to increase the safety and robustness of your codebase; Evaluate current code to detect common maintainability gotchas; Build a safety net around your codebase with linters and tests.





Similar Books


Parallel Programming with Python

Parallel Programming with Python

by Jan Palach

Starting with the basics of parallel programming, you will proceed to learn about how to build parallel algorithms and their implementation. You will then gain the expertise to evaluate problem domains, identify if a particular problem can be parallelized, and how to use the Threading and Multiprocessor modules in Python.The Python Parall...

Price:  $13.99  |  Publisher:  Packt Publishing  |  Release:  2014

Python Web Development with Django

Python Web Development with Django

by Jeff Forcier, Paul Bissex, Wesley J Chun

Using the simple, robust, Python-based Django framework, you can build powerful Web solutions with remarkably few lines of code. In Python Web Development with Django, three experienced Django and Python developers cover all the techniques, tools, and concepts you need to make the most of Django, including all the major features of the ne...

Price:  $8.39  |  Publisher:  Addison-Wesley  |  Release:  2009

Python 3 Object-Oriented Programming, 3rd Edition

Python 3 Object-Oriented Programming, 3rd Edition

by Dusty Phillips

Object-oriented programming (OOP) is a popular design paradigm in which data and behaviors are encapsulated in such a way that they can be manipulated together. This third edition of Python 3 Object-Oriented Programming fully explains classes, data encapsulation, and exceptions with an emphasis on when you can use each principle to develo...

Price:  $39.99  |  Publisher:  Packt Publishing  |  Release:  2018

Python Object-Oriented Programming, 4th Edition

Python Object-Oriented Programming, 4th Edition

by Steven F. Lott, Dusty Phillips

Object-oriented programming (OOP) is a popular design paradigm in which data and behaviors are encapsulated in such a way that they can be manipulated together. Python Object-Oriented Programming, Fourth Edition dives deep into the various aspects of OOP, Python as an OOP language, common and advanced design patterns, and hands-on data ma...

Price:  $32.00  |  Publisher:  Packt Publishing  |  Release:  2021

Beginning Python

Beginning Python

by James Payne

As an open source, object-oriented programming language, Python is easy to understand, extendable, and user-friendly. This book covers every aspect of Python so that you can get started writing your own programs with Python today. Author James Payne begins with the most basic concepts of the Python language - placing a special focus on th...

Price:  $7.99  |  Publisher:  Wrox  |  Release:  2010

Mastering Python for Finance

Mastering Python for Finance

by James Ma Weiming

Built initially for scientific computing, Python quickly found its place in finance. Its flexibility and robustness can be easily incorporated into applications for mathematical studies, research, and software development.With this book, you will learn about all the tools you need to successfully perform research studies and modeling, imp...

Price:  $47.52  |  Publisher:  Packt Publishing  |  Release:  2015

Python Testing Cookbook, 2nd Edition

Python Testing Cookbook, 2nd Edition

by Greg L. Turnquist, Bhaskar N. Das

Automated testing is the best way to increase efficiency while reducing the defects of software testing. It helps find bugs in code easily and at an early stage so that they can be tackled efficiently. This book delves into essential testing concepts used in Python to help you build robust and maintainable code.Python Testing Cookbook beg...

Price:  $35.99  |  Publisher:  Packt Publishing  |  Release:  2018

Mastering Python for Networking and Security

Mastering Python for Networking and Security

by Jose Manuel Ortega

It's becoming more and more apparent that security is a critical aspect of IT infrastructure. A data breach is a major security incident, usually carried out by just hacking a simple network line. Increasing your network's security helps step up your defenses against cyber attacks. Meanwhile, Python is being used for increasingly advanced...

Price:  $39.99  |  Publisher:  Packt Publishing  |  Release:  2018