Standard library
A standard library is a collection of reusable modules, types, functions, APIs, and other facilities distributed with a programming language implementation or platform.
Clojure: The Essential Reference
A standard library is the collection of reusable code packaged with a programming language and made available as part of its normal distribution.
- How it is used
- Supplies reusable, composable functions and macros for recurring tasks and application-specific solutions.
- How deep it goes
- Defines the Clojure library’s boundaries and demonstrates composition, while leaving detailed treatment of Java SDK facilities aside.
- Examples
- Uses an XML balance report to compare hand-written formatting with composed string, formatting, and collection functions.
- What you can do after
- Apply it via Clojure namespaces to assemble readable solutions from existing functions instead of reimplementing routine operations.
Read how Clojure: The Essential Reference explains standard library →
Go in Practice, Second Edition
- How it is used
- Supplies packages for common application tasks, from networking and HTTP to command-line input.
- How deep it goes
- Works through imports and network-client calls, while pointing to package documentation rather than cataloging every API.
- Examples
- Uses a TCP status request, an HTTP GET, formatted output, input processing, and a test run.
- What you can do after
- Apply it via Go packages to make network requests, process command-line input, and use test facilities.
Read how Go in Practice, Second Edition explains standard library →
Python Workout: 50 ten-minute exercises
- How it is used
- Provides commonly needed functionality through modules and packages that Python programs import.
- How deep it goes
- Frames imports, modules, namespaces, and packages, but stops short of detailed individual module APIs.
- Examples
- Uses import os, from os import sep, and from decimal import Decimal as concrete import examples.
- What you can do after
- Apply it via Python imports to reuse functionality and make programs shorter and more maintainable.
Read how Python Workout: 50 ten-minute exercises explains standard library →
Go by Example
- How it is used
- Supports rapid construction of command-line tools, tests, HTTP clients, and servers with built-in Go packages.
- How deep it goes
- Defines the package collection and works through a minimal HTTP server, deferring detailed HTTP service structure.
- Examples
- Uses a localhost:8080 HTTP server that returns “hello, gophers!” and concurrent request handling.
- What you can do after
- Apply it via Go packages to build everyday tools and network services, choosing third-party packages for unmet specialized needs.
The Well-Grounded Rubyist, Fourth Edition
The standard library is the collection of libraries distributed with Ruby to provide commonly needed programming functionality.
- How it is used
- Provides reusable facilities for everyday programming tasks and loads them into applications with require.
- How deep it goes
- Explains library locations, Ruby and C implementations, and require usage, while stopping short of exhaustive API reference.
- Examples
- Uses URI.parse, FileUtils, Pathname, StringIO, open-uri, rubylibdir, and architecture-specific extension files.
- What you can do after
- Apply it via require to load standard-library features and use the classes and methods they provide.
Read how The Well-Grounded Rubyist, Fourth Edition explains standard library →
Learn Go with Pocket-Sized Projects
A standard library is the collection of libraries distributed with a programming language implementation.
- How it is used
- Provides imported formatting and output functions when a Go program needs capabilities beyond a single file's limited built-in tools.
- How deep it goes
- Defines identification through import syntax and demonstrates fmt.Println, while deferring package creation and use to later treatment.
- Examples
- Uses a main.go Hello world program, fmt.Println, go run main.go, and the resulting terminal output.
- What you can do after
- Apply it via Go imports to format values and write human-readable output to standard output.
Read how Learn Go with Pocket-Sized Projects explains standard library →
Systems Programming with Zig
A standard library is the collection of general-purpose modules and APIs distributed as part of a programming language implementation.
- How it is used
- Supplies optional, customizable APIs for common Zig programming tasks.
- How deep it goes
- Explains importing and accessing std declarations, introduces major uses, and defers comprehensive coverage to the documentation.
- Examples
- Uses integer printing and a word ladder game adapted into a web application.
- What you can do after
- Apply it via Zig’s std module to access library declarations and print a value.
Read how Systems Programming with Zig explains standard library →
The Quick Python Book, Fourth Edition
A standard library is the collection of libraries and modules distributed with a programming language implementation to provide commonly needed functionality.
- How it is used
- Provides ready-made functionality for common data, file, operating-system, internet, development, and debugging tasks.
- How deep it goes
- Surveys built-in components and major module categories, but defers detailed API study to the library reference.
- Examples
- Uses a two-line HTTP server and module tables covering string services, data types, and numeric operations.
- What you can do after
- Apply it by selecting built-in modules before installing external packages, then manage unavoidable dependencies with pip and venv.
Read how The Quick Python Book, Fourth Edition explains standard library →
Also covered in
- Software Security for Developers
- Python Workout, Second Edition
- Data-Oriented Programming in JavaIn early access (MEAP)
- Idiomatic Rust
- Kotlin in Action, 2E
- Real-World Cryptography
- Julia as a Second Language
- Writing for Developers: Blogs that get read
- Go in Action, Second Edition
- The Well-Grounded Python Developer: How the pros use Python and Flask
- Terraform in Depth: Infrastructure as Code with Terraform and OpenTofu
- Rust in Action: Systems programming concepts and techniques
What to know first
- GoGo is a statically typed, compiled, general-purpose programming language with garbage collection and built-in support for concurrency.
- HTTPHTTP is an application-layer protocol that defines request-and-response communication for transferring resource representations and related metadata between networked systems.
- RustRust is a statically typed systems programming language designed for performance, concurrency, and memory safety without requiring garbage collection.
Related concepts
- cmd modulehas part · The cmd module is a Python standard-library module that provides a framework for building interactive command interpreters.
- net/http packagehas part · The net/http package is Go’s standard-library package providing HTTP client and server implementations, requests, responses, and related functionality.
- struct modulehas part · The struct module is a Python standard-library module for converting between Python values and packed binary data using format specifications.
- librarykind of · A software library is a reusable collection of code or components that provides functionality for other programs to incorporate or invoke.
Questions about standard library
What is standard library?
A standard library is a collection of reusable modules, types, functions, APIs, and other facilities distributed with a programming language implementation or platform.
Which Manning books explain standard library?
Clojure: The Essential Reference, Go in Practice, Second Edition, Python Workout: 50 ten-minute exercises, Go by Example, The Well-Grounded Rubyist, Fourth Edition, Learn Go with Pocket-Sized Projects, Systems Programming with Zig and The Quick Python Book, Fourth Edition.
What should I know before learning standard library?
Manning books that teach standard library usually introduce Go, HTTP, Java and Rust first.
What is standard library a kind of?
Standard library is a kind of library. A software library is a reusable collection of code or components that provides functionality for other programs to incorporate or invoke.
What is standard library part of?
Standard library is part of std module. The std module is Zig's root module for accessing its standard library APIs.
What are the parts of standard library?
Standard library includes cmd module, contextlib, net/http package and struct module.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.







