{"id":16445692,"url":"https://github.com/doreapp/prix-carburants","last_synced_at":"2026-01-21T01:10:14.398Z","repository":{"id":37210541,"uuid":"493329873","full_name":"Doreapp/prix-carburants","owner":"Doreapp","description":"Fetches french fuel prices","archived":false,"fork":false,"pushed_at":"2023-10-01T14:56:52.000Z","size":195882,"stargazers_count":2,"open_issues_count":10,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-08T05:45:40.157Z","etag":null,"topics":["github-pages","jekyll","python"],"latest_commit_sha":null,"homepage":"https://doreapp.github.io/prix-carburants/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Doreapp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2022-05-17T16:26:11.000Z","updated_at":"2023-03-27T09:55:17.000Z","dependencies_parsed_at":"2024-10-28T15:35:55.317Z","dependency_job_id":"02d0b420-d687-46e8-85aa-68c1811bbd29","html_url":"https://github.com/Doreapp/prix-carburants","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Doreapp/prix-carburants","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doreapp%2Fprix-carburants","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doreapp%2Fprix-carburants/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doreapp%2Fprix-carburants/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doreapp%2Fprix-carburants/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Doreapp","download_url":"https://codeload.github.com/Doreapp/prix-carburants/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Doreapp%2Fprix-carburants/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28620576,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T23:49:58.628Z","status":"ssl_error","status_checked_at":"2026-01-20T23:47:29.996Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["github-pages","jekyll","python"],"created_at":"2024-10-11T09:45:04.085Z","updated_at":"2026-01-21T01:10:14.382Z","avatar_url":"https://github.com/Doreapp.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prix carburants\n\nContains:\n- A python module to fetch fuel prices.\n- A *Github-pages* website to display data about fuel prices.\n\nIt uses french open data. See https://www.prix-carburants.gouv.fr/rubrique/opendata/ for details.\n\n## Installation\n\n### Python module\n\nThe python module is in [`prixcarburants`](prixcarburants/) directory.\n\n1. **(Optional) Virtual environment**\n\nWe recommend using a python virtual environment. Here are instructions for Linux users:\n\n```bash\nvirtualenv venv\nsource venv/bin/activate\n```\n\n2. **Download dependencies**\n\n```bash\npip install -r requirements.txt\n```\n\n3. **Help on usage**\n\n```bash\n# Global help\npython3 -m prixcarburants -h\n# Command-specific help\npython3 -m prixcarburants \u003ccommand\u003e -h\n```\n\n4. **Usage example**\n\n   1. Download today's data about fuel prices, into `data` directory\n\n       ```bash\n       $ python3 -m prixcarburants download day -o data\n       data/PrixCarburants_quotidien_20220525.xml\n       ```\n\n   2. Transform it in a `json` file\n\n       ```bash\n       $ python3 -m prixcarburants transform data/PrixCarburants_quotidien_20220525.xml\n       data/PrixCarburants_quotidien_20220525.json\n       ```\n\n   3. *Result* : `cat data/PrixCarburants_quotidien_20220525.json`\n\n\n### Jekyll website (Github pages)\n\n1. Follow [installation guide in dedicated README](docs/Github_pages.md#installation).\n\n2. **Serve the website locally**:\n\n    ```\n    make serve\n    ```\n\n## Github-pages website\n\nThe sources about GitHub-pages website are under [`gh-pages`](gh-pages/) directory.\n\nThe actual sources used are in `gh-pages` branch.\n\n## Data\n\nThe data displayed by [Github-pages website](#github-pages-website) is stored under `assets/data/` directory in `gh-pages` branch.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoreapp%2Fprix-carburants","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoreapp%2Fprix-carburants","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoreapp%2Fprix-carburants/lists"}