{"id":47929960,"url":"https://github.com/cnumr/ecoindex_python","last_synced_at":"2026-04-04T07:15:01.951Z","repository":{"id":219105652,"uuid":"706608067","full_name":"cnumr/EcoIndex_python","owner":"cnumr","description":"Refactoring of ecoindex in one monorepo using polylith pattern","archived":false,"fork":false,"pushed_at":"2026-04-01T06:32:35.000Z","size":2026,"stargazers_count":25,"open_issues_count":13,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-04-01T09:22:02.979Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cnumr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2023-10-18T09:28:29.000Z","updated_at":"2026-04-01T06:32:40.000Z","dependencies_parsed_at":"2024-07-12T10:44:24.424Z","dependency_job_id":"f1ecc826-fb06-44c0-85d2-e9122232a6d7","html_url":"https://github.com/cnumr/EcoIndex_python","commit_stats":null,"previous_names":["vvatelot/ecoindex_monorepo","cnumr/ecoindex_python","cnumr/ecoindex_python_fullstack"],"tags_count":47,"template":false,"template_full_name":null,"purl":"pkg:github/cnumr/EcoIndex_python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnumr%2FEcoIndex_python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnumr%2FEcoIndex_python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnumr%2FEcoIndex_python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnumr%2FEcoIndex_python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cnumr","download_url":"https://codeload.github.com/cnumr/EcoIndex_python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cnumr%2FEcoIndex_python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31391079,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T04:26:24.776Z","status":"ssl_error","status_checked_at":"2026-04-04T04:23:34.147Z","response_time":60,"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":[],"created_at":"2026-04-04T07:15:01.361Z","updated_at":"2026-04-04T07:15:01.937Z","avatar_url":"https://github.com/cnumr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ecoindex Python Fullstack\n\n[![Validate project quality](https://github.com/cnumr/ecoindex_python_fullstack/actions/workflows/quality_check.yml/badge.svg?branch=main)](https://github.com/cnumr/ecoindex_python_fullstack/actions/workflows/quality_check.yml)\n\n![PyPI - Version](https://img.shields.io/pypi/v/ecoindex-compute?logo=pypi\u0026label=ecoindex-compute)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/ecoindex-compute?style=social\u0026logo=pypi\u0026label=ecoindex-compute)\n\n![PyPI - Version](https://img.shields.io/pypi/v/ecoindex-scraper?logo=pypi\u0026label=ecoindex-scraper)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/ecoindex-scraper?style=social\u0026logo=pypi\u0026label=ecoindex-scraper)\n\n![PyPI - Version](https://img.shields.io/pypi/v/ecoindex-cli?logo=pypi\u0026label=ecoindex-cli)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/ecoindex-cli?style=social\u0026logo=pypi\u0026label=ecoindex-cli)\n![Docker Pulls](https://img.shields.io/docker/pulls/vvatelot/ecoindex-cli?style=social\u0026logo=docker\u0026label=CLI)\n\n![Docker Pulls](https://img.shields.io/docker/pulls/vvatelot/ecoindex-api-worker?style=social\u0026logo=docker\u0026label=API%20Worker)\n![Docker Pulls](https://img.shields.io/docker/pulls/vvatelot/ecoindex-api-backend?style=social\u0026logo=docker\u0026label=API%20Backend)\n\n- [Ecoindex Python Fullstack](#ecoindex-python-fullstack)\n  - [Projects](#projects)\n  - [Getting started](#getting-started)\n    - [Requirements](#requirements)\n    - [Installation](#installation)\n    - [Usage](#usage)\n  - [Disclaimer](#disclaimer)\n  - [License](#license)\n  - [Contributing](#contributing)\n  - [Code of conduct](#code-of-conduct)\n\nThis project is a polylith repository for the Ecoindex project. It is called \"fullstack\" because it contains all the components of the project, including the backend that is used in production, but also a CLI tool and modules that can be used in other projects.\n\nYou can get more information about polylith in the [official documentation](https://polylith.gitbook.io/polylith) and in the [python-polylith tool](https://github.com/DavidVujic/python-polylith) that is used to manage this repository.\n\n## Projects\n\nThis repository contains the following projects:\n\n- [Ecoindex Compute](projects/ecoindex_compute/README.md): this is the base module that provides a simple interface to get the [Ecoindex](http://www.ecoindex.fr) based on 3 parameters:\n  - The number of DOM elements in the page\n  - The size of the page\n  - The number of external requests of the page\n- [Ecoindex Scraper](projects/ecoindex_scraper/README.md): This module provides a simple interface to get the [Ecoindex](http://www.ecoindex.fr) based on a URL. It uses [Playwright](https://playwright.dev/) to get the DOM elements, size and requests of the page.\n- [Ecoindex CLI](projects/ecoindex_cli/README.md): This module provides a CLI tool to get the [Ecoindex](http://www.ecoindex.fr) based on a URL. It uses the [Ecoindex Scraper](projects/ecoindex_scraper/README.md) module.\n- [Ecoindex API](projects/ecoindex_api/README.md): This module provides a REST API to get the [Ecoindex](http://www.ecoindex.fr) based on a URL. It uses the [Ecoindex Scraper](projects/ecoindex_scraper/README.md) module.\n\nHere is a diagram of the dependencies between the projects:\n\n![Ecoindex Python Fullstack](docs/images/ecoindex-python-fullstack.png)\n\n## Getting started\n\n### Requirements\n\n- [Python 3.9+](https://www.python.org/downloads/)\n- [Poetry](https://python-poetry.org/docs/#installation)\n- [Task](https://taskfile.dev/#/installation)\n- [Docker](https://docs.docker.com/get-docker/) (optional)\n\n### Installation\n\nTo install main dependencies, run:\n\n```bash\ntask poetry:install\n```\n\n### Usage\n\nHave a look at the task help:\n\n```bash\ntask --list\n```\n\n## Disclaimer\n\nThe LCA values used by [ecoindex](https://github.com/cnumr/ecoindex_monorepo) to evaluate environmental impacts are not under free license - ©Frédéric Bordage\nPlease also refer to the mentions provided in the code files for specifics on the IP regime.\n\n## [License](LICENSE)\n\n## [Contributing](CONTRIBUTING.md)\n\n## [Code of conduct](CODE_OF_CONDUCT.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcnumr%2Fecoindex_python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcnumr%2Fecoindex_python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcnumr%2Fecoindex_python/lists"}