{"id":13825287,"url":"https://github.com/nit-in/py-dictionary","last_synced_at":"2025-12-30T15:20:16.565Z","repository":{"id":52685030,"uuid":"289363531","full_name":"nit-in/py-dictionary","owner":"nit-in","description":"returns meaning, synonyms, antonyms for a word (scraping dictionary.com)","archived":true,"fork":false,"pushed_at":"2023-05-19T05:17:06.000Z","size":26,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-27T08:17:41.755Z","etag":null,"topics":["antonyms","dictionary","english","meaning","py-dictionary","python-library","python3","scrapy","synonyms"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nit-in.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":"2020-08-21T20:58:24.000Z","updated_at":"2023-11-22T04:03:49.000Z","dependencies_parsed_at":"2024-01-13T16:25:07.157Z","dependency_job_id":"c0d19d45-6426-414c-a444-47eba32fde34","html_url":"https://github.com/nit-in/py-dictionary","commit_stats":{"total_commits":29,"total_committers":2,"mean_commits":14.5,"dds":"0.24137931034482762","last_synced_commit":"bca8830eb9846df208f26f06cb447e173d8ded0d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nit-in/py-dictionary","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nit-in%2Fpy-dictionary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nit-in%2Fpy-dictionary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nit-in%2Fpy-dictionary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nit-in%2Fpy-dictionary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nit-in","download_url":"https://codeload.github.com/nit-in/py-dictionary/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nit-in%2Fpy-dictionary/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262299162,"owners_count":23289615,"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":["antonyms","dictionary","english","meaning","py-dictionary","python-library","python3","scrapy","synonyms"],"created_at":"2024-08-04T09:01:17.895Z","updated_at":"2025-12-14T14:35:24.051Z","avatar_url":"https://github.com/nit-in.png","language":"Python","readme":"# py-dictionary\nreturns meaning, synonyms, antonyms for a word (scraping dictionary.com)\nlimit the no of results\nalso get meaning, synonyms and antonyms in different color\n\nThis module uses requests, bs4 and string-color modules\nand scraps dictionary.com\n\n\n## How to use it\n\n## Install it\n```shell\npip install Py-Dictionary\n```\nto update it\n\n```shell\npip install Py-Dictionary --upgrade\n```\n\n## Use\n```shell\nfrom pydictionary import Dictionary\ndict = Dictionary(\"fix\")\n```\n\n### enter the word you want to search here e.g. I used the word \"fix\"\n\n\n### To get the result as list do following (you can use them in your programs)\n```shell\nmeanings_list = dict.meanings()\n\nsynonyms_list = dict.synonyms()\n\nantonyms_list = dict.antonyms()\n```\n### To print the results do following: \n```shell\ndict.print_meanings()\n\ndict.print_synonyms()\n\ndict.print_antonyms()\n```\n\nThis will print maximum 5 results with text having white color\n\nIf you want to increase  or decrease maximum results do this\n\n```shell\n\ndict = Dictionary(\"fix\",10)\n```\n\n### now maximum 10 results will be shown\n\n### To change the color of text\n```shell\ndict.print_meanings(\"red\")\n\ndict.print_synonyms(\"green\")\n\ndict.print_antonyms(\"blue\")\n```\n\n#To get more color look up [string-color](https://pypi.org/project/string-color/) module\nor type string-color in your terminal\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnit-in%2Fpy-dictionary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnit-in%2Fpy-dictionary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnit-in%2Fpy-dictionary/lists"}