Metadata-Version: 2.4
Name: antares-data-collection
Version: 0.2.0
Summary: Import and manage data from ENTSOE/pemmdb then format and export for Pegase
Author-email: Tatiana Vargas <tatiana.vargas@rte-france.com>, Clement Berthet <clement.berthet_externe@rte-france.com>
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Typing :: Typed
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: openpyxl>=3.0.0
Requires-Dist: pandas<3.0.0,>=2.0.0
Requires-Dist: polars>=1.35.0
Requires-Dist: xlsxwriter>=3.0.0
Dynamic: license-file

# antares-data-collection

[![License](https://img.shields.io/github/license/AntaresSimulatorTeam/antares_craft)](https://mozilla.org/MPL/2.0/)
[![Python CI with Coverage and Sonar](https://github.com/AntaresSimulatorTeam/antares_data_collection/actions/workflows/coverage.yml/badge.svg)](https://github.com/AntaresSimulatorTeam/antares_data_collection/actions/workflows/coverage.yml)

## Installation

antares-data-collection can simply be installed from PyPI repository, typically using pip:

```shell
pip install antares-data-collection
```

## Example of use

from antares.data_collection import PEMMDBConverter

years = [2030, 2035]
converter = PEMMDBConverter(input_folder, output_folder, main_params_path, years)

### Thermals
op_stat = ["Available on market", "Inelastic supply / fixed profile"]  
converter.build_thermal_files(op_stat)
### Dsr
converter.build_dsr_files(op_stat, ["Demand shedding", "Demand shifting"], [-1])
### Batteries
converter.build_batteries_files()
### Links
converter.build_link_files()
### Misc
converter.build_misc_files(op_stat)
