{ "info": { "author": "Sven Nebel", "author_email": "nebel.sven@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Natural Language :: English", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: Implementation :: CPython" ], "description": "Word Ladder\n===========\n\nFind path from one word to another, changing one letter each step, and\neach intermediate word must be in the dictionary, the dictionary is a\ntext file with words separated by a line break like the one found in\n``/usr/share/dict/words``\n\nPrerequisites\n-------------\n\n- Python 3.4 and Linux\n- List of words separated by newlines\n- Virtual environment is recommended\n\nDocumentation\n-------------\n\n- http://word-ladder.readthedocs.io\n\nInstalling\n----------\n\nFrom PyPi\n~~~~~~~~~\n\n.. code:: bash\n\n $ pip install word-ladder\n\n\nManually\n~~~~~~~~\nClone the repository (Pypi package comming soon)\n\n.. code:: bash\n\n $ git clone git@github.com:snebel29/word_ladder.git\n $ cd word_ladder\n $ pip install .\n\nto install development dependencies as well\n\n.. code:: bash\n\n $ pip install -e .[dev]\n\nGetting started\n---------------\n\nThe word\\_ladder packges commes with both, a command line tool and a\nmodule that can be used to find word ladder paths\n\nCommand line tool\n~~~~~~~~~~~~~~~~~\n\nOnce installed you can use the command line interface\n\n.. code:: bash\n\n $ word_ladder -h\n\n\nPython module\n~~~~~~~~~~~~~\n\nYou can import and use the module directly as well\n\n.. code:: python\n\n >>> from word_ladder import WordLadder\n >>> wl = WordLadder('tests/word_lists/linux_english_words')\n >>> wl.find_path('fear', 'sail')\n ['fear', 'hear', 'heir', 'hair', 'hail', 'sail']\n >>> wl.find_path('Abe', 'sail')\n ['Abe', 'be', 'bed', 'bid', 'aid', 'said', 'sail']\n >>> wl.find_path('Am', 'sail')\n ['Am', 'am', 'aim', 'ail', 'sail']\n\nRunning the tests\n-----------------\n\nYou will have to use nose to run the tests\n\n.. code:: bash\n\n $ nosetests\n\nContributing\n------------\n\nClone development branch then create pull requests against it\n\n\nReferences\n----------\n\n- https://bradfieldcs.com/algos/graphs/word-ladder/", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/snebel29/word_ladder/archive/1.1.0.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/snebel29/word_ladder", "keywords": "word,ladder", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "word-ladder", "package_url": "https://pypi.org/project/word-ladder/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/word-ladder/", "project_urls": { "Download": "https://github.com/snebel29/word_ladder/archive/1.1.0.tar.gz", "Homepage": "https://github.com/snebel29/word_ladder" }, "release_url": "https://pypi.org/project/word-ladder/1.1.0/", "requires_dist": null, "requires_python": null, "summary": "Word ladder find path between two words, changing one letter each step", "version": "1.1.0" }, "last_serial": 2944653, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "67066e68465fa5d956f712d445c96fb3", "sha256": "26883b031f56b4d5caf93fb2de8adc1b38688749fe5a8a74797f840459db3c71" }, "downloads": -1, "filename": "word-ladder-1.0.0.tar.gz", "has_sig": false, "md5_digest": "67066e68465fa5d956f712d445c96fb3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4400, "upload_time": "2017-06-06T13:02:11", "url": "https://files.pythonhosted.org/packages/e5/52/e3e157982b2ce3ff3ab852c65b40817bcef897fb0b103f8e7d62e35d182d/word-ladder-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "a4db91c2f929e026338932eb102e4309", "sha256": "2373ecb9540719de3c7c8e6e73f91c21980b8700d4874d66d3564936545f18d4" }, "downloads": -1, "filename": "word-ladder-1.0.1.tar.gz", "has_sig": false, "md5_digest": "a4db91c2f929e026338932eb102e4309", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4492, "upload_time": "2017-06-06T15:04:34", "url": "https://files.pythonhosted.org/packages/56/7f/c4800a0a3f48f94a7943faeac4947e2419c89afd64cd1d50c419f746c90a/word-ladder-1.0.1.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "cdee0b2fcb39a121b472292f391544ab", "sha256": "6c025b7ac8f4b80578cdf675442226fd7be192f1ddf80e959fc8758fb8548d3a" }, "downloads": -1, "filename": "word-ladder-1.1.0.tar.gz", "has_sig": false, "md5_digest": "cdee0b2fcb39a121b472292f391544ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4957, "upload_time": "2017-06-12T16:27:38", "url": "https://files.pythonhosted.org/packages/49/04/f4655ad1ce25bb34743c7c441949d63459510dc6e842ff75872177c204af/word-ladder-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cdee0b2fcb39a121b472292f391544ab", "sha256": "6c025b7ac8f4b80578cdf675442226fd7be192f1ddf80e959fc8758fb8548d3a" }, "downloads": -1, "filename": "word-ladder-1.1.0.tar.gz", "has_sig": false, "md5_digest": "cdee0b2fcb39a121b472292f391544ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4957, "upload_time": "2017-06-12T16:27:38", "url": "https://files.pythonhosted.org/packages/49/04/f4655ad1ce25bb34743c7c441949d63459510dc6e842ff75872177c204af/word-ladder-1.1.0.tar.gz" } ] }