The hyphenation library of LibreOffice and FireFox wrapped for Python
PyHyphen is a wrapper around the high quality hyphenation library hyphen-2.4 (May 2008) that ships with OpenOffice.org and Mozilla products. Hence, all dictionaries compatible with OpenOffice can be used. PyHyphen also contains textwrap2, an enhanced though backwards-compatible version of the standard Python module textwrap. Not very surprisingly, textwrap2 can hyphenate words when wrapping them.
PyHyphen is a wrapper around the high quality hyphenation library hyphen-2.4 (May 2008) that ships with OpenOffice.org and Mozilla products. Hence, all dictionaries compatible with OpenOffice can be used. PyHyphen also contains textwrap2, an enhanced though backwards-compatible version of the standard Python module textwrap. Not very surprisingly, textwrap2 can hyphenate words when wrapping them.
To install py312-pyhyphen, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install py312-pyhyphen
To see what files were installed by py312-pyhyphen, run:
port contents py312-pyhyphen
To later upgrade py312-pyhyphen, run:
sudo port selfupdate && sudo port upgrade py312-pyhyphen
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.