BSD Ports

devel/py-polib 1.2.0_1 DragonFly

Python library to parse and manage gettext catalogs

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, python
Package size
39.8 KiB, 231.6 KiB installed

Description

PoLib is a python library to parse and manage gettext catalogs.

polib allows you 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... or create new po files from scratch.

polib provides a simple and pythonic API, exporting only three convenience functions 'pofile', 'mofile' and 'detect_encoding', and the 4 core classes: POFile, MOFile, POEntry and MOEntry for creating new files/entries.

In the other systems

SystemPortVersion
DragonFlydevel/py-polib1.2.0_1
FreeBSDdevel/py-polib1.2.0_1
NetBSDdevel/py-polib1.2.0
MidnightBSDdevel/py-polib1.2.0_1
HardenedBSDdevel/py-polib1.2.0_1
GhostBSDdevel/py-polib1.2.0_1

Install

Binary package:

pkg install py311-polib

From DPorts:

cd /usr/dports/devel/py-polib && make install clean

Dependencies

Run dependencies 1