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
| System | Port | Version |
|---|---|---|
| DragonFly | devel/py-polib | 1.2.0_1 |
| FreeBSD | devel/py-polib | 1.2.0_1 |
| NetBSD | devel/py-polib | 1.2.0 |
| MidnightBSD | devel/py-polib | 1.2.0_1 |
| HardenedBSD | devel/py-polib | 1.2.0_1 |
| GhostBSD | devel/py-polib | 1.2.0_1 |
Install
Binary package:
pkg install py311-polib
From DPorts:
cd /usr/dports/devel/py-polib && make install clean