Skip to content

Dependency

An external library or package, which the program depends on. A list of dependencies is usually fixed in a file (requirements.txt, package.json).

Why Fix

  • reproducibility — colleague will install the same versions;
  • isolation — avoid breaking from updates;
  • understanding what is needed to run.

Example

# requirements.txt
requests==2.32.0
transformers==4.40.0

See Also

← All Terms