O'Reilly logo

Expert Python Programming - Second Edition by Tarek Ziadé, Michał Jaworski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Writing a Package

This chapter focuses on a repeatable process to write and release Python packages. Its intentions are:

  • To shorten the time needed to set up everything before starting the real work
  • To provide a standardized way to write packages
  • To ease the use of a test-driven development approach
  • To facilitate the releasing process

It is organized into the following four parts:

  • A common pattern for all packages that describes the similarities between all Python packages, and how distutils and setuptools play a central role
  • What namespace packages are and why they can be useful
  • How to register and upload packages in the Python Package Index (PyPI) with emphasis on security and common pitfalls
  • The stand-alone executables as an alternative way ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required