{"id":18686528,"url":"https://github.com/ashutoshvarma/tslogs","last_synced_at":"2026-06-18T16:31:57.965Z","repository":{"id":44740607,"uuid":"302138691","full_name":"ashutoshvarma/tslogs","owner":"ashutoshvarma","description":"ThrottleStop logs parsers and visualizer","archived":false,"fork":false,"pushed_at":"2023-12-15T05:42:36.000Z","size":672,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-28T03:08:04.306Z","etag":null,"topics":["cpu-monitoring","cpu-temperature","gpu-monitoring","log-parser","log-visualization","parse","plot","visualizer"],"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/ashutoshvarma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-10-07T19:23:00.000Z","updated_at":"2021-04-11T09:31:05.000Z","dependencies_parsed_at":"2023-12-26T06:33:41.099Z","dependency_job_id":"8ffc97f3-2fa1-4c8f-8465-bac24a0fc61e","html_url":"https://github.com/ashutoshvarma/tslogs","commit_stats":{"total_commits":50,"total_committers":1,"mean_commits":50.0,"dds":0.0,"last_synced_commit":"5b2b849191952601788784ed06667e0f6219c48f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ashutoshvarma/tslogs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashutoshvarma%2Ftslogs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashutoshvarma%2Ftslogs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashutoshvarma%2Ftslogs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashutoshvarma%2Ftslogs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ashutoshvarma","download_url":"https://codeload.github.com/ashutoshvarma/tslogs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ashutoshvarma%2Ftslogs/sbom","scorecard":{"id":211996,"data":{"date":"2025-08-11","repo":{"name":"github.com/ashutoshvarma/tslogs","commit":"5b2b849191952601788784ed06667e0f6219c48f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/python-package.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/ashutoshvarma/tslogs/python-package.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-package.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/ashutoshvarma/tslogs/python-package.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/python-package.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/ashutoshvarma/tslogs/python-package.yml/main?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/python-package.yml:29","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: COPYING:0","Info: FSF or OSI recognized license: MIT License: COPYING:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-17T00:55:06.690Z","repository_id":44740607,"created_at":"2025-08-17T00:55:06.690Z","updated_at":"2025-08-17T00:55:06.690Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34499405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"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":["cpu-monitoring","cpu-temperature","gpu-monitoring","log-parser","log-visualization","parse","plot","visualizer"],"created_at":"2024-11-07T10:27:59.238Z","updated_at":"2026-06-18T16:31:57.945Z","avatar_url":"https://github.com/ashutoshvarma.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `tslogs` [![Stars](https://img.shields.io/github/stars/ashutoshvarma/tslogs.svg?style=social\u0026maxAge=3600\u0026label=Star)](https://github.com/ashutoshvarma/tslogs/stargazers)\n*A Python parser and visualizer for ThrottleStop logs.*\n\n![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/ashutoshvarma/tslogs/Python%20package/main?style=flat-square)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square\u0026maxAge=2678400)](https://choosealicense.com/licenses/mit/)\n[![Source](https://img.shields.io/badge/source-GitHub-303030.svg?maxAge=2678400\u0026style=flat-square)](https://github.com/ashutoshvarma/tslogs/)\n[![Coverage](https://img.shields.io/codecov/c/gh/ashutoshvarma/tslogs?style=flat-square\u0026maxAge=3600)](https://codecov.io/gh/ashutoshvarma/tslogs/)\n[![PyPI](https://img.shields.io/pypi/v/tslogs.svg?style=flat-square\u0026maxAge=10)](https://pypi.python.org/pypi/tslogs)\n[![Versions](https://img.shields.io/pypi/pyversions/tslogs.svg?style=flat-square\u0026maxAge=10)](https://pypi.org/project/tslogs/#files)\n[![Wheel](https://img.shields.io/pypi/wheel/pronto?style=flat-square\u0026maxAge=10)](https://pypi.org/project/pronto/#files)\n[![GitHub issues](https://img.shields.io/github/issues/ashutoshvarma/tslogs.svg?style=flat-square\u0026maxAge=600)](https://github.com/ashutoshvarma/tslogs/issues)\n[![Downloads](https://img.shields.io/badge/dynamic/json?style=flat-square\u0026color=303f9f\u0026maxAge=86400\u0026label=downloads\u0026query=%24.total_downloads\u0026url=https%3A%2F%2Fapi.pepy.tech%2Fapi%2Fprojects%2Ftslogs)](https://pepy.tech/project/tslogs)\n\n## 🚩 Table of Contents\n\n- [Overview](#%EF%B8%8F-overview)\n  - [What is ThrottleStop ?](#-what-is-throttlestop-)\n  - [Why would you like to parse ThrottleStop Logs ?](#why-would-you-like-to-parse-throttlestop-logs-)\n  - [Enable Logging in ThrottleStop](#%EF%B8%8F-enable-logging-in-throttlestop)\n- [Installing](#-installing)\n- [Usage](#-usage)\n- [License](#-license)\n\n\n\n## 🗺️ Overview\n\ntslogs is a Python library to parse, browse, export and visualize\n[ThrottleStop](https://www.techpowerup.com/download/techpowerup-throttlestop/) log files.\n\n#### 📖 What is ThrottleStop ?\n\u003e [ThrottleStop](https://www.techpowerup.com/download/techpowerup-throttlestop/)\nis a small application designed to monitor for \nand correct the three main types of CPU throttling that are \nbeing used on many laptop computers.\n\nOfficial Thread - [here](http://forum.notebookreview.com/threads/the-throttlestop-guide.531329/)\n\nComprehensive Guide - [here](https://www.ultrabookreview.com/31385-the-throttlestop-guide/)\n\n#### Why would you like to parse ThrottleStop Logs ?\nTODO\n\n#### 🏳️ Enable Logging in ThrottleStop\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eSelect the `Log File` checkbox\u003c/td\u003e\n     \u003ctd\u003eClick on `Options` button and Select the Folder where you want logs to be saved.\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd valign=\"top\"\u003e\n      \u003cimg src=\"https://github.com/ashutoshvarma/tslogs/blob/main/docs/_static/throttlestop-log-enable.jpg?raw=true\" width=\"500\" height=\"400\"\u003e\n    \u003c/td\u003e\n    \u003ctd valign=\"top\"\u003e\n      \u003cimg src=\"https://github.com/ashutoshvarma/tslogs/blob/main/docs/_static/throttlestop-log-folder.jpg?raw=true\" width=\"500\" height=\"400\"\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n \u003c/table\u003e\n \n## 🔧 Installing\n\nInstalling with `pip` is the easiest:\n```console\n# pip install tslogs          # if you have the admin rights\n$ pip install tslogs --user   # install it in a user-site directory\n```\n\nFinally, a development version can be installed from GitHub\nusing `setuptools` \u0026 `pip`\n```console\n$ git clone https://github.com/ashutoshvarma/tslogs\n$ cd tslogs\n# pip install .\n```\n\n## 💡 Usage \n### 1. `tslogs` - CLI tool\n```console\n$ tslogs --help\nusage: tslogs [-h] [--json | --plot ] [--dates START END] [--interval INTERVAL] [--smooth SMOOTH] [--output FILE] [--indent VALUE] [--quiet]\n              [--version]\n              paths paths\n\npositional arguments:\n  paths                 One or more paths to log dir or log files.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --json, -j            dump all parsed log data.\n  --plot, -p            Plot given the logs attributes (default: None). Allowed values are {multi, c0, clock_mod, chip_mod, battery_mw,       \n                        cpu_temp, gpu_mhz, gpu_temp, vid, power}\n  --quiet, -q           Run in silent mode\n  --version, -v         show program's version number and exit\n\nFilter:\n  --dates, -d START END\n                        Datetime range to filter (in ISO format, yyyy-mm-dd HH:MM:SS)\n\nPlot Options:\n  --interval, -I INTERVAL\n                        Plot data frequency in seconds (default: 60)\n  --smooth, -S SMOOTH   Span interval for smoothing the graph, if data frequency is very high using increasing this with 'interval' can       \n                        yield smooth graph (default: 2)\n\nOutput:\n  --output, -o FILE     Output file path, default is '-' (stdout)\n  --indent VALUE        indent value for json output, default is 4\n```\n- #### a.) Print the summary\n  ![tslogs-summary](docs/_static/summary.jpg)\n\n- #### b.) Plot Graphs\n  This will plot `cpu_temp`, `multi` (clock speed in GHz),\n  `power` (in W) and `c0` from logs between time 16:00 to 16:15 in `2020-07-28.txt` \n  ```console\n  tslogs .\\tests\\logs\\2020-07-28.txt -p cpu_temp multi power --smooth 2 --interval 1 -d \"2020-07-28 16:00:00\" \"2020-07-28 16:15:00\"\n  ```\n  ![tslogs-plot](docs/_static/plot.jpg)\n\n### 2. `tslogs` - Python Module\nTODO\n\nSee `parse_logs()` and `LogLine` in `parse.py`. For more references\nsee the CLI implementation in `cli.py`\n\n\n\n## 📜 License\n\nThis library is provided under the open-source\n[MIT license](https://choosealicense.com/licenses/mit/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashutoshvarma%2Ftslogs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashutoshvarma%2Ftslogs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashutoshvarma%2Ftslogs/lists"}