Book Image

Learn Python Programming - Third Edition

By : Fabrizio Romano, Heinrich Kruger
5 (1)
Book Image

Learn Python Programming - Third Edition

5 (1)
By: Fabrizio Romano, Heinrich Kruger

Overview of this book

Learn Python Programming, Third Edition is both a theoretical and practical introduction to Python, an extremely flexible and powerful programming language that can be applied to many disciplines. This book will make learning Python easy and give you a thorough understanding of the language. You'll learn how to write programs, build modern APIs, and work with data by using renowned Python data science libraries. This revised edition covers the latest updates on API management, packaging applications, and testing. There is also broader coverage of context managers and an updated data science chapter. The book empowers you to take ownership of writing your software and become independent in fetching the resources you need. You will have a clear idea of where to go and how to build on what you have learned from the book. Through examples, the book explores a wide range of applications and concludes by building real-world Python projects based on the concepts you have learned.
Table of Contents (18 chapters)
16
Other Books You May Enjoy
17
Index

The Python Package Index

The Python Package Index (PyPI) is an online repository of Python packages, hosted at https://pypi.org. It has a web interface that can be used to browse or search for packages and view their details. It also has APIs for tools like pip to find and download packages to install. PyPI is open to anybody to register and distribute their projects for free. Anybody can also install any package from PyPI for free.

The repository is organized into projects, releases, and distribution packages. A project is a library or script or application with its associated data or resources. For example, FastAPI, Requests, Pandas, SQLAlchemy, and our train schedule application are all projects. pip itself is a project as well. A release is a particular version (or snapshot in time) of a project. Releases are identified by version numbers. For example, pip 21.2.4 is a release of the pip project. Releases are distributed in the form of distribution packages. These are archive...