Managing Python Dependencies

Dan Bader
Dan Bader 37 Lessons 1h 59m intermediate best-practices

Managing Python Dependencies is your “one-stop shop” for picking up modern Python dependency management practices and workflows with minimal time investment.

The course consists of 32 bite-sized video lessons, each focusing on a single concept. Progressing through the course, you’ll quickly build up a comprehensive knowledge of dependency management best practices in Python at your own, comfortable pace.

Along the way, you’ll see hands on examples and step-by-step workflows that reinforce the skills you’re learning.

By the end, you’ll know how to apply Python’s recommended dependency management tools, like pip, virtualenvs, and requirements files effectively in the most common day-to-day development scenarios on Linux, macOS, and Windows.

With Managing Python Dependencies you will:

  • Code at a higher level and become more efficient: Leveraging Python’s rich third-party library ecosystem let’s you write better programs in a shorter amount of time. With a large body of freely available modules you can avoid reinventing the wheel and deliver higher quality Python software, faster. This is a great way for you to demonstrate senior level skills that will benefit your development career.

  • Get up to speed with Python dependency management quickly: Your time is your most important asset. If you can use it efficiently you will save your sanity—and a nice stack of money. This course is concise but thorough and will help you attain solid Python dependency management knowledge fast.

  • Go from “writing scripts” to “building applications” with Python: By taking advantage of Python’s rich packaging ecosystem you’ll be able to build substantial and full-featured applications in Python. You’ll know the best practices for finding and documenting application dependencies that put you right on track for deploying and shipping production-grade apps.

  • Find great libraries for a specific task at hand: This course teaches you a unique 7-step workflow for finding and identifying quality Python packages. Find out which libraries and tools are available on PyPI to help you. By quickly and easily identifying the correct libraries you’ll speed up your development efficiency by a large margin. Meet your deadlines and write better code at the same time by not having to “reinvent the wheel.”

  • Master “the tools of the trade” for dependency management: With this course you’ll master the tools and workflows recommended by the official Python Packaging Authority. By getting those skills under your belt you’ll be ready to work with the Python development and production environments used by professional development teams across the world. Knowing these “tools of the trade” by heart puts you at an advantage in any job interview situation.

  • “Productionize” your projects and share them with the world: You’ll see how to apply the best practices for defining and installing package dependencies in Python. You’ll know how to get your programs ready to be deployed on production and automated testing environments and how to make it easy for other developers to contribute code with minimal setup effort.

  • Become more valuable as an employee and team member: With my detailed 7-step workflow for researching quality Python packages you’ll know how to document and justify added program dependencies to your team and your manager. By taking on more responsibilities and picking up these senior-level “architectural” skills you’ll rise head and shoulders above other devs stuck at the “code monkey” level.

Who Is This Course For?

This course is for Python developers wanting to break through to the next phase of developing code by becoming more efficient, productive, and skilled using Python’s rich library ecosystem.

If you’ve ever caught yourself thinking “There’s got to be a Python package out there that does exactly what I want…But how do I find it?” this course will fill in the missing pieces for you.

Discover the industry best practices around choosing and managing third-party dependencies for your Python 2 or Python 3 projects on Windows, macOS, and Linux.

If you already know how to use alternative package managers like Conda you’ll discover how to use the standards-compliant tools and workflows supported by any Python distribution and used in most production application deployments.

Course Goals

By the end of the course you’ll know how to:

  • Install, use, and manage third-party Python packages with the “pip” package manager on Windows, macOS, and Linux.

  • Isolate project dependencies with so-called virtual environments to avoid version conflicts in your Python projects.

  • Apply a complete 7-step workflow for finding and identifying quality third-party packages to use in your own Python projects (and justifying your decisions to your team or manager.)

  • Set up repeatable development environments and application deployments using the “pip” package manager and requirements files.

What’s Included:

Downloadable Resources:

Related Learning Paths:

Module 6 – Course Conclusion and Recap

1 Lesson 1m

  1. 1. Course Conclusion01:18

About Dan Bader

Dan Bader is the owner and editor in chief of Real Python and the main developer of the realpython.com learning platform. Dan has been writing code for more than 20 years and holds a master's degree in computer science.

» More about Dan

Participant Comments

Avatar image for fjamcom

fjamcom on July 25, 2020

Excellent course! Well explained, you truly know your subject well.

Avatar image for RicardoSantana

RicardoSantana on June 4, 2020

I did not learn about the need for virtual environments and more so, the need to be diligent and create a requirements.txt file to enable replication of whatever project. Every minute I have spent in this training as been time well spent. Big Thank You Dan.

Avatar image for aigweike

aigweike on March 5, 2020

This is simply beautifully put together. I cannot take away or add to the contents.

You always do very great job.

Continue the great work. Nothing in life beats fulfillment.

Avatar image for aravind

aravind on Sept. 19, 2019

Fantastic, Dan - really loving the courses on this website and also the support in the comments/forums - keep up the great work & looking forward to purchasing further courses!

« Browse All Courses