Metadata-Version: 2.4
Name: enerlytics-ai
Version: 0.1.0
Summary: AI platform for predicting renewable energy investment opportunities using meteorological data, machine learning and financial analytics.
Author-email: Huseyin Kucukogul <huseyinkucukogulcontact@gmail.com>
License: MIT License
        
        Copyright (c) 2026 Huseyin
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/Kucukogul/enerlytics.ai
Project-URL: Repository, https://github.com/Kucukogul/enerlytics.ai
Keywords: energy,AI,machine learning,renewable energy,solar,analytics
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fastapi>=0.110.0
Requires-Dist: uvicorn>=0.27.0
Requires-Dist: pandas>=2.1.0
Requires-Dist: numpy>=1.26.0
Requires-Dist: requests>=2.31.0
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: pyyaml>=6.0.0
Requires-Dist: pyarrow>=14.0.0
Requires-Dist: shapely>=2.0.0
Requires-Dist: tqdm>=4.66.0
Requires-Dist: tenacity>=8.2.0
Dynamic: license-file

# Enerlytics.ai

AI platform for predicting renewable energy investment opportunities in Turkiye.

Combines meteorological data, machine learning and financial analytics to estimate solar energy potential and evaluate project feasibility at any location in Turkiye.

---

## Setup

```bash
python -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
cp .env.example .env
uvicorn enerlytics_ai.app.main:app --app-dir src --reload
```

API → `http://127.0.0.1:8000` · Docs → `http://127.0.0.1:8000/docs`

---

## Quick Start

```bash
# Site analysis
curl -X POST "http://127.0.0.1:8000/api/v1/analyze-site" \
  -H "Content-Type: application/json" \
  -d '{"latitude": 39.9208, "longitude": 32.8541}'

# Historical solar data
curl -X POST "http://127.0.0.1:8000/api/v1/historical-solar" \
  -H "Content-Type: application/json" \
  -d '{"latitude": 39.9208, "longitude": 32.8541, "start_year": 2015, "end_year": 2024}'
```

---

## Structure

```
enerlytics.ai/
│
├── src/enerlytics_ai/
│   ├── api/
│   │   └── routes.py                        # API route definitions
│   ├── app/
│   │   ├── main.py                          # FastAPI app entry point
│   │   └── config.py                        # app configuration
│   ├── models/
│   │   ├── energy_model.py                  # solar energy estimation model
│   │   └── lcoe_model.py                    # LCOE financial model
│   ├── services/
│   │   ├── pvgis_data_service.py            # PVGIS API integration
│   │   ├── solar_data_service.py            # solar data fetching & caching
│   │   └── solar_model_service.py           # model inference service
│   └── utils/
│       ├── constants.py                     # shared constants
│       └── helpers.py                       # utility functions
│
├── pipelines/
│   ├── province_scan.py                     # scans all 81 TR provinces
│   └── scoring.py                           # investment scoring logic
│
├── analysis/
│   ├── notebooks/
│   │   ├── 01_eda.ipynb                     # exploratory data analysis
│   │   └── 02_turkiye_geneli_eda.ipynb      # Turkiye-wide solar EDA
│   └── outputs/
│       ├── monthly_stats.csv
│       ├── tr81_monthly_risk_band.csv
│       └── tr81_province_ranking.csv        # province investment ranking
│
├── data/
│   ├── raw/pvgis/                           # raw PVGIS API responses
│   └── processed/                           # cleaned province datasets
│
├── scripts/
│   └── fetch_pvgis_81_seriescalc.py         # data collection script
│
└── tests/
    ├── unit/
    │   └── test_scoring.py
    └── integration/
        └── test_province_pipeline.py
```

---

**Author:** Huseyin Kucukogul · MIT License
