{"id":29050809,"url":"https://github.com/blackcoder56/word_counter","last_synced_at":"2025-06-26T21:39:28.919Z","repository":{"id":288097816,"uuid":"966822198","full_name":"BlackCoder56/word_counter","owner":"BlackCoder56","description":"In python3","archived":false,"fork":false,"pushed_at":"2025-04-15T14:28:04.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T15:29:48.844Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BlackCoder56.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,"zenodo":null}},"created_at":"2025-04-15T14:01:44.000Z","updated_at":"2025-04-15T14:30:08.000Z","dependencies_parsed_at":"2025-04-15T15:30:30.251Z","dependency_job_id":"a0879ba8-67e1-4cbb-b79d-86ee1529887c","html_url":"https://github.com/BlackCoder56/word_counter","commit_stats":null,"previous_names":["blackcoder56/word_counter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BlackCoder56/word_counter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackCoder56%2Fword_counter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackCoder56%2Fword_counter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackCoder56%2Fword_counter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackCoder56%2Fword_counter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlackCoder56","download_url":"https://codeload.github.com/BlackCoder56/word_counter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlackCoder56%2Fword_counter/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262145792,"owners_count":23265986,"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":[],"created_at":"2025-06-26T21:39:25.723Z","updated_at":"2025-06-26T21:39:28.907Z","avatar_url":"https://github.com/BlackCoder56.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 📝 Word Counter Script\n\nThis is a simple Python script that counts the number of words in a given text file.\n\n## 📌 Features\n\nPrompts the user to enter a file name.\n\nChecks if the file exists before reading.\n\nReads the file content and counts the total number of words.\n\nHandles missing files gracefully without crashing.\n\n## 🛠️ Requirements\n\nPython 3.x\n\n## 🚀 How to Use\n\nSave the script as word_counter.py.\n\nRun the script:\n\n```bash\npython3 word_counter.py\n```\n\n***Enter the name of the file you want to analyze (make sure it's in the same directory or provide the full path).***\n\nThe script will display the number of words in the file.\n\n## 📂 Example\n\n```bash\nEnter file name: sample.txt\n```\n\n**Output**\n\nThere are 120 words in sample.txt file.\n\n## ⚠️ Notes\n\nIf the file does not exist, the script will print:\n\n**Output**\n\nFile doesnot exist\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackcoder56%2Fword_counter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblackcoder56%2Fword_counter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblackcoder56%2Fword_counter/lists"}