Skip to main content

made-with-python GitHub license boggle_test Actions Status

GitHub: github.com/euanacampbell/boggle_solver

PyPi: pypi.org/project/boggle-solver

Installation

pip3 install boggle-solver

Import

from boggle_solver import *

Usage

Create a 2-dimensional array and pass this into the package.

from boggle_solver import *

grid = [
        ['M','A','P'],
        ['E','T','E'],
        ['D','E','N'],
       ]

boggle=Grid(grid)

To confirm this worked, the below function can be used.

boggle.print_grid()

['M', 'A', 'P']
['E', 'T', 'E']
['D', 'E', 'N']

Now search for all words. This will take ~20 seconds for a 3x3 grid.

words = boggle.find_all_words()

print(words[:10])

['MEAT', 'MET', 'METED', 'MEET', 'MAT', 'MATE', 'MATED', 'MAP', 'EDEN', 'EAT']

Metadata

Release files for boggle-solver 1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for boggle-solver 1.1
File Size Uploaded Provenance Actions
boggle_solver-1.1.tar.gz 167.0 kB Without provenance Details for boggle_solver-1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for boggle-solver 1.1
File Interpreter ABI Platform Actions
boggle_solver-1.1-py3-none-any.whl Python 3 none any Details for boggle_solver-1.1-py3-none-any.whl

Total release size: 332.5 kB

Release files / boggle_solver-1.1.tar.gz

Download URL boggle_solver-1.1.tar.gz
Size 167.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2a6d2e3953e134da507c49cf770199a7b92e96a54a06cdf28b1e072da4f4c3a3
BLAKE2b-256 checksum
How to use checksums
a7f6b160201292e21842e4a961af75137a4f63ca28c817cc756cebe19b0639b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Release files / boggle_solver-1.1-py3-none-any.whl

Download URL boggle_solver-1.1-py3-none-any.whl
Size 165.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
588d5448710fd273d08902b7316e5edfa537b571dfd11d238d6f68df2bac95ad
BLAKE2b-256 checksum
How to use checksums
09e1c947e20fbd714d33a9a46bcebc16b9c78ae765a6c549b9a0a888710ca3db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Security for boggle-solver 1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page