This release is a pre-release and may not be stable for production use.
DEAPack
DEAPack is a source-audited Python toolkit for data envelopment analysis,
efficiency measurement, productivity analysis, and environmental performance.
The redesigned 2.x API uses the lowercase deapack import and a common data,
technology, result, visualization, and reporting architecture.
2.0.0rc1 is the draft release-candidate identity. The candidate has not yet
been published. Its 33 dataset fingerprints now have exact item-level license
and attribution mappings; GitHub and PyPI publication actions remain separate
manual steps. After those authenticated steps complete, the release candidate
will be suitable for public testing and exact version-pinned research; it
will still not be the stable 2.0 compatibility promise.
Installation
After publication, install the exact release candidate with:
python -m pip install "DEAPack==2.0.0rc1"
Python 3.10, 3.11, 3.12, and 3.13 are supported. NumPy, pandas, and SciPy are
the only required runtime dependencies; ordinary linear programmes use the
HiGHS solver bundled through SciPy. Install DEAPack[viz] for the optional
Matplotlib result views.
Quick start
import pandas as pd
from deapack import BCCInput, DEAData
frame = pd.DataFrame(
{
"dmu": ["A", "B", "C", "D"],
"input": [1.0, 2.0, 3.0, 4.0],
"output": [1.0, 3.0, 4.0, 4.0],
}
)
data = DEAData.from_frame(
frame,
dmu="dmu",
inputs="input",
outputs="output",
)
result = BCCInput().fit(data)
print(result.summary())
print(result.peers("D"))
Results expose named summary, target, slack, peer, dual, component, and diagnostic tables only when the corresponding numerical and economic account has been certified. They can also produce a self-contained HTML brief and a deterministic audit archive.
Scope
The candidate covers the major classical radial and non-radial families, directional and generalized-distance analysis, price-informed economic efficiency, undesirable-output and environmental technologies, Malmquist and related productivity accounts, network and dynamic production, panel models, and radial metafrontiers. The installed discovery catalog is the authoritative list of public methods:
from deapack import list_methods
for method in list_methods():
print(method.method_id)
Statistical inference, Färe--Primont productivity, generic congestion, automatic EBM calibration, and several source-incomplete variants remain explicit next-version work rather than provisional APIs.
Documentation and migration
- Package Documentation source
- English Handbook source
- Chinese Handbook catalogs
- 2.x migration guide
- Release notes
- Contribution guide
- Issue tracker
DEAPack 2.x is a greenfield API. Historical import DEAPack and ProdPack
scripts require an explicit migration; the 2.x wheel intentionally provides
only import deapack.
Citation and license
Use the repository's
CITATION.cff
and record the exact pre-release version and commit used. The DEAPack software
component is licensed under GPL-3.0-only. Bundled dataset content is released
only when its provenance record identifies confirmed licensing authority, an
approved redistribution status, content license, attribution, and required
notice; it does not inherit GPL merely by being represented in a Python file.
All 33 current dataset fingerprints have exact mappings: 30 project-created
or independently selected fixtures and one external dataset use
CC-BY-4.0, while two external datasets retain upstream MIT notices.
Package Documentation and Bilingual Handbook Preview 1 are separate
components and are cited and licensed separately.
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.0rc1.tar.gz.
File metadata
- Download URL: deapack-2.0.0rc1.tar.gz
- Upload date:
- Size: 752.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5532c275edb725f17c6059f19e5e7d48c45257fc7dd9b700ded76cd93c1fde8e
|
|
| MD5 |
0613d0dd552b8526e20628edd8b325b6
|
|
| BLAKE2b-256 |
aa5066b20f7a90a8d85e35e3b0dccf6081449c4594328de9628e62985da9a697
|
Provenance
The following attestation bundles were made for deapack-2.0.0rc1.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.0rc1.tar.gz -
Subject digest:
5532c275edb725f17c6059f19e5e7d48c45257fc7dd9b700ded76cd93c1fde8e - Sigstore transparency entry: 2401347225
- Sigstore integration time:
-
Permalink:
daopingw/DEAPack@16a0e5a651a2b06e9c3a9464d942e53e26a8080e -
Branch / Tag:
refs/tags/v2.0.0rc1 - Owner: https://github.com/daopingw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@16a0e5a651a2b06e9c3a9464d942e53e26a8080e -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file deapack-2.0.0rc1-py3-none-any.whl.
File metadata
- Download URL: deapack-2.0.0rc1-py3-none-any.whl
- Upload date:
- Size: 795.1 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 |
0fadd9e10ad6bbe6aea9d324604c556b999f42024628e685016036e507791b3f
|
|
| MD5 |
f5ef21111f26bc6bcaa9466a398d4800
|
|
| BLAKE2b-256 |
ee63c4abc77fc653d606a9f46ab6d7a9a4031581e46ede99e270336f7f6c57b9
|
Provenance
The following attestation bundles were made for deapack-2.0.0rc1-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.0rc1-py3-none-any.whl -
Subject digest:
0fadd9e10ad6bbe6aea9d324604c556b999f42024628e685016036e507791b3f - Sigstore transparency entry: 2401347287
- Sigstore integration time:
-
Permalink:
daopingw/DEAPack@16a0e5a651a2b06e9c3a9464d942e53e26a8080e -
Branch / Tag:
refs/tags/v2.0.0rc1 - Owner: https://github.com/daopingw
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@16a0e5a651a2b06e9c3a9464d942e53e26a8080e -
Trigger Event:
workflow_dispatch
-
Statement type: