rspolib

Crates.iorspolib
lib.rsrspolib
version0.1.0
sourcesrc
created_at2023-03-04 22:56:40.120344
updated_at2024-01-18 05:47:36.571024
descriptionPO and MO files manipulation library.
homepage
repositoryhttps://github.com/mondeja/rspolib
max_upload_size
id800900
size246,907
Álvaro Mondéjar Rubio (mondeja)

documentation

https://docs.rs/rspolib

README

rspolib

crates.io PyPI docs.rs Bindings docs

Port to Rust of the Python library polib.

Install

cargo add rspolib

Usage

use rspolib::{pofile, prelude::*};

let po = pofile("./tests-data/flags.po").unwrap();

for entry in &po.entries {
    println!("{}", entry.msgid);
}

po.save("./file.po");

See the documentation at docs.rs/rspolib

Python bindings

Python versions

Commit count: 28

cargo fmt