Skip to main content
Pre-release

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

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

deapack-2.0.0rc1.tar.gz (752.6 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.0rc1-py3-none-any.whl (795.1 kB view details)

Uploaded Python 3

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

Hashes for deapack-2.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 5532c275edb725f17c6059f19e5e7d48c45257fc7dd9b700ded76cd93c1fde8e
MD5 0613d0dd552b8526e20628edd8b325b6
BLAKE2b-256 aa5066b20f7a90a8d85e35e3b0dccf6081449c4594328de9628e62985da9a697

See more details on using hashes here.

Provenance

The following attestation bundles were made for deapack-2.0.0rc1.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.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

Hashes for deapack-2.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 0fadd9e10ad6bbe6aea9d324604c556b999f42024628e685016036e507791b3f
MD5 f5ef21111f26bc6bcaa9466a398d4800
BLAKE2b-256 ee63c4abc77fc653d606a9f46ab6d7a9a4031581e46ede99e270336f7f6c57b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for deapack-2.0.0rc1-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

2.0.1

2 files

2.0.0

2 files

This release

2.0.0rc1 This release

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