DoubleML build, estimation, plotting, and utility pipelines.
Project description
DML Pipeline
Reusable build, estimation, plotting, and utility code for DoubleML-style program evaluation workflows.
The package keeps project-specific configuration in project_config/ and
reusable pipeline code in dml_code/. The published distribution includes the
code under dml_code/src and dml_code/pipeline, plus the example project
configuration files.
Install
pip install dml-dev
For local development from a checkout:
python -m pip install -e '.[dev]'
Commands
After installation, the package exposes two command line entrypoints:
dml-build example_program
dml-estimate synthetic_example
The same steps can also be run as modules:
python -m dml_code.pipeline.step1_build example_program
python -m dml_code.pipeline.step2_estimate synthetic_example
Workflow
- Build an analysis dataset from source parquet files and program registry entries.
- Estimate treatment effects from a YAML experiment definition.
- Write raw logs, diagnostics, plots, and tables to the configured output locations.
project_config/ + source data
|
v
dml_code.pipeline.step1_build
|
v
processed analysis data
|
v
dml_code.pipeline.step2_estimate
|
v
outputs/raw, outputs/plots, outputs/tables
Project Configuration
Most project setup happens in project_config/.
project_config/build_spec.py: databank inputs, columns to carry through, relative-time columns, and generated features.project_config/registries/programs.py: program LazyFrames with canonical join, treatment, and observation columns.project_config/registries/covariate_sets.py: reusable covariate lists and categorical covariate declarations.project_config/registries/filter_sets.py: reusable dataframe filters.project_config/registries/models.py: named outcome and propensity learners.project_config/experiments/*.yaml: experiment definitions for estimation.
The reusable implementation lives in:
dml_code/pipeline/: runnable build and estimation steps.dml_code/src/: shared helpers for building, estimating, paths, outputs, and logging.
Publishing Check
Build and validate the package locally with:
python -m build
python -m twine check dist/*
Project details
Release history Release notifications | RSS feed
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 dml_dev-0.1.2.tar.gz.
File metadata
- Download URL: dml_dev-0.1.2.tar.gz
- Upload date:
- Size: 29.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e5b1346273058f805fe0e6a95087a9c1ed0727ea44f5353126c89334157a96bd
|
|
| MD5 |
6505273c5d837db2103c6946402ed355
|
|
| BLAKE2b-256 |
1e19399baa1e4ca68fe2404672ba8a3e396137f8b42026a7439aa468ab0acbad
|
Provenance
The following attestation bundles were made for dml_dev-0.1.2.tar.gz:
Publisher:
publish.yml on coreygb1/dml-dev
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dml_dev-0.1.2.tar.gz -
Subject digest:
e5b1346273058f805fe0e6a95087a9c1ed0727ea44f5353126c89334157a96bd - Sigstore transparency entry: 1826323956
- Sigstore integration time:
-
Permalink:
coreygb1/dml-dev@1e54af9236fb5b0b35bb37c0d8c20e343e4caafe -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/coreygb1
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1e54af9236fb5b0b35bb37c0d8c20e343e4caafe -
Trigger Event:
push
-
Statement type:
File details
Details for the file dml_dev-0.1.2-py3-none-any.whl.
File metadata
- Download URL: dml_dev-0.1.2-py3-none-any.whl
- Upload date:
- Size: 35.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f5e0df73b59eba35cb33c0db1cdf108b37158fa1248110a7c2ae72a16f566e9
|
|
| MD5 |
33588e5330e511b0fac06d57e6027ad7
|
|
| BLAKE2b-256 |
bc08ac7241ded921b9119b3a170b3ac5be718e016f696b091fa353a9ae33b8b3
|
Provenance
The following attestation bundles were made for dml_dev-0.1.2-py3-none-any.whl:
Publisher:
publish.yml on coreygb1/dml-dev
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dml_dev-0.1.2-py3-none-any.whl -
Subject digest:
8f5e0df73b59eba35cb33c0db1cdf108b37158fa1248110a7c2ae72a16f566e9 - Sigstore transparency entry: 1826323984
- Sigstore integration time:
-
Permalink:
coreygb1/dml-dev@1e54af9236fb5b0b35bb37c0d8c20e343e4caafe -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/coreygb1
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@1e54af9236fb5b0b35bb37c0d8c20e343e4caafe -
Trigger Event:
push
-
Statement type: