This book explores the important concepts in software testing and their implementation in Python 3 and shows you how to automate, organize, and execute unit tests for this language. This knowledge is often acquired by reading source code, manuals, and posting questions on community forums, which tends to be a slow and painful process.

Python Unit Test Automation will allow you to quickly ramp up your understanding of unit test libraries for Python 3 through the practical use of code examples and exercises. All of which makes this book a great resource for software developers and testers who want to get started with unit test automation in Python 3 and compare the differences with Python 2.

This short work is your must-have quick start guide to mastering the essential concepts of software testing in Python.

What You'll Learn: Essential concepts in software testingVarious test automation libraries for Python, such as doctest, unittest, nose, nose2, and pytestTest-driven development and best practices for test automation in PythonCode examples and exercises

Who This Book Is For:Python developers, software testers, open source enthusiasts, and contributors to the Python community

This book is intended for novices, as well as seasoned Raspberry Pi and Python enthusiasts, who would like to explore the area of computer vision. Readers with very little programming or coding/scripting experience can create wonderful image processing and computer vision applications with relatively fewer lines of code in Python.

Write your own Digital Image Processing programs with the use of pillow, scipy.ndimage, and matplotlib in Python 3 with Raspberry Pi 3 as the hardware platform. This concise quick-start guide provides working code examples and exercises. Learn how to interface Raspberry Pi with various image sensors.What You'll LearnUnderstand Raspberry Pi concepts and setupUnderstand digital image processing conceptsStudy pillow, the friendly PIL forkExplore scipy.ndimage and matplotlibMaster use of the Pi camera and webcam

Who This Book Is ForRaspberry Pi and IoT enthusiasts, digital image processing enthusiasts, Python and Open Source enthusiasts and professionals

Build an inexpensive cluster of multiple Raspberry Pi computers and install all the required libraries to write parallel and scientific programs in Python 3. This book covers setting up your Raspberry Pis, installing the necessary software, and making a cluster of multiple Pis. Once the cluster is built, its power has to be exploited by means of programs to run on it. So, Raspberry Pi Supercomputing and Scientific Programming teaches you to code the cluster with the MPI4PY library of Python 3. Along the way, you will learn the concepts of the Message Passing Interface (MPI) standards and will explore the fundamentals of parallel programming on your inexpensive cluster. This will make this book a great starting point for supercomputing enthusiasts who want to get started with parallel programming. The book finishes with details of symbolic mathematics and scientific and numerical programming in Python, using SymPi, SciPy, NumPy, and Matplotlib. You’ll see how to process signals and images, carry out calculations using linear algebra, and visualize your results, all using Python code. With the power of a Raspberry Pi supercomputer at your fingertips, data-intensive scientific programming becomes a reality at home.What You Will Learn Discover the essentials of supercomputingBuild a low-cost cluster of Raspberry Pis at homeHarness the power of parallel programming and the Message Passing Interface (MPI)Use your Raspberry Pi for symbolic, numerical, and scientific programming

Who This Book Is ForPython 3 developers who seek the knowledge of parallel programming, Raspberry Pi enthusiasts, researchers, and the scientific Python community.

Start building amazing projects with the Raspberry Pi right out of the boxAbout This BookExplore the vast range of opportunities provided by Raspberry Pi and other hardware components such as a webcam, the Pi camera, and sensorsGet hands-on experience with coding, networking, and hardware with the Raspberry Pi platformLearn through ample screenshots that offer a play-by-play account of how to implement Raspberry-Pi-based real-life projectsWho This Book Is For

What's the best way to learn how to use your Raspberry Pi? By example! If you want something exciting to do whilst getting to grips with what your Pi can offer, this is the book for you. With both simple and complex projects, you'll create a wide variety of cool toys and functions with your Raspberry Pi - all with minimal coding experience necessary.

What You Will LearnSet up your Raspberry Pi and get it ready for some interesting real-life projectsWork with images, videos, webcams, and the Pi camera and create amazing time-lapse videosExplore the amazing world of Minecraft PiGet to know how to use PiGlow for GPIO programmingInterface your Pi with Grove Sensors and implement IoT applicationsBuild your own cluster with Raspberry PiUnderstand the networking and network programming fundamentalsIn Detail

Want to put your Raspberry Pi through its paces right out of the box? This tutorial guide is designed to get you learning all the tricks of the Raspberry Pi through building complete, hands-on hardware projects. Speed through the basics and then dive right in to development!

Discover that you can do almost anything with your Raspberry Pi with a taste of almost everything. Get started with Pi Gaming as you learn how to set up Minecraft, and then program your own game with the help of Pygame. Turn the Pi into your own home security system with complete guidance on setting up a webcam spy camera and OpenCV computer vision for image recognition capabilities. Get to grips with GPIO programming to make a Pi-based glowing LED system, build a complete functioning motion tracker, and more. Finally, get ready to tackle projects that push your Pi to its limits. Construct a complete Internet of Things home automation system with the Raspberry Pi to control your house via Twitter; turn your Pi into a super-computer through linking multiple boards into a cluster and then add in advanced network capabilities for super speedy processing!

Style and approach

This step-by-step guide to building Raspberry-Pi-based projects is explained in a conversational and easy-to-follow style. Each topic is explained sequentially in the process of creating real-life projects, and detailed explanations of the basic and advanced features of various Python libraries are also included.

Explore the powers of Raspberry Pi and build your very own projects right out of the boxAbout This BookFrom robotics to gaming, this Learning Path will unlock your creativity!Build your own impressive IoT projects to transform your homeFeaturing some of Packt's very best Raspberry Pi content, this Learning Path doesn't just get you to your destination – it opens up a whole horizon of possibilities!Who This Book Is For

Want new ideas for your next Raspberry Pi project? Got one lying around gathering dust? This Learning Path gets you straight into the creative dirty work of programming and playing with your pi. Whether your new to Raspberry Pi, or an experienced maker, we think this Learning Path will inspire you and get your creative juices flowing!

What You Will LearnDiscover an aweome range of Raspberry Pi projectsBridge the gap between software and hardware through your Pi and find out how to make an operating system interact with cameras and other hardwareFind out how to use your Raspberry Pi for gamingSecure your home with this tiny computer!Make science fiction a reality – build a walking robotIn Detail

Looking for inspiration for your next Raspberry Pi project? Not sure where to begin? This Learning Path is the perfect place to begin, providing you with an accessible yet comprehensive journey through Raspberry Pi. Following three modules, you'll soon be confident and prepared to get creative with your microcomputer.

Raspberry Pi by Example is the first module in this Learning Path – and it does exactly what it says. It doesn't just teach, it shows you how to go and build some awesome Raspberry Pi projects immediately. Build and play your own games with the Pi, build a complete Internet of Things home automation system that controls your house through Twitter... let your imagination run wild!

In the next module we'll look in more depth at building a home security system. You'll be using some of the skills you devoped through the first module, but apply them to something more intricate and impressive. Using a Linux based operating system as the foundations, you'll gradually build up an entire security infrastructure adding cameras, remote controls, and even intrusion alerts!

In the final module, we'll take you into the world of Raspberry Pi robotics. By the end of it, you'll have built a biped robot that can interact with its environment!

This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products:

Raspberry Pi By Example by Ashwin Pajankar and Arush KakkarBuilding a Home Security System with Raspberry Pi by Matthew PoleRaspberry Pi Robotics Essentials by Richard GrimmettStyle and approach

It's not every day you build a home automation system. It's not every day you build a walking robot. But with this Learning Path you'll do just that. So get started and let this tiny computer expand your imagination.