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.
- Host: GitHub
- URL: https://github.com/frau-azadeh/mdfpriceanalysis
- Owner: frau-azadeh
- License: mit
- Created: 2025-07-31T07:41:49.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-02T13:04:01.000Z (11 months ago)
- Last Synced: 2025-08-02T14:35:56.705Z (11 months ago)
- Topics: fastapi, pandas, python
- Language: Python
- Homepage:
- Size: 33.2 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# π MDF Price Analysis




## π 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