Third-party dependencies
A library written by someone else that your program imports and relies on. A flaw in it affects every app that uses it, and it may pull in its own dependencies too.
Understanding Third-party dependencies in ACARA Digital Technologies Years 9–10
What it does: Installing a package like flask adds someone else's code to your project, which makes it a third-party dependency. The pip show command lists the Requires field, which reveals the extra libraries that flask brings in. These are dependencies of dependencies. A flaw in a shared library spreads to every app that imports it, which is why one bug can affect millions of users. import requests pulls in the requests library, which was written by other people. print() is a built-in function. Dependencies of dependencies are called indirect (transitive) dependencies. Their flaws can still affect your app. Installing one library can bring in many others. You may depend on code you never chose directly.
Common mistakes: Python uses the import keyword to load a third-party library. require is JavaScript syntax. The line should be import requests. The imported library is called requests, with an s. Using request means Python cannot find the dependency's name. It should be requests.get(url).
Free printable worksheet with full answer key — or add this module to a class and your students practise it interactively.
This module's key terms are also in a printable crossword (Modules 810–827) and word search (Modules 810–859).
Take this worksheet further — free with Cloodit
Each concept is reinforced from every angle — learned, then applied, then tested.
Cloodit turns curriculum-aligned coding content into journeys students work through one biome at a time.
Over 100 of them, across seven natural biomes.
Turns their work into revision material ready for Flash Cards and Exam study.
Live, competitive practice for the start of the lesson or a teacher-led lesson finisher.
Honour your top performers, or encourage a student who's trying hard — ready to print in seconds.
Quick Questions
Match the Pairs
Key Term
third-party dependencyFill in the Blanks
Spot the Error
Student with a class code? Join your class →