The Address Book project
Disclaimer
If you read the section named The project: Address Book in Chapter 7, feel free to skip this section. It is here to make sure that, if you skipped the previous chapter, you could still get a sense of what the project is without flipping pages.
As mentioned in the introduction, this is a practical chapter. We are going to create a mini command-line interface (CLI) that lets us create and list contacts in an address book. Before we dive into the code, we will talk about the project itself and some of the architectural choices made in this project.
First, let us talk about the project. This address book project was heavily influenced by the official tutorial on the Protobuf documentation (https://protobuf.dev/getting-started/pythontutorial/). However, there are quite a few changes that I made to cover more Protobuf concepts. Here are the following changes that I made:
- Instead of adding only a person’s contact in the address book...