Python-based package that allows you to solve any N x M Boggle board.
Project description
Pyggle
GitHub: https://github.com/andrearcaina/pyggle
PyPi: https://pypi.org/project/pyggle/
Find all possible words given a board and words, with a visual representation of the algorithm!
Check lib/docs for package details. For an example on how to use pyggle, check lib/examples/example.py!
Installation
pip install pyggle
Usage
from pyggle import Boggle
# this is only 3000 words, but the web demo will all utilize 380k words
with open('sample_data.txt', 'r') as file:
words = [line.strip() for line in file]
boggle = Boggle(board, words)
# print full dictionary
print(boggle.solver())
# print only words
print(boggle.get_words())
# print only coords
print(boggle.get_coords())
# print word: coord format
boggle.print_result()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyggle-0.0.2.tar.gz.
File metadata
- Download URL: pyggle-0.0.2.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2bfa37c7a8a28413aa42d1fffdd872bd75c4c8ef9ee98ada4518bce3aa6379a
|
|
| MD5 |
959f043a2f800a96a5b47e6275469f89
|
|
| BLAKE2b-256 |
d03a8ddeb3562d7618b4c3b5962ff7827b272022a91d46f8aa6588adc488f7a8
|
File details
Details for the file pyggle-0.0.2-py3-none-any.whl.
File metadata
- Download URL: pyggle-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd200d0ff5a309c465549953e4b28140f3d103168f8d8410162df4e5d13435a5
|
|
| MD5 |
3c480bdfb6c56769a252ca201016e5d8
|
|
| BLAKE2b-256 |
8c38441504efa640752a1c9f09f645cb5b4e364944e564e271ffbfc8e24ff6c4
|