Package: word-search-generator
Word-Search-GeneratorWord-Search-Generator is a Python module for generating funWord Search Puzzles.🤦‍♂️ Does the world need this? Probably not.⏰ Did I spend way too much time on it? Yep!✅ Does it come in handy? Heck yeah!👍 Did I have fun making it? Absofreakinglutly!InstallationInstall Word-Search-Generator withpip:$ pip install word-search-generatorUsageJust import the WordSearch class from the package, supply it with a list of words and you're set. 🧩>>>fromword_search_generatorimportWordSearch>>>puzzle=WordSearch("dog, cat, pig, horse, donkey, turtle, goat, sheep")OptionsIf you dig deep enough, you'll notice this package is completely overkill... There are numerous options and lots of possibilities. You can learn more by viewing the source code or checking out the projectWiki.👀 Wanna see it?>>>puzzle.show()# or print(puzzle)---------------------------WORD SEARCH---------------------------A G W K F B P V C U F U H RB O I E U H W M I V P D K EH N G S B P S J L N E Y X CI J H V E G Y A X S T K J QF V Q E H F V E R B V A X KU E H L A N I O K D J L T AK S V P S C H C L O G D R FZ F K I D N J D V N O P N DC D N G T Y C N U K A I Q WS O E Q V D B P I E T S M YX N T U R T L E G Y R K E KT S I P I C T O R N S H O UH U Q X M A D I G K T V C EN T N I C I Q W M Q C I H PFind these words: CAT, DOG, DONKEY, GOAT, HORSE, PIG, SHEEP, TURTLE* Words can go E, SE, NE, and, S.Answer Key: CAT NE @ (5, 14), DOG NE @ (7, 13), DONKEY S @ (10, 6), GOAT S @ (11, 7), HORSE NE @ (7, 7), PIG S @ (4, 7), SHEEP NE @ (2, 7), TURTLE E @ (3, 11)ℹ️ The answer key uses 1-based indexing and a familiar (x, y) coordinate system. Directions are cardinal from first letter to last. * Please note that all key values inside of the api are 0-based.🍰 Too easy? Up the difficulty level.>>>puzzle.level=3>>>puzzle.show()---------------------------WORD SEARCH---------------------------A G W K F B P V C U F U H RB O I E U H W M I V P D K EH N G S B P S J L N E Y X CI J H V E G Y A X S T K J QF V Q E H F V E R B V A X KU E H L A N I O K D J L T AK S V P S C H C L O G D R FZ F K I D N J D V N O P N DC D N G T Y C N U K A I Q WS O E Q V D B P I E T S M YX N T U R T L E G Y R K E KT S I P I C T O R N S H O UH U Q X M A D I G K T V C EN T N I C I Q W M Q C I H PFind these words: CAT, DOG, DONKEY, GOAT, HORSE, PIG, SHEEP, TURTLE* Words can go SE, E, N, W, SW, NE, S, and, NW.Answer Key: CAT NE @ (5, 14), DOG NE @ (7, 13), DONKEY S @ (10, 6), GOAT S @ (11, 7), HORSE NE @ (7, 7), PIG S @ (4, 7), SHEEP NE @ (2, 7), TURTLE E @ (3, 11)🎛 Want a custom level?Specify custom cardinal directions for your puzzle words (e.g. N, NE, E, SE, S, SW, W, NW).>>>puzzle.directions="NW,SW">>>puzzle.show()---------------------------WORD SEARCH---------------------------M L N C W X Q S V M G I A FD J A T F O H J E Q R D C UC T U L G E A G A Z O Z G RO M O A E H Y M D G P O I BW H Z P O Q F O I Q A B Y PK J O R G C N M F T Z N T LW Z S Q J K E D Q V Y U R WF E C D E X N P L D R I L KG K I Y F Z J S J T M P E VZ M G P V N W G L C F H F WS Q O E L F A E I H E Q X TV I V P H X D Q Z P T M P OF A D G O R L F Y J B X K EH G M S Z B D M W M R L H NFind these words: CAT, DOG, DONKEY, GOAT, HORSE, PIG, SHEEP, TURTLE* Words can go SW, and, NW.Answer Key: CAT SW @ (4, 1), DOG SW @ (12, 2), DONKEY SW @ (9, 4), GOAT SW @ (13, 3), HORSE SW @ (6, 4), PIG NW @ (10, 12), SHEEP SW @ (8, 1), TURTLE SW @ (13, 6)😱 Still too easy? Go expert mode.>>>fromword_search_generatorimportWordSearch>>>puzzle=WordSearch(level=3)>>>puzzle.random_words(10,secret=True,reset_size=True)😓 Too hard? Go the easy route withpuzzle.level = 1orpuzzle.directions = "E".🎭 How about adding a mask (docs)? ...Fancy!>>>fromword_search_generator.mask.shapesimportHeart>>>puzzle.apply_mask(Heart())>>>puzzle.show()-------------------------WORD SEARCH-------------------------C L C       C Y EQ S T N S   T E L D KZ L O Z T P A K T H N M WC C L Q C O N R S P Z V UM I X V G O U R H S Z C HM H K D T T L E C U QH C T H O R S E B MZ I S W R B P E GY P I G B X QC A T N GA R W OK D QAFind these words: CAT, DOG, DONKEY, GOAT, HORSE, PIG, SHEEP, TURTLE* Words can go S, NE, E, and, SE.Answer Key: CAT E @ (5, 10), DOG NE @ (7, 12), DONKEY NE @ (5, 6), GOAT NE @ (5, 5), HORSE E @ (5, 7), PIG E @ (5, 9), SHEEP S @ (9, 4), TURTLE NE @ (6, 6)💾 Save your AWESOME puzzle as a PDF.>>>puzzle.save(path="~/Desktop/puzzle.pdf")>>>"~/Desktop/puzzle.pdf"🖥 CLI IntegrationYou can play WordSearch in your CLI too (docs)! WordSearch Generator installs the console entry-pointword-searchso you can interact with the package right in your console.$word-search-r10-s15-l3-----------------------------WORDSEARCH
-----------------------------
JWXOXNAQCAQZDRG
FBDMYSELFZFNAKF
GKNEQHDOPXYTIGZ
VFCFTYFZSUENDYJ
WAXPCKLBTBDIXTC
YRCJYPGRMLRVCOE
DKHZCVYIZQHBIPX
WUJDOSHNMTSOAUQ
LKCEMLVGSLFHFRZ
AFLYAJKNFZAZTPD
EKPEZPRMBPWCEOM
DNJGYEFTHESERSJ
BXZPDBABYTCWJEF
EGLOFXEXPUPOVNA
MIMJYSFNCHCFRPK

Findthesewords:AFTER,BABY,BRING,DEAL,KIND,MODERN,MYSELF,PURPOSE,RATE,THESE
*WordscangoN,S,SW,W,E,NW,NE,and,SE.

AnswerKey:AFTERS@(13,8),BABYE@(6,13),BRINGS@(8,5),DEALN@(1,12),KINDSW@(14,2),MODERNNE@(3,15),MYSELFE@(4,2),PURPOSES@(14,7),RATESW@(14,1),THESEE@(8,12)📔 DocumentationIf you need more info, most of the fun parts of Word-Search-Generator are documented on Github in theProject Wiki.Happy WordSearching ✌️