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.
Metadata
Release files for DEAPack 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| deapack-2.0.1.tar.gz | 744.9 kB | With provenance | Details for deapack-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| deapack-2.0.1-py3-none-any.whl | Python 3 | none | any | Details for deapack-2.0.1-py3-none-any.whl |
Total release size: 1.5 MB
Release files / deapack-2.0.1.tar.gz
| Download URL | deapack-2.0.1.tar.gz |
|---|---|
| Size | 744.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
511ae3f45e03a8a67a04c85316ab379be3944f5ea4aa8262f35a84e63ac8d829
|
|
BLAKE2b-256 checksum How to use checksums |
c3001b4ac6862136e410d08d0251267e0373db87ac39ab0abaf0cbac7ff9cea2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.
Transparency logRelease files / deapack-2.0.1-py3-none-any.whl
| Download URL | deapack-2.0.1-py3-none-any.whl |
|---|---|
| Size | 794.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b916ff6e587b30bad0c29dcc167e7eb514317e9b6cfb6cf700627c9e3e1f446
|
|
BLAKE2b-256 checksum How to use checksums |
bb811f357f61ce83f35451988908c0d8129c8082fa50068500fde5b44373e4ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.
Transparency logSecurity for DEAPack 2.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for deapack-2.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.