{"id":19044265,"url":"https://github.com/arturogonzalezm/temperature_predictions","last_synced_at":"2026-05-09T16:30:22.092Z","repository":{"id":237402637,"uuid":"794459430","full_name":"arturogonzalezm/temperature_predictions","owner":"arturogonzalezm","description":"This repository contains the solution to the HackerRank challenge \"Temperature Predictions\". ","archived":false,"fork":false,"pushed_at":"2024-05-01T09:37:33.000Z","size":272,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-02T08:14:39.960Z","etag":null,"topics":["predictive-analytics","python3","python311","statistical-analysis"],"latest_commit_sha":null,"homepage":"","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/arturogonzalezm.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":"2024-05-01T08:04:21.000Z","updated_at":"2024-05-01T09:37:36.000Z","dependencies_parsed_at":"2024-05-01T09:36:19.746Z","dependency_job_id":null,"html_url":"https://github.com/arturogonzalezm/temperature_predictions","commit_stats":null,"previous_names":["arturogonzalezm/temperature_predictions"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arturogonzalezm%2Ftemperature_predictions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arturogonzalezm%2Ftemperature_predictions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arturogonzalezm%2Ftemperature_predictions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arturogonzalezm%2Ftemperature_predictions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arturogonzalezm","download_url":"https://codeload.github.com/arturogonzalezm/temperature_predictions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240100558,"owners_count":19747689,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["predictive-analytics","python3","python311","statistical-analysis"],"created_at":"2024-11-08T22:45:21.342Z","updated_at":"2026-05-09T16:30:22.045Z","avatar_url":"https://github.com/arturogonzalezm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![codecov](https://codecov.io/gh/arturogonzalezm/temperature_predictions/graph/badge.svg?token=U18KTIAC7R)](https://codecov.io/gh/arturogonzalezm/temperature_predictions)\n[![License: MIT](https://img.shields.io/badge/License-MIT-purple.svg)](https://github.com/arturogonzalezm/temperature_predictions/blob/master/LICENSE)\n[![Documentation](https://img.shields.io/badge/docs-pdf-blue.svg)](https://github.com/arturogonzalezm/temperature_predictions/blob/master/docs/temperature-predictions-English.pdf)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\n# Temperature Predictions - HackerRank Challenge\n\nThis repository contains the solution to the HackerRank challenge \"Temperature Predictions\". \nThe challenge consists of predicting the temperature of a given day based on the temperatures of the previous days. \nThe solution is implemented in Python and the code is documented in the file `temperature_predictions.py`. \nThe documentation of the code is available in the file `temperature-predictions-English.pdf`.\n\n## Overview\nThis Python script reads climate data from standard input, processes this data to interpolate missing values, and prints the interpolated values. It's designed for use directly from the command line and is built to handle tabular data effectively.\n\n## Installation\n\n### Prerequisites\n- Python (3.x recommended)\n- Pandas library\n\nTo install Pandas, you can use pip:\n\n```bash\npip intsall -r requirements.txt\n```\n\n# Climate Data Processor Flow\n\nThis diagram illustrates the sequence of operations in the Climate Data Processor script:\n\n```mermaid\nflowchart TD\n    A[Start] --\u003e B[Create Instance]\n    B --\u003e C{Singleton Check}\n    C -- \"If None\" --\u003e D[Create New Instance]\n    C -- \"If Exists\" --\u003e E[Use Existing Instance]\n    D --\u003e F[Initialize Data]\n    E --\u003e F\n    F --\u003e G[Read Input]\n    G --\u003e H[Process Data]\n    H --\u003e I[Print Interpolated Values]\n    I --\u003e J[End]\n\n    classDef className fill:#f9f,stroke:#333,stroke-width:2px;\n    class B,C,D,E,F,G,H,I className;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farturogonzalezm%2Ftemperature_predictions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farturogonzalezm%2Ftemperature_predictions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farturogonzalezm%2Ftemperature_predictions/lists"}