Book description
How to build useful, real-world applications in the Python programming language
About This Book
- Deliver scalable and high-performing applications in Python.
- Delve into the great ecosystem of Python frameworks and libraries through projects that you will build with this book.
- This comprehensive guide will help you demonstrate the power of Python by building practical projects.
Who This Book Is For
This book is for software developers who are familiar with Python and want to gain hands-on experience with web and software development projects. A basic knowledge of Python programming is required.
What You Will Learn
- Learn object-oriented and functional programming concepts while developing projects
- The dos and don'ts of storing passwords in a database
- Develop a fully functional website using the popular Django framework
- Use the Beautiful Soup library to perform web scrapping
- Get started with cloud computing by building microservice and serverless applications in AWS
- Develop scalable and cohesive microservices using the Nameko framework
- Create service dependencies for Redis and PostgreSQL
In Detail
Python is a very powerful, high-level, object-oriented programming language. It's known for its simplicity and huge community support. Python Programming Blueprints will help you build useful, real-world applications using Python.
In this book, we will cover some of the most common tasks that Python developers face on a daily basis, including performance optimization and making web applications more secure. We will familiarize ourselves with the associated software stack and master asynchronous features in Python. We will build a weather application using command-line parsing. We will then move on to create a Spotify remote control where we'll use OAuth and the Spotify Web API. The next project will cover reactive extensions by teaching you how to cast votes on Twitter the Python way. We will also focus on web development by using the famous Django framework to create an online game store. We will then create a web-based messenger using the new Nameko microservice framework. We will cover topics like authenticating users and, storing messages in Redis.
By the end of the book, you will have gained hands-on experience in coding with Python.
Style and approach
With a hands-on approach, Python Programming Blueprints guides you through diverse real-life projects to get you started; it presents most aspects of the Python programming language gradually, going from basic to advanced topics.
Publisher resources
Table of contents
- Title Page
- Copyright and Credits
- Dedication
- Packt Upsell
- Contributors
- Preface
- Implementing the Weather Application
- Creating a Remote-Control Application with Spotify
- Casting Votes on Twitter
- Exchange Rates and the Currency Conversion Tool
-
Building a Web Messenger with Microservices
- TempMessenger Goals
- Requirements
- What is Nameko?
- Creating your first Nameko microservice
- Unit-testing a Nameko microservice
- Exposing HTTP entrypoints
- Integration testing Nameko microservices
- Storing messages
- Nameko Dependency Providers
- Saving messages
- Retrieving all messages
- Displaying messages in the web browser
- Sending messages via POST requests
- Expiring messages in Redis
- Sorting messages
- Browser polling for messages
- Summary
- Extending TempMessenger with a User Authentication Microservice
- Online Video Game Store with Django
- Order Microservice
-
Notification Serverless Application
- Setting up the environment
- Setting up the Amazon Web Services CLI
- Configuring a Simple Email Service
- Creating an S3 bucket
- Implementing the notification service
- Deploying the application with Zappa
- Restricting access to the API's endpoints
- Modifying the order service
- Testing all the pieces together
- Summary
- Other Books You May Enjoy
Product information
- Title: Python Programming Blueprints
- Author(s):
- Release date: February 2018
- Publisher(s): Packt Publishing
- ISBN: 9781786468161
You might also like
book
Matplotlib for Python Developers
Leverage the power of Matplotlib to visualize and understand your data more effectively About This Book …
book
Clean Python: Elegant Coding in Python
Discover the right way to code in Python. This book provides the tips and techniques you …
book
Intelligent Projects Using Python
Implement machine learning and deep learning methodologies to build smart, cognitive AI projects using Python Key …
book
Advanced Python Programming
Create distributed applications with clever design patterns to solve complex problems Key Features Set up and …