{"id":15374786,"url":"https://github.com/mondeja/rspolib","last_synced_at":"2026-01-08T01:14:41.363Z","repository":{"id":109417257,"uuid":"607401730","full_name":"mondeja/rspolib","owner":"mondeja","description":"Rust port of polib Python library.","archived":false,"fork":false,"pushed_at":"2025-01-20T20:36:22.000Z","size":142,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-27T07:35:15.316Z","etag":null,"topics":["i18n","mo","mofile","po","pofile","python","rust","rust-library","translation"],"latest_commit_sha":null,"homepage":"https://docs.rs/rspolib","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mondeja.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-02-27T22:39:57.000Z","updated_at":"2025-01-20T20:36:12.000Z","dependencies_parsed_at":"2024-01-18T05:44:47.663Z","dependency_job_id":null,"html_url":"https://github.com/mondeja/rspolib","commit_stats":{"total_commits":28,"total_committers":1,"mean_commits":28.0,"dds":0.0,"last_synced_commit":"431a3420eb04b553812cc8461c59fea86ec0e05f"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mondeja%2Frspolib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mondeja%2Frspolib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mondeja%2Frspolib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mondeja%2Frspolib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mondeja","download_url":"https://codeload.github.com/mondeja/rspolib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":236738684,"owners_count":19196962,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["i18n","mo","mofile","po","pofile","python","rust","rust-library","translation"],"created_at":"2024-10-01T13:59:45.460Z","updated_at":"2025-10-16T17:30:19.094Z","avatar_url":"https://github.com/mondeja.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rspolib\n\n[![crates.io](https://img.shields.io/crates/v/rspolib?logo=rust)](https://crates.io/crates/rspolib) [![PyPI](https://img.shields.io/pypi/v/rspolib?logo=pypi\u0026logoColor=white)](https://pypi.org/project/rspolib) [![docs.rs](https://img.shields.io/docsrs/rspolib?logo=docs.rs)](https://docs.rs/rspolib) [![Bindings docs](https://img.shields.io/badge/bindings-docs-blue?logo=python\u0026logoColor=white)](https://github.com/mondeja/rspolib/blob/master/python/REFERENCE.md)\n\nPort to Rust of the Python library [polib].\n\n## Install\n\n```bash\ncargo add rspolib\n```\n\n## Usage\n\n```rust\nuse rspolib::{pofile, prelude::*};\n\nlet po = pofile(\"./tests-data/flags.po\").unwrap();\n\nfor entry in \u0026po.entries {\n    println!(\"{}\", entry.msgid);\n}\n\npo.save(\"./file.po\");\n```\n\nSee the documentation at [docs.rs/rspolib](https://docs.rs/rspolib)\n\n## Python bindings\n\n[![Python versions](https://img.shields.io/pypi/pyversions/rspolib?logo=python\u0026logoColor=white)](https://pypi.org/project/rspolib/#files)\n\n- [Quickstart](https://github.com/mondeja/rspolib/tree/master/python#readme)\n- [Reference](https://github.com/mondeja/rspolib/blob/master/python/REFERENCE.md)\n\n### Usage\n\n```python\nimport polib\nimport rspolib\n\nrspo = rspolib.pofile(f\"{tests_dir}/django-complete.po\")\npypo = polib.pofile(f\"{tests_dir}/django-complete.po\")\n```\n\n[polib]: https://github.com/izimobil/polib\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmondeja%2Frspolib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmondeja%2Frspolib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmondeja%2Frspolib/lists"}