{"id":32175227,"url":"https://github.com/jeroendelcour/tplot","last_synced_at":"2026-03-15T06:49:26.974Z","repository":{"id":44703939,"uuid":"133512163","full_name":"JeroenDelcour/tplot","owner":"JeroenDelcour","description":"A library for creating text-based graphs in the terminal","archived":false,"fork":false,"pushed_at":"2023-12-14T10:07:50.000Z","size":468,"stargazers_count":169,"open_issues_count":4,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-09T18:22:53.807Z","etag":null,"topics":["python","terminal"],"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/JeroenDelcour.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2018-05-15T12:21:14.000Z","updated_at":"2025-06-28T20:26:52.000Z","dependencies_parsed_at":"2022-07-20T20:48:34.218Z","dependency_job_id":"e46bb17b-1409-445c-906e-7c51e2e4dce6","html_url":"https://github.com/JeroenDelcour/tplot","commit_stats":{"total_commits":156,"total_committers":3,"mean_commits":52.0,"dds":0.07051282051282048,"last_synced_commit":"7cd065745f13a0ff57501f1e4bae2e7700392648"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/JeroenDelcour/tplot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeroenDelcour%2Ftplot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeroenDelcour%2Ftplot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeroenDelcour%2Ftplot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeroenDelcour%2Ftplot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JeroenDelcour","download_url":"https://codeload.github.com/JeroenDelcour/tplot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JeroenDelcour%2Ftplot/sbom","scorecard":{"id":72212,"data":{"date":"2025-08-11","repo":{"name":"github.com/JeroenDelcour/tplot","commit":"8b12564f1993b6a6c1fa1c304a6e514c200511c1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 1/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/tests.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":"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":"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":"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/tests.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/JeroenDelcour/tplot/tests.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/JeroenDelcour/tplot/tests.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/tests.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/JeroenDelcour/tplot/tests.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/tests.yml:20","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: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt: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 'master'"],"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-15T04:03:30.312Z","repository_id":44703939,"created_at":"2025-08-15T04:03:30.312Z","updated_at":"2025-08-15T04:03:30.312Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280322091,"owners_count":26310974,"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-10-21T02:00:06.614Z","response_time":58,"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":["python","terminal"],"created_at":"2025-10-21T19:29:31.646Z","updated_at":"2025-10-21T19:29:35.043Z","avatar_url":"https://github.com/JeroenDelcour.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tplot\n\n[![Documentation status](https://readthedocs.org/projects/tplot/badge/)](https://tplot.readthedocs.io/en/latest/)\n[![Tests status](https://github.com/JeroenDelcour/tplot/actions/workflows/tests.yml/badge.svg)](https://github.com/JeroenDelcour/tplot/actions/workflows/tests.yml)\n[![codecov](https://codecov.io/gh/JeroenDelcour/tplot/branch/master/graph/badge.svg?token=WXH7I3BGEO)](https://codecov.io/gh/JeroenDelcour/tplot)\n\n[![Supported Python versions](https://img.shields.io/pypi/pyversions/tplot)](https://pypi.org/project/tplot/)\n[![PyPI version](https://img.shields.io/pypi/v/tplot)](https://pypi.org/project/tplot/)\n[![License](https://img.shields.io/github/license/jeroendelcour/tplot)](https://github.com/JeroenDelcour/tplot/blob/master/LICENSE)\n\n`tplot` is a Python package for creating text-based graphs. Useful for visualizing data to the terminal or log files.\n\n## Features\n\n- Scatter plots, line plots, horizontal/vertical bar plots, and image plots\n- Supports numerical and categorical data\n- Legend\n- Unicode characters (with automatic ascii fallback)\n- Colors\n- Few dependencies\n- Fast and lightweight\n- Doesn't take over your terminal (only prints strings)\n\n## Installation\n\n`tplot` is available on [PyPi](https://pypi.org/project/tplot/):\n\n```bash\npip install tplot\n```\n\n## Documentation\n\nDocumentation is available on [readthedocs](https://tplot.readthedocs.io/en/latest/).\n\n## Examples\n\n### Basic usage\n\n```python\nimport tplot\n\nfig = tplot.Figure()\nfig.scatter([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10])\nfig.show()\n```\n\n![Basic example](docs/images/basic.png)\n\n### A more advanced example\n\n```python\nimport tplot\nimport numpy as np\n\nx = np.linspace(start=0, stop=np.pi*3, num=80)\n\nfig = tplot.Figure(\n    xlabel=\"Phase\",\n    ylabel=\"Amplitude\",\n    title=\"Trigonometric functions\",\n    legendloc=\"bottomleft\",\n    width=60,\n    height=15,\n)\nfig.line(x, y=np.sin(x), color=\"red\", label=\"sin(x)\")\nfig.line(x, y=np.cos(x), color=\"blue\", label=\"cos(x)\")\nfig.show()\n```\n\n![Advanced example](docs/images/advanced.png)\n\nSee more examples in the [documentation](https://tplot.readthedocs.io/en/latest/).\n\n## Contributing\n\nContributions are welcome. Bug fixes, feature suggestions, documentation improvements etc. can be contributed via [issues](https://github.com/JeroenDelcour/tplot/issues) and/or [pull requests](https://github.com/JeroenDelcour/tplot/pulls).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeroendelcour%2Ftplot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeroendelcour%2Ftplot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeroendelcour%2Ftplot/lists"}