Appendix B. Using Python

In this appendix, we will build an API and pipeline with Python-specific tools using Python 3.8 with pip installed. Please ensure that you have it installed (https://www.python.org/downloads/).

B.1 Poetry

Before we build our project, we need to create a repeatable environment to work in. Python follows a common practice of sharing libraries among several projects. Languages like C, Java, and even Go use a central repository of libraries that are downloaded and stored locally on your machine. The problem with this process is that if you are not keeping track of the versions, the next person who sets up their development environment may have different versions of libraries, which can introduce new issues or break current ...

Get Shipping Go now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.