{"id":16648515,"url":"https://github.com/w2sv/asciiplot","last_synced_at":"2025-03-23T14:31:26.192Z","repository":{"id":54773942,"uuid":"350748472","full_name":"w2sv/asciiplot","owner":"w2sv","description":"Python package allowing for platform-agnostic, highly customizable sequence plotting in the console.","archived":false,"fork":false,"pushed_at":"2023-02-22T20:25:39.000Z","size":930,"stargazers_count":14,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T22:45:33.866Z","etag":null,"topics":["asciiized-sequences","chart","charts","console","data-visualization","gui","plot","python","pythonmodule","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/w2sv.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}},"created_at":"2021-03-23T14:44:35.000Z","updated_at":"2025-01-08T03:41:37.000Z","dependencies_parsed_at":"2024-01-12T20:52:00.200Z","dependency_job_id":"14122f27-dacc-42d0-b72c-1249192308ff","html_url":"https://github.com/w2sv/asciiplot","commit_stats":{"total_commits":126,"total_committers":2,"mean_commits":63.0,"dds":"0.11904761904761907","last_synced_commit":"82136ceb4b8d8ec2c5ee956b657f050078f6bc90"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w2sv%2Fasciiplot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w2sv%2Fasciiplot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w2sv%2Fasciiplot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/w2sv%2Fasciiplot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/w2sv","download_url":"https://codeload.github.com/w2sv/asciiplot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245115837,"owners_count":20563247,"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":["asciiized-sequences","chart","charts","console","data-visualization","gui","plot","python","pythonmodule","terminal"],"created_at":"2024-10-12T09:04:36.423Z","updated_at":"2025-03-23T14:31:24.832Z","avatar_url":"https://github.com/w2sv.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# __asciiplot__\n\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/asciiplot)\n[![Build](https://github.com/w2sv/asciiplot/actions/workflows/workflow.yaml/badge.svg)](https://github.com/w2sv/asciiplot/actions/workflows/workflow.yaml)\n[![codecov](https://codecov.io/gh/w2sv/asciiplot/branch/master/graph/badge.svg?token=69Q1VL8IHI)](https://codecov.io/gh/w2sv/asciiplot)\n[![PyPI](https://img.shields.io/pypi/v/asciiplot)](https://pypi.org/project/asciiplot)\n![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/w2sv/asciiplot)\n[![Downloads](https://pepy.tech/badge/asciiplot)](https://pepy.tech/project/asciiplot)\n[![GitHub](https://img.shields.io/github/license/w2sv/asciiplot?)](https://github.com/w2sv/asciiplot/blob/master/LICENSE)\n\n__Platform-agnostic, highly customizable sequence plotting in the console__\n\n![alt text](https://github.com/w2sv/asciiplot/blob/master/assets/sin\u0026cos.png?raw=true)\n\n## Installation\n```shell\npip install asciiplot\n```\n\n## Plot Appearance Configuration Options\n\nYou may set the/a\n- chart height \u0026 title\n- color of virtually all chart components, picked from a wide array of shades due to the integration of [colored](https://pypi.org/project/colored/)\n- margin between consecutive data points\n- tick point color, to make the tick points visually stand out in case of a margin having been set \n- indentation of the entire chart, or whether it ought to be centered within its hosting terminal, respectively\n- axes descriptions\n- x-axis tick labels, which may be composed of strings instead of just numeric values\n- y-axis tick label decimal places; the labels themselves will be computed auomatically from the passed sequences\n\n## Usage Examples\n\n```python\nfrom asciiplot import asciiize, Color\n\n\nprint(\n    asciiize(\n        [0, 1, 1, 2, 3, 5, 8, 13, 21],\n        sequence_colors=[Color.BLUE_3B],\n        height=22,\n        inter_points_margin=5,\n        background_color=Color.LIGHT_SALMON_1,\n        tick_point_color=Color.RED_1,\n        label_color=Color.BLUE_VIOLET,\n        label_background_color=Color.DEEP_PINK_3A,\n        title='Fibonacci',\n        title_color=Color.RED_1,\n        x_axis_description='x',\n        y_axis_description='y',\n        center_horizontally=True\n    )\n)\n```\n![alt text](https://github.com/w2sv/asciiplot/blob/master/assets/fibonacci.png?raw=true)\n\n```python\nfrom asciiplot import asciiize, Color\n\n\nprint(\n    asciiize(\n        [17, 21, 19, 19, 5, 7, 12, 4],\n        [7, 8, 3, 17, 19, 18, 5, 2, 20],\n        sequence_colors=[Color.RED, Color.BLUE_VIOLET],\n        inter_points_margin=5,\n        height=20,\n        background_color=Color.GREY_7,\n        title='Random Sequences',\n        title_color=Color.MEDIUM_PURPLE,\n        label_color=Color.MEDIUM_PURPLE,\n        x_axis_description='x',\n        y_axis_description='y',\n        center_horizontally=True\n    )\n)\n```\n![alt text](https://github.com/w2sv/asciiplot/blob/master/assets/random.png?raw=true)\n\n## Credits\nThe core sequence asciiization algorithm was adopted from [asciichartpy](https://github.com/kroitor/asciichart/blob/master/asciichartpy/).\n\n## Run Tests\n\n```shell\ngit clone https://github.com/w2sv/asciiplot.git\ncd asciiplot\npoetry install\nmake test  # runs mypy, pytest, doctest and outputs test coverage\n```\n\n## License\n[MIT](https://github.com/w2sv/asciiplot/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw2sv%2Fasciiplot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fw2sv%2Fasciiplot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fw2sv%2Fasciiplot/lists"}