{"id":28226212,"url":"https://github.com/s4m-mo/detametricssdk","last_synced_at":"2026-05-20T05:07:32.205Z","repository":{"id":177593773,"uuid":"660615023","full_name":"s4m-mo/DetaMetricsSDK","owner":"s4m-mo","description":"The Python SDK for the Kaggle and Colab-compatible TensorBoard alternative.","archived":false,"fork":false,"pushed_at":"2024-06-23T12:54:10.000Z","size":15,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-13T07:43:56.169Z","etag":null,"topics":["alternative","dashboard","deta","deta-space","machine-learning","python","tensorboard","tensorflow"],"latest_commit_sha":null,"homepage":"https://deta.space/discovery/@sam-the-programmer/detametrics","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/s4m-mo.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,"zenodo":null}},"created_at":"2023-06-30T12:12:43.000Z","updated_at":"2024-06-26T19:01:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"b44fefdc-b234-4b11-9303-365e1d8596f2","html_url":"https://github.com/s4m-mo/DetaMetricsSDK","commit_stats":null,"previous_names":["sam-the-programmer/detametricssdk","s4m-mo/detametricssdk"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/s4m-mo/DetaMetricsSDK","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s4m-mo%2FDetaMetricsSDK","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s4m-mo%2FDetaMetricsSDK/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s4m-mo%2FDetaMetricsSDK/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s4m-mo%2FDetaMetricsSDK/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/s4m-mo","download_url":"https://codeload.github.com/s4m-mo/DetaMetricsSDK/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/s4m-mo%2FDetaMetricsSDK/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274088625,"owners_count":25220260,"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","status":"online","status_checked_at":"2025-09-07T02:00:09.463Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["alternative","dashboard","deta","deta-space","machine-learning","python","tensorboard","tensorflow"],"created_at":"2025-05-18T11:10:59.886Z","updated_at":"2026-05-20T05:07:32.193Z","avatar_url":"https://github.com/s4m-mo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e This project is now archived, since Deta Space is now shut down. This will no longer work.\n\n# DetaMetricsSDK\n\nA Python SDK for interacting with my TensorBoard alternative that runs on [Deta Space](https://deta.space).\n\n- [DetaMetricsSDK](#detametricssdk)\n  - [Installation](#installation)\n  - [Usage](#usage)\n    - [TensorFlow Callback](#tensorflow-callback)\n    - [Base API](#base-api)\n\n---\n\n## Installation\n\n```powershell\npip install detametrics\n```\n\n## Usage\n- Install in Deta Space from https://deta.space/discovery/@sam-the-programmer/detametrics\n\n- All API classes need an URL ID passed as a parameter, which can be found in the app UI.\n- They also need a Deta Space App API key, which can be gotten from...\n  - Click the 3 dots on the app on your Deta Space Canvas\n  - Click **\"Keys\"**\n  - Add an API Key, and input it in the box on the App UI and in your Python code as seen below\n\n### TensorFlow Callback\nRequires Tensorflow to be installed.\n\n```python\nfrom detametrics.tf import DetaMetricsTFCallback\n\n# use in your keras model\nmodel = ...\nmodel.fit(\n  ..., # other params here\n  callbacks=[DetaMetricsTFCallback(\"MY_URL_ID\", \"MY_API_KEY\", log_batch=True)] # if log_batch is True, it logs every batch, else only every epoch\n)\n```\n\n### Base API\nGet your URL id from the UI on the [Deta Space app](https://deta.space/discovery/@sam-the-programmer/detametrics).\n\n```python\nfrom detametrics import DetaMetrics\n\nmetrics = DetaMetrics(\"MY_URL_ID\", \"MY_API_KEY\")\nmetrics.clear() # WARNING: clears all past metrics\n\nmetrics.set(\"GraphName\", \"LineName\", 0.1)\nmetrics.set(\"GraphName\", \"LineName\", 123.45)\nmetrics.set(\"GraphName\", \"LineName\", 78.9)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs4m-mo%2Fdetametricssdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs4m-mo%2Fdetametricssdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs4m-mo%2Fdetametricssdk/lists"}