Skip to main content

DEAPack

DEAPack is an open-source Python framework for data envelopment analysis (DEA), efficiency measurement, productivity analysis, and environmental performance.

It is designed for researchers, students, and analysts who want broad method coverage without writing a separate optimization program for every analysis. A consistent data, model, and result interface connects classical DEA with economic, environmental, network, dynamic, and productivity methods.

Why DEAPack?

  • Prepare validated data once and use a consistent estimator workflow.
  • Inspect named score, target, slack, peer, component, diagnostic, and status tables.
  • Move between closely related analysis families without changing packages.
  • Create plots, reports, and reproducibility bundles from fitted results.
  • Start with documented presets and teaching datasets while keeping model assumptions visible.

Installation

DEAPack 2.0.1 supports Python 3.10 through 3.13.

python -m pip install "DEAPack==2.0.1"

NumPy, pandas, and SciPy are the required runtime dependencies. Install DEAPack[viz] for optional Matplotlib result views.

Quick start

from deapack import BCCInput, DEAData, load_dataset

frame = load_dataset("frontier_1x1")
data = DEAData.from_frame(
    frame,
    dmu="dmu",
    inputs="input",
    outputs="output",
)

result = BCCInput().fit(data)
print(result.summary())
print(result.peers("E"))

This estimates an input-oriented variable-returns-to-scale frontier. The same result object provides targets, slacks, peer intensities, diagnostics, reporting, and visualization when those outputs are available for the chosen method.

Coverage

DEAPack includes:

  • classical radial and non-radial DEA;
  • productivity indexes and scale analysis;
  • cost, revenue, profit, and allocative-efficiency analysis;
  • undesirable-output and environmental technologies;
  • network, dynamic, dynamic-network, panel, and metafrontier models; and
  • super-efficiency, cross-efficiency, diagnostics, reporting, and visualization.

The installed method catalog is the authoritative inventory of executable methods. Planned or source-incomplete methods are not exposed as provisional estimators.

Documentation

DEAPack 2.x is not a drop-in replacement for historical import DEAPack or ProdPack scripts; use the migration guide when updating an older project.

Citation and licensing

Use the repository's CITATION.cff and record the exact version used. Research using a particular DEA method should also cite its defining literature, linked from the corresponding Documentation page.

The software is licensed under GPL-3.0-only. Documentation and bundled data have their own recorded terms, and third-party data retain their upstream licenses. See the repository's component-license map and dataset-license map for precise boundaries.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deapack-2.0.1.tar.gz (744.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deapack-2.0.1-py3-none-any.whl (794.7 kB view details)

Uploaded Python 3

File details

Details for the file deapack-2.0.1.tar.gz.

File metadata

  • Download URL: deapack-2.0.1.tar.gz
  • Upload date:
  • Size: 744.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for deapack-2.0.1.tar.gz
Algorithm Hash digest
SHA256 511ae3f45e03a8a67a04c85316ab379be3944f5ea4aa8262f35a84e63ac8d829
MD5 c5f0f40dfcfc849b472e915fc75d3875
BLAKE2b-256 c3001b4ac6862136e410d08d0251267e0373db87ac39ab0abaf0cbac7ff9cea2

See more details on using hashes here.

Provenance

The following attestation bundles were made for deapack-2.0.1.tar.gz:

Publisher: publish-pypi.yml on daopingw/DEAPack

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file deapack-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: deapack-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 794.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for deapack-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5b916ff6e587b30bad0c29dcc167e7eb514317e9b6cfb6cf700627c9e3e1f446
MD5 ee6ebee28339affebeaadf8e2f2d4bdc
BLAKE2b-256 bb811f357f61ce83f35451988908c0d8129c8082fa50068500fde5b44373e4ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for deapack-2.0.1-py3-none-any.whl:

Publisher: publish-pypi.yml on daopingw/DEAPack

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 files

2.0.0

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page