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
- Package Documentation
- Installation guide
- Quick start
- Method catalog
- API reference
- Migration from 0.1.x
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
511ae3f45e03a8a67a04c85316ab379be3944f5ea4aa8262f35a84e63ac8d829
|
|
| MD5 |
c5f0f40dfcfc849b472e915fc75d3875
|
|
| BLAKE2b-256 |
c3001b4ac6862136e410d08d0251267e0373db87ac39ab0abaf0cbac7ff9cea2
|
Provenance
The following attestation bundles were made for deapack-2.0.1.tar.gz:
Publisher:
publish-pypi.yml on daopingw/DEAPack
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
deapack-2.0.1.tar.gz -
Subject digest:
511ae3f45e03a8a67a04c85316ab379be3944f5ea4aa8262f35a84e63ac8d829 - Sigstore transparency entry: 2413477950
- Sigstore integration time:
-
Permalink:
daopingw/DEAPack@8fd784721346eaba6f575eb2a00075100f6dc3bc -
Branch / Tag:
refs/tags/v2.0.1 - Owner: https://github.com/daopingw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@8fd784721346eaba6f575eb2a00075100f6dc3bc -
Trigger Event:
workflow_dispatch
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b916ff6e587b30bad0c29dcc167e7eb514317e9b6cfb6cf700627c9e3e1f446
|
|
| MD5 |
ee6ebee28339affebeaadf8e2f2d4bdc
|
|
| BLAKE2b-256 |
bb811f357f61ce83f35451988908c0d8129c8082fa50068500fde5b44373e4ca
|
Provenance
The following attestation bundles were made for deapack-2.0.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on daopingw/DEAPack
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
deapack-2.0.1-py3-none-any.whl -
Subject digest:
5b916ff6e587b30bad0c29dcc167e7eb514317e9b6cfb6cf700627c9e3e1f446 - Sigstore transparency entry: 2413478039
- Sigstore integration time:
-
Permalink:
daopingw/DEAPack@8fd784721346eaba6f575eb2a00075100f6dc3bc -
Branch / Tag:
refs/tags/v2.0.1 - Owner: https://github.com/daopingw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@8fd784721346eaba6f575eb2a00075100f6dc3bc -
Trigger Event:
workflow_dispatch
-
Statement type: