Modern Python Solutions - Part 3

The latest in modern Python recipes for the busy programmer

Python is the preferred choice of developers, engineers, data scientists, and hobbyists everywhere. It is a great scripting language that can power your applications and provide great speed, safety, and scalability. By exposing Python as a series of simple recipes, you can gain insight into specific language features in a particular context. This video will arm you with the knowledge of creating applications with flexible logging, powerful configuration, and command-line options, automated unit tests, and good documentation. You will learn to use the Flask framework for Restful APIs. You will end the course equipped with the knowledge of testing, web services, and configuration and application integration tips and tricks.

Who this course is for

The videos will benefit everyone ranging from beginner to an expert. The course is for web developers, programmers, enterprise programmers, engineers, big data scientist, and so on. If you are experienced, it will expand your knowledge base. Basic knowledge of Python programming is assumed.

What you will learn from this course

Table of Contents

  1. Testing
    • The Course Overview
    • Using docstring for Testing
    • Testing Functions that Raise Exceptions
    • Handling Common doctest Issues
    • Creating Separate Test Modules and Packages
    • Combining the unittest and doctest Tests
    • Testing Things that Involve Dates and Time
    • Testing Things That Involve Randomness
    • Mocking External Resources

  2. Web Services
    • Implementing Web Services with WSGI
    • Using the Flask Framework for RESTful APIs
    • Parsing the Query String in a Request
    • Making REST Requests Using urllib
    • Parsing the URL Path
    • Parsing a JSON Request
    • Implementing Authentications for Web Services

  3. Application Integration
    • Finding Configuration Files
    • Using YAML for Configuration Files
    • Using Python for Configuration Files
    • Using Logging for Control and Audit Output
    • Combining Two Applications into One
    • Combining Many Applications Using the Command Design Pattern
    • Controlling Complex Sequences of Steps

Copyright © 2017 Packt Publishing

All rights reserved. No part of this course may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this course to ensure the accuracy of the information presented. However, the information contained in this course is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this course. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this course by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78829-793-6