{"id":31692536,"url":"https://github.com/xavi092000/finops-project-exercises","last_synced_at":"2026-04-18T17:34:32.948Z","repository":{"id":316108180,"uuid":"1061990232","full_name":"xavi092000/finops-project-exercises","owner":"xavi092000","description":"FinOps: KPIs mensuels, prod vs non-prod, anomalies (z-score), scénario d’économies (~20%).","archived":false,"fork":false,"pushed_at":"2025-09-23T00:16:38.000Z","size":119,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-08T14:58:42.843Z","etag":null,"topics":["anomaly-detection","cloud-costs","data-viz","finops","github-actions","pandas","pytest","python","z-score"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xavi092000.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE → Choose a license template → MIT →","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-22T16:51:01.000Z","updated_at":"2025-09-23T00:16:41.000Z","dependencies_parsed_at":"2025-09-22T19:37:02.211Z","dependency_job_id":null,"html_url":"https://github.com/xavi092000/finops-project-exercises","commit_stats":null,"previous_names":["xavi092000/finops-project-exercises"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/xavi092000/finops-project-exercises","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xavi092000%2Ffinops-project-exercises","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xavi092000%2Ffinops-project-exercises/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xavi092000%2Ffinops-project-exercises/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xavi092000%2Ffinops-project-exercises/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xavi092000","download_url":"https://codeload.github.com/xavi092000/finops-project-exercises/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xavi092000%2Ffinops-project-exercises/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31978119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T17:30:12.329Z","status":"ssl_error","status_checked_at":"2026-04-18T17:29:59.069Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anomaly-detection","cloud-costs","data-viz","finops","github-actions","pandas","pytest","python","z-score"],"created_at":"2025-10-08T14:53:40.757Z","updated_at":"2026-04-18T17:34:32.927Z","avatar_url":"https://github.com/xavi092000.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![tests](https://github.com/xavi092000/finops-project-exercises/actions/workflows/tests.yml/badge.svg)\r\n![tests](https://github.com/xavi092000/finops-project-exercises/actions/workflows/tests.yml/badge.svg)\r\n# FinOps Project Exercises\r\n\r\n![tests](https://github.com/xavi092000/finops-project-exercises/actions/workflows/tests.yml/badge.svg)\r\n\r\nAnalyse des coûts cloud (Juin–Août 2025) avec **KPIs mensuels**, **comparaison prod vs non-prod**, **détection d’anomalies** (z-score) et un **scénario d’économies v1 ~20%**.  \r\nExports au format CSV + graphiques, suite de tests PyTest (**6/6**), et CI GitHub Actions.\r\n\r\n## Sommaire\r\n- [Fonctionnalités](#fonctionnalités)\r\n- [Données](#données)\r\n- [Prérequis](#prérequis)\r\n- [Installation](#installation)\r\n- [Exécution rapide](#exécution-rapide)\r\n- [Graphiques générés](#graphiques-générés)\r\n- [API (src/finops_exercises.py)](#api-srcfinops_exercisespy)\r\n- [Tests](#tests)\r\n- [Structure du dépôt](#structure-du-dépôt)\r\n- [Feuille de route](#feuille-de-route)\r\n- [Licence](#licence)\r\n\r\n---\r\n\r\n## Fonctionnalités\r\n- **KPIs mensuels** : coût total par mois (`kpi_month.csv`).\r\n- **Coûts par service et par mois** : Compute, Storage, Database, Network, AI (`kpi_service_month.csv`).\r\n- **Prod vs Non-prod** : répartition des coûts par environnement (`prod_vs_nonprod.csv`).\r\n- **Anomalies** : détection simple via **z-score** par *service × environnement × jour* (flag `is_anomaly`) → `anomalies.csv`.\r\n- **Scénario d’économies v1** : application d’une politique simple (réduction de coûts) pour estimer une **économie ≈ 20%**, exportée dans `scenario_v1.csv`.\r\n- **CI GitHub Actions** : exécution automatique de la suite de tests à chaque push.\r\n\r\n## Données\r\nSource : `data/billing.csv`  \r\n**Schéma des colonnes** :\r\n- `date` (YYYY-MM-DD), `provider`, `service`, `region`, `environment` (`prod`/`non-prod`), `team`,  \r\n  `usage` (unité métier), `unit_cost` (prix unitaire), `cost` (coût *effectif*).\r\n\r\n## Prérequis\r\n- Python **3.12+** (OK 3.13)\r\n- `pip`\r\n\r\n## Installation\r\n```bash\r\npip install -r requirements.txt\r\n\r\n\r\n\r\n\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxavi092000%2Ffinops-project-exercises","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxavi092000%2Ffinops-project-exercises","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxavi092000%2Ffinops-project-exercises/lists"}