Pyhyphen

Latest version: v4.0.4

Safety actively analyzes 663899 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

2.0.2

=============

* minor bugfixes and refactorings

2.0.1

=============

* updated URL for LibreOffice's dictionaries
* no longer attempt to hyphenate uppercased words such as 'LONDON'. This
feature had to be dropped to work around a likely bug in the C extension which,
under Python 3.3, caused
the hyphenator to return words starting with a capital letter as lowercase.

2.0

===========

The hyphen.dictools module has been completely rewritten. This was required
by the switch from OpenOffice to LibreOffice which does no longer support the
old formats for dictionaries and meta data. these changes made it impossible to release a stable v1.0.
The new dictionary management is more
flexible and powerful. There is now a registry for locally installed hyphenation dictionaries. Each dictionary
can have its own file path. It is thus possible to add persistent metadata on pre-existing hyphenation
dictionaries, e.g. from a LibreOffice installation.
Each dictionary and hence Hyphenator can now be
associated with multiple locales such as for 'en_US' and 'en_NZ'. These changes cause some backwards-incompatible API changes.
Further changes are:

* Hyphenator.info is of a container type for 'url', 'locales' and 'filepath' of the dictionary.
* the Hyphenator.language attribute deprecated in v1.0 has been removed
* download and install dictionaries from LibreOffice's git repository by default
* dictools.install('xx_YY') will install all dictionaries found for the 'xx' language and associate them with all relevant locales
as described in the dictionaries.xcu file in LibreOffice's git repository.
* upgraded the `C library libhyphen <http://sourceforge.net/projects/hunspell/files/Hyphen/>`_
to v2.8.3
* use lib2to3 instead of separate code bases
* dropped support for Python 2.4 and 2.5
* support Python 3.3

1.0

===========

* Upgraded the `C library libhyphen <http://sourceforge.net/projects/hunspell/files/Hyphen/>`_
to v2.7 which brings significant improvements, most notably correct treatment of
already hyphenated words such as 'Python-powered'
* use a CSV file from the oo website with meta information
on dictionaries for installation of dictionaries and
instantiation of hyphenators. Apps can access the metadata
on all downloadable dicts through the new module-level attribute hyphen.dict_info or for each hyphenator
through the 'info' attribute,
* Hyphenator objects have a 'info' attribute which is
a Python dictionary with meta information on
the hyphenation dictionary. The 'language' attribute
is deprecated. *Note:* These new features add
complexity to the installation process as the metadata and dictionary files
are downloaded at install time. These features have to be tested
in various environments before declaring the package stable.
* Streamlined the installation process
* The en_US hyphenation dictionary
has been removed from the package. Instead, the dictionaries for en_US and the local language are automatically
downloaded at install time.
* restructured the package and merged 2.x and 3.x setup files
* switch from svn to hg
* added win32 binary of the C extension module for Python32, currently no binaries for Python 2.4 and 2.5

0.10

============

* added win32 binary for Python 2.7
* renamed 'hyphenator' class to to more conventional 'Hyphenator'. 'hyphenator' is deprecated.

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.