Skip to main content

A lexicon search tool for language teachers and students. Explore word patterns in any language.

Project description

lexgo

PyPI Changelog Tests License

A lexicon search tool for language teachers and students. Explore word patterns in any language.

The wordle logo from New York Times

Crack WORDLE in minutes using lexgo for hints. It's also great for cracking crossword puzzles. You can ask lexgo to find example words of specific lengths and with specific letters.

Installation

Install this tool using pip:

pip install lexgo

Python Package Index: https://pypi.org/project/lexgo/

Usage

For help, run:

lexgo --help

You can also use:

python -m lexgo --help

Development

To contribute to this tool, first checkout the code. Then create a new virtual environment:

cd lexgo
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

python -m pytest

Acknowledgements

The English lexicon used was taken from the english-words repo. Thanks to the esteemed programer @dwyl for his excelent work.

The Spanish lexicon used was taken from the diccionario-español.txt repo. Gracias al estimado programador @JorgeDuenasLerin por su trabajo excelente.

The French lexicon used was taken from the French-Dictionary repo. Merci au programmeur estimé @hbenbel pour son excellent travail.

The Portuguese lexicon used was taken from the words-pt repo. Obrigado ao estimado programador @jfoclpf por seu excelente trabalho.

The German lexicon used was taken from the wortliste repo. Vielen Dank an den geschätzten Programmierer @davidak für seine hervorragende Arbeit.

The python package chardet and the command line tool iconv were very helpful in detecting and converting encondings.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lexgo-1.1.tar.gz (9.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lexgo-1.1-py3-none-any.whl (8.8 MB view details)

Uploaded Python 3

File details

Details for the file lexgo-1.1.tar.gz.

File metadata

  • Download URL: lexgo-1.1.tar.gz
  • Upload date:
  • Size: 9.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for lexgo-1.1.tar.gz
Algorithm Hash digest
SHA256 167e1d67f5dcf0d2cd716b03e327b46da98f0cee33319c508a0af99a00aa9068
MD5 68cf97a8031400e40cd7f8ccc61cbadd
BLAKE2b-256 83d9285f0574231ea270e6e73ca16169cd19211abfc46d3eeff785fb4217c20c

See more details on using hashes here.

Provenance

The following attestation bundles were made for lexgo-1.1.tar.gz:

Publisher: publish.yml on joshkil/lexgo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lexgo-1.1-py3-none-any.whl.

File metadata

  • Download URL: lexgo-1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for lexgo-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 49d2e77d6aa7ffe0c336a1551cdae8efd512af27f7e31c5a9535efe82f7dce32
MD5 440db9432a84b1a96a0cc45b58dd83ab
BLAKE2b-256 6770b899c83d3d29e12726f45d1e052179048e1957d12dcaeeefee1124ea607e

See more details on using hashes here.

Provenance

The following attestation bundles were made for lexgo-1.1-py3-none-any.whl:

Publisher: publish.yml on joshkil/lexgo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page