Dynamic MapReduce framework for data processing
Project description
DDR - Dynamic MapReduce Framework
A flexible framework for distributed data processing using MapReduce patterns.
Installation
Prerequisites
This project requires Python 3.13+ and uses conda for dependency management. We recommend using the provided environment.yml file to create a consistent development environment.
Setting up the Conda Environment
The project includes an environment.yml file with the following dependencies:
name: ddr
channels:
- conda-forge
dependencies:
- coffea=>2025.3.0
- fsspec-xrootd=>0.5.1
- ndcctools>=7.15.8
- python=>3.12
- rich=>13.9.4
- uproot=>5.6.0
- xrootd=>5.8.1
-
Create the conda environment from the provided environment.yml file:
conda env create -f environment.yml
-
Activate the environment:
conda activate ddr
-
Verify the installation:
python --version # Should show Python 3.13.2 conda list | grep -E "(coffea|ndcctools)" # Should show the installed packages
Installing from Source
From PyPI
pip install dynamic_data_reduction
Once you have the conda environment set up:
# Clone the repository
git clone https://github.com/cooperative-computing-lab/dynamic_data_reduction.git
cd dynamic_data_reduction
# Activate the conda environment (if not already active)
conda activate ddr
# Install the package in development mode
pip install -e .
Usage
- General use example: examples/simple/simple-example.py
- Using Coffea Processors Classes Directly: examples/coffea_processor/example_with_preprocess.py
- Coffea use in analysis: examples/cortado/ddr_cortado.py
License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
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 dynamic_data_reduction-2025.10.0.tar.gz.
File metadata
- Download URL: dynamic_data_reduction-2025.10.0.tar.gz
- Upload date:
- Size: 25.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb5309e37a969f29820bb568b0cb5921a3bedfa77621205de8faafd26904fb18
|
|
| MD5 |
b21dae76da55af1abd0951f702ea58be
|
|
| BLAKE2b-256 |
8ff6cb262baab17aad25dd345c709617629f6fb4363815d5da51ebcf6a930dc6
|
File details
Details for the file dynamic_data_reduction-2025.10.0-py3-none-any.whl.
File metadata
- Download URL: dynamic_data_reduction-2025.10.0-py3-none-any.whl
- Upload date:
- Size: 23.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1a09721eff73573ddf1fd59440e195700a41df5f7d1fd191b5b482c37beb386
|
|
| MD5 |
a50a48508c0b04c4f64a852733b44927
|
|
| BLAKE2b-256 |
9c32774ea1455407ee481ffeadda5dfc9ebec6a63f17d156eaf4cb2e74ceb793
|