By Steven F. Lott
Key Features
- Create purposes with versatile logging, strong configuration and command-line innovations, computerized unit assessments, and reliable documentation
- Use the Python distinctive tips on how to combine seamlessly with integrated beneficial properties and the traditional library
- Design periods to aid item patience in JSON, YAML, Pickle, CSV, XML, Shelve, and SQL
Book Description
An object-oriented method of Python net improvement delivers a way more fully-realised event of the language. the flexibleness and tool of Python, mixed with the advancements in layout, coding and software program upkeep that object-oriented programming permits, is outfitted to answer the demanding situations of an increasing number of advanced and data-intensive program improvement, making tricky initiatives even more doable. This e-book has been designed to make this refined method of programming more uncomplicated to benefit quick, supplying you with a transparent and coherent studying journey.
Beginning by way of taking a look at a variety of layout styles for the _init_() process, you'll find out how to successfully use more than a few Pythonâs specific how to create sessions that combine with Pythonâs integrated beneficial properties, and locate precise explorations and demonstrations of callables and contexts, packing containers and collections, numbers, and interior designers and mixins, with a spotlight on most sensible practices for powerful and winning layout. The e-book additionally good points info that demonstrates tips on how to create power gadgets utilizing JSON, YAML, Pickle, CSV, XML, Shelve and SQL and exhibits you ways to transmit gadgets among techniques. Going additional into OOP, youâll locate specialist info on logging, warnings, unit checking out in addition to operating with the command line.
Structured in three elements to make the complexity of OOP extra achievable - Pythonic periods through designated equipment, endurance and Serialization and checking out, Debugging, Deploying, and holding â this publication deals deep perception into OOP that can assist you boost specialist point object-oriented Python skills.
What you are going to learn
- Create purposes with versatile logging, robust configuration and command-line innovations, automatic unit exams, and stable documentation
- Get to grips with diversified layout styles for the __init__() method
- Design callable gadgets and context managers
- Perform item serialization in codecs resembling JSON, YAML, Pickle, CSV, and XML
- Map Python gadgets to a SQL database utilizing the integrated SQLite module
- Transmit Python gadgets through RESTful internet services
- Devise recommendations for computerized unit trying out, together with tips on how to use the doctest and the unittest.mock module
- Parse command-line arguments and combine this with configuration records and setting variables
About the Author
Steven F. Lott has been programming because the 70s, while pcs have been huge, pricey, and infrequent. As a freelance software program developer and architect, he has labored on hundreds and hundreds of initiatives, from very small to huge. he is been utilizing Python to resolve company difficulties for over 10 years.
Table of Contents
- The _init_() Method
- Integrating Seamlessly with simple Python distinctive Methods
- Attribute entry, houses, and Descriptors
- The ABCs of constant Design
- Using Callables and Contexts
- Creating Contrainers and Collections
- Creating Numbers
- Decorators and Mixins: Cross-Cutting Aspects
- Serializing and Saving â JSON, YAML, Pickle, CSV, and XML
- Storing and Retrieving gadgets through Shelve
- Storing and Retrieving items through SQLite
- Transmitting and Sharing Objects
- Configuration records and Persistence
- The Logging and caution Modules
- Designing for Testability
- Coping with the Command Line
- The Module and package deal Design
- Quality and Documentation
Read or Download Mastering Object-oriented Python - Transform Your Approach to Python Programming PDF
Best object oriented design books
Application synthesis is an answer to the software program concern. If we had a application that develops right courses from requisites, then software validation and upkeep could disappear from the software program life-cycle, and you can concentrate on the extra inventive projects of specification elaboration, validation, and upkeep, simply because replay of software improvement will be more cost-effective.
Design Patterns in Java™ (2nd Edition) (Software Patterns Series)
Layout styles in Java™ promises the hands-on perform and deep perception you want to totally leverage the numerous strength of layout styles in any Java software program venture. the appropriate supplement to the vintage layout styles, this learn-by-doing workbook applies the most recent Java good points and most sensible practices to all the unique 23 styles pointed out in that groundbreaking textual content.
Oracle Certified Associate, Java SE 7 Programmer Study Guide
Every one goal is addressed utilizing a sequence of programming examples. while the subject affects reminiscence, stack and heap illustrations are used to supply the reader with a extra intensive figuring out of the subject. on the finish of every bankruptcy, a chain of pattern questions are supplied to augment your wisdom.
Jump Start CoffeeScript: Get Up to Speed With CoffeeScript in a Weekend
A pragmatic and concise creation to CoffeeScript, a programming language that compiles into JavaScript and that makes operating with JavaScript more straightforward. The booklet lays out the fundamentals of the language, its syntax, and the attention-grabbing good points that set it except JavaScript. it's going to fulfill somebody with an intermediate point of knowing of JavaScript who wishes a conceptual and useful advent to CoffeeScript.
- Spring MVC, A Tutorial, second edition
- Introduction to Deep Learning Using R: A Step-by-Step Guide to Learning and Implementing Deep Learning Models Using R
- Die Welt der VBA-Objekte: Was integrierte Anwendungen leisten können (German Edition)
- Practical C
- Practical Object-Oriented Design in Ruby: An Agile Primer (Addison-Wesley Professional Ruby)
Extra info for Mastering Object-oriented Python - Transform Your Approach to Python Programming
Sample text