{"id":25176474,"url":"https://github.com/wesfly/frequency-analyzer","last_synced_at":"2025-04-04T01:41:09.658Z","repository":{"id":275609795,"uuid":"926602185","full_name":"wesfly/frequency-analyzer","owner":"wesfly","description":"Text analyser","archived":false,"fork":false,"pushed_at":"2025-02-10T19:45:39.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T20:24:37.011Z","etag":null,"topics":["cryptography","frequency-analysis","frequency-analyzer","text","text-analysis"],"latest_commit_sha":null,"homepage":"","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/wesfly.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":"2025-02-03T14:49:32.000Z","updated_at":"2025-02-10T19:45:42.000Z","dependencies_parsed_at":"2025-02-03T16:32:01.648Z","dependency_job_id":null,"html_url":"https://github.com/wesfly/frequency-analyzer","commit_stats":null,"previous_names":["wesfly/frequency-analyzer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesfly%2Ffrequency-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesfly%2Ffrequency-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesfly%2Ffrequency-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wesfly%2Ffrequency-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wesfly","download_url":"https://codeload.github.com/wesfly/frequency-analyzer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247107820,"owners_count":20884795,"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":["cryptography","frequency-analysis","frequency-analyzer","text","text-analysis"],"created_at":"2025-02-09T13:17:16.656Z","updated_at":"2025-04-04T01:41:09.652Z","avatar_url":"https://github.com/wesfly.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frequency Analyzer\n\n### How to run\n\n```bash\ngit clone https://github.com/wesfly/frequency-analyzer\ncd frequency-analyzer\n```\nTo use this script, simply save it as a Python file (e.g., `frequency_counter.py`) and run it:\n```bash\npython3 frequency_counter.py\n```\n\nThis Python script counts the frequency of each letter in a given string and displays the results in a dictionary format. Here's how it works:\n\n1. **Input**: The user is prompted to enter a string of text.\n2. **Alphabet Initialization**: A list containing all lowercase English letters (a-z) is defined.\n3. **Counting Occurrences**: For each letter in the alphabet, the script counts how many times it appears in the input string and stores these counts in a list.\n4. **Other Statistics**: The program calculates other useful statistics such as average sentence length.\n5. **Results Display**: The script prints the total length of the input string and converts the counts into a dictionary where keys are letters (a-z) and values are their respective counts.\n\n### Features:\n- The script handles both lowercase and uppercase letters by default (though it only counts lowercase).\n- Non-letter characters are treated as separate entities with their own counts.\n- The script does not modify the input string or change case.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesfly%2Ffrequency-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwesfly%2Ffrequency-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwesfly%2Ffrequency-analyzer/lists"}