{"id":13936322,"url":"https://github.com/linkedin/asciietch","last_synced_at":"2025-08-17T01:34:54.829Z","repository":{"id":46690264,"uuid":"112525792","full_name":"linkedin/asciietch","owner":"linkedin","description":"A graphing library with the goal of making it simple to graphs using ascii characters.","archived":false,"fork":false,"pushed_at":"2021-10-07T21:58:50.000Z","size":272,"stargazers_count":139,"open_issues_count":0,"forks_count":18,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-07-19T22:39:03.616Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linkedin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-29T20:43:38.000Z","updated_at":"2024-12-04T07:45:27.000Z","dependencies_parsed_at":"2022-08-12T13:00:50.052Z","dependency_job_id":null,"html_url":"https://github.com/linkedin/asciietch","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/linkedin/asciietch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkedin%2Fasciietch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkedin%2Fasciietch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkedin%2Fasciietch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkedin%2Fasciietch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linkedin","download_url":"https://codeload.github.com/linkedin/asciietch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linkedin%2Fasciietch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270796217,"owners_count":24647319,"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-08-16T02:00:11.002Z","response_time":91,"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":[],"created_at":"2024-08-07T23:02:34.060Z","updated_at":"2025-08-17T01:34:54.807Z","avatar_url":"https://github.com/linkedin.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Ascii Etch [![License](https://img.shields.io/badge/License-BSD%202--Clause-orange.svg)](https://opensource.org/licenses/BSD-2-Clause) [![Build Status](https://travis-ci.org/linkedin/asciietch.svg?branch=master)](https://travis-ci.org/linkedin/asciietch) [![Coverage Status](https://coveralls.io/repos/github/linkedin/asciietch/badge.svg)](https://coveralls.io/github/linkedin/asciietch)\nA graphing library with the goal of making it simple to graph series of numbers using ascii characters.\n\n## Quick Start\nTo start using Ascii Etch ensure Python 3.6 or higher is installed. Then install asciietch using pip3.6 or higher:\n```\npip3 install asciietch\n```\nThen import asciietch and begin using it.\n## Examples\n### Graphing 0-4 values as a line graph\n```python\n\u003e\u003e\u003e from asciietch.graph import Grapher\n\u003e\u003e\u003e g = Grapher()\n\u003e\u003e\u003e values = [0, 1, 2, 3, 4]\n\u003e\u003e\u003e print(g.asciigraph(values))\n    -\n   /\n  /\n /\n/\n```\n### Graphing 0-4 values as a histogram\n```python\n\u003e\u003e\u003e from asciietch.graph import Grapher\n\u003e\u003e\u003e g = Grapher()\n\u003e\u003e\u003e values = [0, 1, 2, 3, 4]\n\u003e\u003e\u003e print(g.asciihist(values))\n▁▃▅▆█\n```\n### Graphing more values\n```python\n\u003e\u003e\u003e from asciietch.graph import Grapher\n\u003e\u003e\u003e g = Grapher()\n\u003e\u003e\u003e values = [0, 1, 2, 3, 4, 4, 3, 2, 1, 2, 2, 2]\n\u003e\u003e\u003e print(g.asciigraph(values))\n    --\n   /  \\\n  /    \\ ---\n /      -\n/\n\u003e\u003e\u003e print(g.asciihist(values))\n▁▃▅▆██▆▅▃▅▅▅\n```\n### Graphing a large set of values and adding labels\n```python\n\u003e\u003e\u003e import random\n\u003e\u003e\u003e from asciietch.graph import Grapher\n\u003e\u003e\u003e g = Grapher()\n\u003e\u003e\u003e values = []\n\u003e\u003e\u003e v = 0\n\u003e\u003e\u003e for i in range(1000):\n...     v = v + random.randint(-1, 1)\n...     values.append(v)\n\u003e\u003e\u003e print(g.asciigraph(values, max_height=10, max_width=100, label=True))\n```\n```\nUpper value: 147.6 *********************************************************************************\n                             -------- ---                                                           \n                        ----/        -   \\-      -                                                  \n                   ----/                   \\----/ \\--                                               \n                 -/                                  \\                                              \n----        ----/                                     \\------      -  ----                          \n    \\------/                                                 \\----/ \\/    \\-                        \n                                                                            \\--                     \n                                                                               \\-------             \n                                                                                       \\------      \n                                                                                              \\-   -\n                                                                                                \\-/ \nLower value: 85.3 ********************************************* Mean: 122.196 *** Std Dev: 16.20 ***\n```\n\n## Developing\n\n```sh\ngit clone git@github.com:linkedin/asciietch.git\ncd asciietch\npython3 setup.py venv\nsource activate\npython3 setup.py develop\n```\n\n## Testing\n\n```sh\npip3.6 install tox\ntox\n```\n\n## Contributing Code\nContributions are welcome, see [Contribution guidelines for this project](CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinkedin%2Fasciietch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinkedin%2Fasciietch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinkedin%2Fasciietch/lists"}