An open API service indexing awesome lists of open source software.

https://github.com/frau-azadeh/mdfpriceanalysis

Mdf Price Analysis is a data processing and analysis service designed to fetch, clean, and analyze rebar product data from an external API.
https://github.com/frau-azadeh/mdfpriceanalysis

fastapi pandas python

Last synced: 10 months ago
JSON representation

Mdf Price Analysis is a data processing and analysis service designed to fetch, clean, and analyze rebar product data from an external API.

Awesome Lists containing this project

README

          

# πŸ“Š MDF Price Analysis

![Python](https://img.shields.io/badge/Python-3.10-blue?logo=python)
![FastAPI](https://img.shields.io/badge/FastAPI-API-green?logo=fastapi)
![Pandas](https://img.shields.io/badge/Pandas-Data%20Analysis-blue?logo=pandas)
![License](https://img.shields.io/badge/License-MIT-orange)

## πŸš€ Overview
Mdf Price Analysis is a **data processing and analysis service** designed to fetch, clean, and analyze rebar product data from an external API.
It provides endpoints for:
- Price trend analysis
- Latest price summaries
- Forecast data generation for daily, weekly, and monthly periods

---

## ⚑ Features
- πŸ“₯ **Fetch live data** from ASP.NET backend
- πŸ”„ **Convert dates** between Gregorian & Jalali calendars
- πŸ“ˆ **Summarize and analyze** rebar pricing data
- πŸ€– **Forecast future prices** using trend-based calculation

---

## πŸ› οΈ Tech Stack
- **Python 3.10+**
- **FastAPI** (REST API)
- **Pandas** for data processing
- **Requests** for external API calls
- **Jdatetime** for date conversion

---

## πŸ“Œ Endpoints
| Method | Endpoint | Description |
|--------|----------------|-----------------------------------|
| `GET` | `/` | Service health check |
| `GET` | `/analyze` | Analyze all price data |
| `GET` | `/analyze-latest` | Get last date price summary |
| `GET` | `/forecast` | Forecast daily, weekly, monthly prices |

---

## βš™οΈ Installation

# Clone the repo
git clone https://github.com/frau-azadeh/MdfPriceAnalysis.git
cd MdfPriceAnalysis

# Create venv and install dependencies
python -m venv venv
source venv/bin/activate # or venv\Scripts\activate on Windows
pip install -r requirements.txt

# Run FastAPI server
uvicorn main:app --reload

---

## 🀝 Contributing

Contributions are warmly welcomed!

Feel free to fork this repo, create a feature branch, and submit a pull request.

---

## 🌻Developed by

Azadeh Sharifi Soltani