{"id":20618216,"url":"https://github.com/tddschn/textstat-cli-tddschn","last_synced_at":"2025-07-26T15:12:24.743Z","repository":{"id":239175483,"uuid":"798802925","full_name":"tddschn/textstat-cli-tddschn","owner":"tddschn","description":"Wrapper around textstat. Get quick and easy readability and other metrics for your texts right on the command line with textstat, offering more insights than `wc` and LLM token count.","archived":false,"fork":false,"pushed_at":"2024-05-10T14:31:12.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-17T17:23:24.615Z","etag":null,"topics":["command-line-tool","python","text-analysis","textstat"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/textstat-cli-tddschn/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tddschn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-05-10T14:00:30.000Z","updated_at":"2024-05-10T14:32:42.000Z","dependencies_parsed_at":"2024-05-10T14:41:45.912Z","dependency_job_id":null,"html_url":"https://github.com/tddschn/textstat-cli-tddschn","commit_stats":null,"previous_names":["tddschn/textstat-cli-tddschn"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tddschn/textstat-cli-tddschn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Ftextstat-cli-tddschn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Ftextstat-cli-tddschn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Ftextstat-cli-tddschn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Ftextstat-cli-tddschn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tddschn","download_url":"https://codeload.github.com/tddschn/textstat-cli-tddschn/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Ftextstat-cli-tddschn/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266991083,"owners_count":24017736,"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-07-25T02:00:09.625Z","response_time":70,"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":["command-line-tool","python","text-analysis","textstat"],"created_at":"2024-11-16T12:07:36.568Z","updated_at":"2025-07-26T15:12:24.719Z","avatar_url":"https://github.com/tddschn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# textstat-cli-tddschn\n\n- [textstat-cli-tddschn](#textstat-cli-tddschn)\n  - [Motivation](#motivation)\n  - [Demo](#demo)\n  - [Features](#features)\n  - [Installation](#installation)\n    - [pipx](#pipx)\n    - [pip](#pip)\n  - [Usage](#usage)\n  - [Develop](#develop)\n\n\n## Motivation\n\nGet quick and easy readability and other metrics for your texts right on the command line with [`textstat`](https://github.com/textstat/textstat), offering more insights than `wc` and LLM token count.\n\nThere's another project on PyPI `textstat-cli` made by another person, I tried that one before making this. Sadly that one doesn't run on my machine, so I made this one.\n\n## Demo\n\n```plain\n# Using the tool on my latest blog post at https://teddysc.me/blog/raleigh-menswear-stores-review\n\n$ textstat-cli teddysc.me/data/blog/raleigh-menswear-stores-review.mdx\n\nMetric                        Value\n----------------------------  ------------------\nflesch_reading_ease           67.65\nflesch_kincaid_grade          6.8\nsmog_index                    8.7\ncoleman_liau_index            13.38\nautomated_readability_index   13.7\ndale_chall_readability_score  8.12\ndifficult_words               111\nlinsear_write_formula         4.7272727272727275\ngunning_fog                   6.1\ntext_standard                 8th and 9th grade\nfernandez_huerta              104.5\nszigriszt_pazos               102.97\ngutierrez_polini              38.19\ncrawford                      2.1\ngulpease_index                52.1\nosman                         35.41\nspache_readability            3.66\nmcalpine_eflaw                16.4\nreading_time                  77.86\nsyllable_count                1264\nlexicon_count                 858\nsentence_count                71\nchar_count                    5300\nletter_count                  4669\n\nExplanation of the metircs can be found at https://github.com/textstat/textstat\n\nPlease note that some of these metrics are not meant for English texts.\n```\n\n## Features\n\n- Lots of metrics, see demo above.\n- 3 output formats, table by tabulate (see demo), plain text, or JSON.\n\n## Installation\n\nRequires Python\u003e=3.10, \u003c3.12 (`textstat` requires pkg_resources, which is not available in Python 3.12).\n\n### pipx\n\nThis is the recommended installation method.\n\n```\n$ pipx install textstat-cli-tddschn\n```\n\n### [pip](https://pypi.org/project/textstat-cli-tddschn/)\n\n```\n$ pip install textstat-cli-tddschn\n```\n\n## Usage\n\n```plain\n$ textstat-cli --help\n\nusage: textstat-cli [-h] [-j] [-T] FILE\n\nTextStat (https://github.com/textstat/textstat) CLI\n\npositional arguments:\n  FILE               Input file\n\noptions:\n  -h, --help         show this help message and exit\n  -j, --json         Output in JSON format (default: False)\n  -T, --no-tabulate  Do not output in tabulated format (default: False)\n```\n\n## Develop\n\n```\n$ git clone https://github.com/tddschn/textstat-cli-tddschn.git\n$ cd textstat-cli-tddschn\n$ poetry install\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftddschn%2Ftextstat-cli-tddschn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftddschn%2Ftextstat-cli-tddschn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftddschn%2Ftextstat-cli-tddschn/lists"}