{"id":24042341,"url":"https://github.com/rajtilak-2020/text-file-analysis","last_synced_at":"2025-10-08T15:48:30.900Z","repository":{"id":270544942,"uuid":"910707250","full_name":"rajtilak-2020/Text-File-Analysis","owner":"rajtilak-2020","description":"It is a Python script that processes text files to provide statistics such as line count, character count, word count, unique words, and special character count.","archived":false,"fork":false,"pushed_at":"2025-01-22T04:36:36.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T05:25:06.335Z","etag":null,"topics":["analysis","python","python-script","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rajtilak-2020.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-01T06:21:47.000Z","updated_at":"2025-01-22T04:36:39.000Z","dependencies_parsed_at":"2025-01-02T00:55:22.148Z","dependency_job_id":null,"html_url":"https://github.com/rajtilak-2020/Text-File-Analysis","commit_stats":null,"previous_names":["rajtilak-2020/text-file-analysis"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajtilak-2020%2FText-File-Analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajtilak-2020%2FText-File-Analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajtilak-2020%2FText-File-Analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rajtilak-2020%2FText-File-Analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rajtilak-2020","download_url":"https://codeload.github.com/rajtilak-2020/Text-File-Analysis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240816395,"owners_count":19862266,"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":["analysis","python","python-script","text-analysis"],"created_at":"2025-01-08T22:38:12.520Z","updated_at":"2025-10-08T15:48:25.865Z","avatar_url":"https://github.com/rajtilak-2020.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Text Analyzer 📝\n\n**Text Analyzer** is a Python script that processes text files to provide statistics such as line count, character count, word count, unique words, and special character count.\n\n---\n\n## 📜 Features\n\n- **Line Count** 📄: Calculates the total number of lines in the text file.\n- **Character Count** 🔤: Counts the total number of characters (excluding spaces and newlines).\n- **Word Statistics** ✍️: Provides the total and unique word count.\n- **Special Characters** ❗: Counts the occurrence of special characters like punctuation.\n\n---\n\n## 🔧 Usage\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/rajtilak-2020/Text-Analyzer.git\n   ```\n2. Navigate to the project directory:\n   ```bash\n   cd Text-Analyzer\n   ```\n3. Run the script with a text file as an argument:\n   ```bash\n   python text_analyzer.py \u003cfilename\u003e\n   ```\n   Example:\n   ```bash\n   python text_analyzer.py sample.txt\n   ```\n\n---\n\n## 📂 Output\n\nThe script outputs the following statistics in JSON format:\n\n- Total Lines\n- Total Characters\n- Total Words\n- Unique Words\n- Special Characters\n\nExample:\n```json\n{\n  \"total_lines\": 10,\n  \"total_characters\": 200,\n  \"total_words\": 45,\n  \"unique_words\": 30,\n  \"special_characters\": 15\n}\n```\n\n---\n\n## ✨ Contributing\n\nContributions are welcome! If you have ideas for improving this script, feel free to fork the repo and submit a pull request. 🚀\n\n---\n\n## 🌟 Connect with Me\n\n- **GitHub**: [@rajtilak-2020](https://github.com/rajtilak-2020)\n- **LinkedIn**: [Connect with me](https://linkedin.com/in/krajtilak2020)\n- **Twitter**: [Follow me](https://twitter.com/2020rajtilak)\n\n---\n\n## 📜 License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n---\n\n## 💖 Show Your Support\n\nIf you like this project, give it a ⭐ on [GitHub](https://github.com/rajtilak-2020/Text-Analyzer)! 😊\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajtilak-2020%2Ftext-file-analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frajtilak-2020%2Ftext-file-analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frajtilak-2020%2Ftext-file-analysis/lists"}