Secret Recipes of the Python Ninja
上QQ阅读APP看书,第一时间看更新

Working with Python Modules

In this chapter, we will talk about Python modules, specifically covering the following topics:

  • Using and importing modules and namespaces
  • Implementing virtual Python environments
  • Python package installation options
  • Utilizing requirement files and resolving conflicts
  • Using local patches and constraint files
  • Working with packages
  • Creating wheels and bundles
  • Comparing source code to bytecode
  • How to create and reference module packages
  • Operating system-specific binaries
  • How to upload programs to PyPI
  • Project packaging
  • Uploading to PyPI