liveBook · Manning

Package

A software package is a named unit that groups related software components, either for organization and compilation or for distribution and reuse.

How 11 Manning books explain it

The Quick Python Book, Fourth Edition

A package is a structured collection of software modules organized under a common namespace.

How it is used
Organizes related Python modules into a shared namespace for projects that outgrow a single file.
How deep it goes
Explains package directories, initialization, nested imports, and design choices with worked code; defers creation of distributable packages.
Examples
Uses a nested mathematics package and a word-count refactoring that separates cleaning, counting, and custom exceptions.
What you can do after
Build a Python package from modules, expose selected functions, and import nested modules.

Read how The Quick Python Book, Fourth Edition explains package →

Statistics Slam Dunk

A software package is a distributable collection of code, data, documentation, and supporting resources that extends a programming environment.

How it is used
Extends R for data wrangling, visualization, querying, statistical analysis, and other capabilities beyond base functions.
How deep it goes
Explains package contents, installation, loading order, and multi-package loading, but stops short of package development.
Examples
Uses install.packages(), library(), tidyverse, networkD3, patchwork, and lapply() package-loading examples.
What you can do after
Apply packages by installing them once, loading them before use, and calling their functions in R analysis scripts.

Read how Statistics Slam Dunk explains package →

Data Pipelines with Apache Airflow, Second Edition

A software package is a distributable bundle of code and metadata that can be installed into a software environment.

How it is used
Makes custom Airflow components installable and reusable across DAGs, environments, and projects.
How deep it goes
Works through a basic setuptools layout and setup.py metadata, but defers in-depth Python packaging approaches.
Examples
Uses a src-based package containing Airflow components and a recipe-preprocessing CLI run inside a Docker image.
What you can do after
Build it from scratch as a basic setuptools package, then install or share its custom Airflow components.

Read how Data Pipelines with Apache Airflow, Second Edition explains package →

Julia as a Second Language

A package is a distributable unit of software containing reusable code and metadata that can be installed and managed by a package manager.

How it is used
Uses packages to organize, distribute, and version related code while managing dependencies in larger systems.
How deep it goes
Walks through generation, dependency management, source organization, loading, and local development; uses one module per package rather than exploring module nesting.
Examples
Develops a geometry package with volume and trigonometry functions and uses plotting packages to compare sine curves.
What you can do after
Apply it via Julia’s package manager to generate, populate, and develop a package with dependencies.

Read how Julia as a Second Language explains package →

Go in Action, Second Edition

A package is a Go compilation and namespace unit that groups related declarations and controls their visibility across source files.

How it is used
Organizes Go code into separately importable units with visibility boundaries between concerns.
How deep it goes
Explains exports, executable entry points, circular import restrictions, and directory conventions without prescribing a single layout.
Examples
Uses fmt.Println, a JSON and XML conversion utility, and an RSS application to illustrate package use and organization.
What you can do after
Apply package boundaries to organize executables and shared code while avoiding circular imports and restricting internal code.

Read how Go in Action, Second Edition explains package →

Learn Go with Pocket-Sized Projects

A Go package is a collection of related source files in one directory that share a package name and provide a scope for declarations.

How it is used
Groups related Go source files and scopes declarations, separating exported API from package-local implementation.
How deep it goes
Defines directory, naming, and capitalization rules, then applies them to application and library layouts.
Examples
Uses `package main` with `fmt`, a `pocketlog.Logger`, a sibling `gordle` package, and a root-level generic cache package.
What you can do after
Build Go applications and libraries by grouping files, designing package boundaries, and controlling exported identifiers.

Read how Learn Go with Pocket-Sized Projects explains package →

100 Go Mistakes and How to Avoid Them

A package is a Go unit of source organization and compilation that groups related declarations and controls dependencies between code units.

How it is used
Guides the organization of Go projects around cohesive, understandable package boundaries.
How deep it goes
Explains naming, granularity, visibility, external tests, and initialization order with contextual tradeoffs.
Examples
Uses the net directory, a stringset API, and an external counter_test package to illustrate package boundaries.
What you can do after
Apply package organization practices to name APIs, choose boundaries, and test exported behavior.

Read how 100 Go Mistakes and How to Avoid Them explains package →

Pro Angular 16

A package is a distributable software unit containing code and metadata that can be installed as a dependency.

How it is used
Organizes Angular application, framework, styling, tooling, and testing dependencies for installation and development.
How deep it goes
Explains recursive dependency installation, package.json categories, version ranges, npm commands, and manual asset configuration.
Examples
Uses Bootstrap, Font Awesome, Angular Material, Angular PWA, json-server, and jsonwebtoken installation examples.
What you can do after
Operate/configure packages with npm, record dependency types, select versions, inspect installations, and include package assets in builds.

Read how Pro Angular 16 explains package →

Pro ASP.NET Core 7, Tenth Edition

A software package is a distributable unit containing reusable code, resources, and metadata for incorporation into a project.

How it is used
Adds capabilities beyond an ASP.NET Core project template, including database support, command-line tools, and browser-facing assets.
How deep it goes
Works through installation commands, dependency records, LibMan configuration, and HTML usage, without detailing how packages are built.
Examples
Uses Swashbuckle.AspNetCore and Entity Framework Core dependencies, a global `dotnet-ef` tool, and Bootstrap installed through LibMan.
What you can do after
Operate/configure package management with `dotnet add package`, `dotnet tool`, and LibMan, then reference installed browser assets in HTML.

Read how Pro ASP.NET Core 7, Tenth Edition explains package →

Essential TypeScript 5, Third Edition

A JavaScript package is a distributable collection of JavaScript code and metadata intended for reuse in software projects.

How it is used
Supplies reusable JavaScript code and the compiler, frameworks, or development tools needed by TypeScript projects.
How deep it goes
Explains NPM installation, dependency resolution, version requirements, installation scope, and package.json categories without detailing package publication.
Examples
Uses a package.json containing typescript and tsc-watch, plus commands that install a local TypeScript compiler for a web app.
What you can do after
Operate/configure packages with NPM, placing development tools and application dependencies in the appropriate package.json categories.

Read how Essential TypeScript 5, Third Edition explains package →

Get Programming: Learn to code with Python

How it is used
Uses packages written by other programmers to help build more-complex programs.
How deep it goes
Introduces packages as tools and names two uses without explaining package mechanics.
Examples
Names visual programs controlled by mouse or keyboard and programs that process structured data files.
What you can do after
Apply packages written by other programmers to build interactive visual programs or programs that process structured data.

Read how Get Programming: Learn to code with Python explains package →

Related concepts

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.