Python Library

Install the library with PIP.

$ pip install https://whatfreewords.org/download/whatfreewords-py.tar.gz

Or download whatfreewords-py.tar.gz.

It requires Python 3.

Usage

from whatfreewords import WhatFreeWords
wfw = WhatFreeWords()
wfw.latlon2words(37.234332, -115.806657) # == "joyful.nail.harmonica"
wfw.words2latlon("joyful.nail.harmonica") # == [37.234328, -115.806657]

Development

Download whatfreewords-py.tar.gz and extract it.

The algorithm is all in whatfreewords/whatfreewords.py.

The library is published under the Creative Commons CC0 license.

Acknowledgment

Thanks to an anonymous contributor for providing the Python library.