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 testing
Various test automation libraries for Python, such as doctest, unittest, nose, nose2, and pytest
Test-driven development and best practices for test automation in Python
Code examples and exercises
Who This Book Is For:
Python developers, software testers, open source enthusiasts, and contributors to the Python community
What You'll Learn
Understand Raspberry Pi concepts and setup
Understand digital image processing concepts
Study pillow, the friendly PIL fork
Explore scipy.ndimage and matplotlib
Master use of the Pi camera and webcam
Who This Book Is For
Raspberry Pi and IoT enthusiasts, digital image processing enthusiasts, Python and Open Source enthusiasts and professionals
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 supercomputing
Build a low-cost cluster of Raspberry Pis at home
Harness 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 For
Python 3 developers who seek the knowledge of parallel programming, Raspberry Pi enthusiasts, researchers, and the scientific Python community.
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.
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.