Software library
Also: code library
A set of ready-made code other programs can use.
The fuller definition
A software library is reusable code that another program calls to perform particular operations.
- Program
Your task logic
- Library function
Reusable operation
- Result
Return to your program
A simplified relationship, not a screenshot or a complete design.
A concrete example
Python's CSV library reads fields correctly when a quoted value contains a comma.
The distinction that matters
A code library differs from a document library or a collection of precedents.
Related terms
Python
A popular programming language that is easy to read and widely used for AI work.
APIs & softwareSDK — Software Development Kit
A kit of code for using a service. It helps a developer call that service from a program.
APIs & softwareScript
A short program that does one job, like renaming a folder of files.
Where it is taught
APIs and JSON: connect a model to a small programSource and further reading
MDN · Web technology glossaryThe definition and example are written for this library. The link gives background, official documentation or legal authority as labelled. Legal scope depends on the jurisdiction and current text; product features depend on release and settings.