# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= python-polib VERSION= 1.2.0 KEYWORDS= python VARIANTS= v11 v12 SDESC[v11]= Library to manipulate gettext files (3.11) SDESC[v12]= Library to manipulate gettext files (3.12) HOMEPAGE= https://github.com/izimobil/polib/ CONTACT= Python_Automaton[python@ironwolf.systems] DOWNLOAD_GROUPS= main SITES[main]= PYPIWHL/6b/99/45bb1f9926efe370c6dbe324741c749658e44cb060124f28dad201202274 DISTFILE[1]= polib-1.2.0-py2.py3-none-any.whl:main DF_INDEX= 1 SPKGS[v11]= single SPKGS[v12]= single OPTIONS_AVAILABLE= PY311 PY312 OPTIONS_STANDARD= none VOPTS[v11]= PY311=ON PY312=OFF VOPTS[v12]= PY311=OFF PY312=ON DISTNAME= polib-1.2.0.dist-info GENERATED= yes [PY311].USES_ON= python:v11,wheel [PY312].USES_ON= python:v12,wheel [FILE:3419:descriptions/desc.single] ===== polib ===== |pypi-version| |pypi-stats| |build-status-image| |codecov-image| |documentation-status-image| |py-versions| Overview -------- polib is a library to manipulate, create, modify gettext files (pot, po and mo files). You can load existing files, iterate through it's entries, add, modify entries, comments or metadata, etc :alt: Travis build :alt: Pypi version :alt: Pypi downloads :alt: Documentation Status :alt: Python versions ========= Changelog ========= Version 1.2.0 (2023/02/23) -------------------------- - Added setter for the fuzzy property - Escape/unescape \v, \b and \f - Added path to error message processing parser symbols - Ensure empty previous values for msgid and msgstr are properly saved - Fixed relative ordering of comments and translator comments - Do not count obsolete entries in fuzzy() method - Close files properly - Fixed support for loading mo files from bytes object - Fixed msgstr_plural comparison - Simplified python version check - Updated docs Version 1.1.1 (2021/03/26) -------------------------- - Strip UTF-16 BOM (U+FEFF) from start of file - Message context (msgctxt) support for MO files - Dropped Python < 2.7 support - Updated docs and README after switch from Bitbucket to Github Version 1.1.0 (2017/11/27) -------------------------- - Fixed entries sorting when generating mo file (Fixes #78) - Fixed find method (Fixes #84) - Refactored POEntry.__cmp__ method (this should fix issues #60, #65 and #79) - Fixed duplicated entries when merging po file with pot file (fixes #68) - Fixed "None" string being outputted when polib deals with syntax error in string (Fixes issue #66) - Added a fuzzy property to entries (Fixes #76) - Take into account the message context when comparing entries - Leave occurence untouched if line number is not a number (fixes #80 and #90) - Fixed test for mo files that was failing because since gettext version 0.19.8.1, msgfmt skips the "POT-Creation-Date" metadata entry (Fixes #86) - Fixed major revision number comparison - Dropped python 2.4 support Version 1.0.8 (2016/11/21) -------------------------- - Fixed issue #70 (occurrences parsing for windows pathes) - Fixed issue #71 (tcomment and flags not saved for obsolete entries) - Fixed issue #72 (wrong metadata ordering) - Fixed issue #73 (can't always unpickle POFile) - Use natural sorting for additional headers (metadata) - Fixed typos in various documents Version 1.0.7 (2015/07/08) -------------------------- - Fixed bad parsing of indented msgstr_plural - Fixed ordering of "Language" metadata entry - Removed space after "#" in header if comment line is empty (like gettext tools) - Fixed typos / grammar errors (thanks Jakub Wilk) - Take into account msgid_plural if needed when comparing entries (thanks Leonardo Constantino Oliveira) - Fixed issue #63 (str() on a bytes instance when using python3) (thanks Jakub Wilk) Version 1.0.6 (2015/01/04) -------------------------- - Wheel support - Add missing 'Language' and 'Plural-Forms' to metadata ordering - More accurate float operation for POFile.percent_translated() Version 1.0.5 (2014/08/22) -------------------------- - Fixed issue #59: tokens variable referenced before assignment - Implemented feature request #56: line number information in PO entries - Fixed issue #61: polib does not handle previous msgid on multilines [FILE:111:distinfo] 1c77ee1b81feb31df9bca258cbc58db1bbb32d10214b173882452c73af06d62d 20634 polib-1.2.0-py2.py3-none-any.whl