This is the code repository for Python Microservices Development, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
We often deploy our web applications into the cloud, and our code needs to interact with many third-party services. An efficient way to build applications to do this is through microservices architecture. But, in practice, it's hard to get this right due to the complexity of all the pieces interacting with each other.
All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.
Chapter 11 does not have any code files
The source code for the Runnerly application that is developed across the book is also provided in the code bundle.
The code will look like the following:
import time
def application(environ, start_response):
headers = [('Content-type', 'application/json')]
start_response('200 OK', headers)
return bytes(json.dumps({'time': time.time()}), 'utf8')
To execute the commands and applications in this book, you will need Python 3.x, Virtualenv 1.x, and Docker CE installed on your system. Detailed instructions are given in the chapters where needed.
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.