{"id":16379403,"url":"https://github.com/mtoensing/dwh-proxy","last_synced_at":"2026-05-08T04:44:03.902Z","repository":{"id":74479132,"uuid":"200717601","full_name":"mtoensing/dwh-proxy","owner":"mtoensing","description":"python script to feed data to my miniature data warehouse","archived":false,"fork":false,"pushed_at":"2020-12-08T13:29:31.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-01T18:12:45.570Z","etag":null,"topics":["data-warehouse","docker","minecraft-server","mysql","python3"],"latest_commit_sha":null,"homepage":"https://marc.tv/data-warehouse-grafana-synology/","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/mtoensing.png","metadata":{"files":{"readme":"README.md","changelog":"history.sql","contributing":null,"funding":null,"license":null,"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":"2019-08-05T19:37:40.000Z","updated_at":"2020-12-08T13:29:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"69d9534e-2fc4-43f1-982c-e59f671209ed","html_url":"https://github.com/mtoensing/dwh-proxy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtoensing%2Fdwh-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtoensing%2Fdwh-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtoensing%2Fdwh-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtoensing%2Fdwh-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtoensing","download_url":"https://codeload.github.com/mtoensing/dwh-proxy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240018707,"owners_count":19734874,"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":["data-warehouse","docker","minecraft-server","mysql","python3"],"created_at":"2024-10-11T03:48:29.430Z","updated_at":"2026-04-18T23:30:27.042Z","avatar_url":"https://github.com/mtoensing.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dwh-proxy\nDataWareHouse Proxy for Grafana and MySQL\n\n## MySQL structure\n\nSee `history.sql`.\n\n## mysql-config.json\n\n```json\n{\n    \"mysql\":{\n        \"server\":\"ADR\",\n        \"user\":\"USER\",\n        \"password\":\"SECRET!!\",\n        \"db\":\"DB\"\n    }\n}\n```\n\n\n## weather-apikey.json\n\nGet apikey from http://api.openweathermap.org\n\n```json\n{\n    \"weather\":{\n        \"apikey\":\"key\"\n    }\n}\n```\n\n\n## youtube-apikey.json\n\n```json\n{\n    \"youtube\":{\n        \"apikey\":\"key\",\n        \"channelid\":\"UCar1gwRwYqAGSNAuZoKDh2w\"\n    }\n}\n```\n\n## On Synology\n\nInstall the official Python3 package first. To install PyMySQL on Synology DSM do the following:\n```\nsudo su\ncurl -k https://bootstrap.pypa.io/get-pip.py | python3\n/volume1/@appstore/py3k/usr/local/bin/pip3 install PyMySQL\n```\n\n## Purge old entries from the database\nDELETE FROM history WHERE TIMESTAMP \u003c (NOW() - INTERVAL 6 MONTH)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtoensing%2Fdwh-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtoensing%2Fdwh-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtoensing%2Fdwh-proxy/lists"}