{"id":21212,"library":"english-words","title":"english-words-py","description":"A Python library to generate sets of English words by combining different word lists. Version 2.0.2 provides access to common, small, and large word sets; simple API with get_words_set().","status":"active","version":"2.0.2","language":"python","source_language":"en","source_url":"https://github.com/mwiens91/english-words-py","tags":["english","words","wordlist","nlp"],"install":[{"cmd":"pip install english-words","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Used internally for package data; should be available in standard environments.","package":"setuptools"}],"imports":[{"wrong":"from english_words import get_words_set","symbol":"get_english_words_set","correct":"from english_words import get_english_words_set"}],"quickstart":{"code":"from english_words import get_words_set\n\n# Get the default (common English words) set\nwords = get_words_set()\nprint(len(words))  # e.g., 2000\n\n# Get a specific word list\nsmall = get_words_set(word_set='small')\nprint(list(small)[:5])\n\n# Available sets: 'common' (default), 'small', 'large'","lang":"python","description":"Quickly retrieve word sets."},"warnings":[{"fix":"Change imports to use `from english_words import get_words_set` and call the function.","message":"In version 2.0.0, the old `english_words` module (importing a set directly) was replaced with a function-based API. Direct import of `english_words.english_words` or similar patterns no longer works.","severity":"breaking","affected_versions":"<2.0.0"},{"fix":"Use one of the official word_set names: 'common', 'small', 'large'.","message":"Passing `word_set='en'` or other non-standard names may not work; only 'common', 'small', 'large' are officially supported.","severity":"deprecated","affected_versions":"all"},{"fix":"Wrap with list() if you need sequential access: `list(get_words_set())`.","message":"The returned object is a frozenset, not a list. Converting to list is required for index access or mutation.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'2.0.2':20 'access':22 'api':31 'combin':15 'common':24 'differ':16 'english':2,12,36 'english-words-pi':1 'generat':9 'get':33 'larg':27 'librari':7 'list':18 'nlp':39 'provid':21 'py':4 'python':6 'set':10,29,35 'simpl':30 'small':25 'version':19 'word':3,13,17,28,34,37 'wordlist':38","created_at":"2026-04-27T16:58:40.156247+00:00","updated_at":"2026-04-27T16:58:40.156247+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"2.0.2","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/mwiens91/english-words-py","docs":null,"changelog":null,"pypi":"https://pypi.org/project/english-words/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["data"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-30","last_verified":"2026-06-30","next_check":"2026-07-30","install_tag":null}}