ProdPack: An Efficiency and Productivity Analysis Package
ProdPack is a Python package designed for Efficiency and Productivity Analysis. Its comprehensive toolset allows for efficient handling of various productivity index estimates, including those that account for undesirable outputs (e.g., total factor productivity, TFP).
Installation
Install the package by pip,
pip install ProdPack
Or install the package by conda,
conda install ProdPack
Usage
A brief example is provided below. For more information, please refer to the documentation and example notebooks.
# import the module
import pandas as pd
from ProdPack.model import ProdNP
from DEAPack.utilities import load_example_data
# load the example dataset
data = load_example_data()
# initilise a nonparametric model
model = ProdNP()
# specify the model
model.DMUs = data['region']
model.x_vars = data[['K', 'L']]
model.y_vars = data[['Y']]
model.b_vars = data[['CO2']]
model.time = data['year']
model.g_x = model.x_vars*0
model.ref_type = 'Sequential'
# solve the model
model.solve()
# check the results
data['prod_ch'] = model.prod_ch
data['eff_ch'] = model.eff_ch
data['te_ch'] = model.te_ch
print(data)
# the results are combind into the data set
Communication
You're very welcome to contribute to this package. We appreciate any efforts to improve this package. You can help by adding new features, reporting bugs, or extending the documentation and usage examples. Please contact us if you have any ideas.
- Pull requests for pull requests.
- Issues for bug reports.
Metadata
Release files for ProdPack 0.1.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 |
|---|---|---|---|---|
| prodpack-0.1.1.tar.gz | 5.5 kB | Without provenance | Details for prodpack-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| prodpack-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for prodpack-0.1.1-py3-none-any.whl |
Total release size: 11.8 kB
Release files / prodpack-0.1.1.tar.gz
| Download URL | prodpack-0.1.1.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5ecbcb4d80b2b5639b30ceb761abab1fb8f9d0b62e353b9d70ef11f4dab3784
|
|
BLAKE2b-256 checksum How to use checksums |
38f9575210e599a9fa6a068feb23be1c5dc6186099f474cdd5f07e60537ae1d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.2
|
Release files / prodpack-0.1.1-py3-none-any.whl
| Download URL | prodpack-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a15147c7115af003b605789fec0194f6a85ae3b25a954baa3c52355cf65bf698
|
|
BLAKE2b-256 checksum How to use checksums |
35ad805d13e87be15c715047ba4ded2a39031e92af33c361fc0cb16b9fdd2ea7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.2
|
Security for ProdPack 0.1.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.