Skip to main content

PoSentinel

PyPI version Python versions License: MIT

Odoo Translation Quality Analyzer — Protect your Odoo translations before they hit production.


Overview

PoSentinel is a deterministic linter and quality engine designed to inspect .po localization files, with first-class support for Odoo modules and terms (pt_BR and multilingual setups).

It catches critical runtime translation issues such as corrupted or altered Python format placeholders (%s, %(name)s), broken HTML/XML tags, empty translations, and uninspected fuzzy entries.

Quick Start

Installation

pip install posentinel

Basic Usage

Analyze a single .po file:

posentinel scan path/to/pt_BR.po

Analyze an entire directory or Odoo module structure:

posentinel scan ./addons/my_module/i18n

Export issues in JSON format (ideal for CI/CD integrations):

posentinel scan pt_BR.po --format json

Exit Codes for CI/CD

  • 0: Scan passed successfully without blocking issues.
  • 1: Validation issues detected (errors found).
  • 2: Runtime error or invalid arguments/configuration.

License

MIT License. See LICENSE for details.

Metadata

Release files for posentinel 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for posentinel 0.1.1
File Size Uploaded Provenance Actions
posentinel-0.1.1.tar.gz 722.0 kB Without provenance Details for posentinel-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for posentinel 0.1.1
File Interpreter ABI Platform Actions
posentinel-0.1.1-py3-none-any.whl Python 3 none any Details for posentinel-0.1.1-py3-none-any.whl

Total release size: 740.4 kB

Release files / posentinel-0.1.1.tar.gz

Download URL posentinel-0.1.1.tar.gz
Size 722.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8ceb03faeb63ccf6adafc4a990156b38bc61e1d9b703b7b40e3eac97e6b4168d
BLAKE2b-256 checksum
How to use checksums
ab8d4707c8da8b32d0605fd9e7f47c9ef993adb503d55209040bd8fcf3018706
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / posentinel-0.1.1-py3-none-any.whl

Download URL posentinel-0.1.1-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5348b7a461afcc60dbde2d00718a128d6302c4a6cdc22d1fb94ea015d4440696
BLAKE2b-256 checksum
How to use checksums
502b5909462824cfe7090783296cb6c3d0a68d8925e14bc0ea624974f9056c51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for posentinel 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page