2 Preparing for package development

This chapter covers

  • Managing virtual environments using venv
  • Isolating project dependencies using virtual environments
  • Managing virtual environment creation and activation using venv
  • Listing installed dependencies using pip

At the beginning of a project, you’re likely eager to get started and accomplish something tangible. This is understandable—building things and solving problems can be rewarding. But it’s valuable to move slowly at first so you can move quickly later and longer as a project matures. When you’re exploring a new technology or process, it can also be helpful to practice with it first so you can use it deftly. A bit of planning up front can go a long way toward your productivity and resulting ...

Get Publishing Python Packages 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.