Skip to main content

pogrep

Searches for string in po files. popgrep supports various GNU grep options to ease its use.

Pogrep is part of poutils!

Poutils (.po utils) is a metapackage to easily install useful Python tools to use with po files and pogrep is a part of it! Go check out Poutils to discover the other tools!

Examples

Print usage: pogrep --help

Find how 'flavors' has already been translated: search recursively in the current directory, show the names of the matching files, excluding the venv and the locales directories which are not relevant:

pogrep --recursive --line-number --exclude-dir venv --exclude-dir locales flavor

Search the word 'typo' in traductions, but not in sources:

pogrep --recursive --translation --no-source --word-regexp typo

Blame usage of 'allogène' in traductions:

pogrep --recursive --ignore-case --blame allogène

Contributing

Please test your contribution using tox -p auto.

Release files for pogrep 0.1.4

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

Source distribution (sdist)

Source distribution for pogrep 0.1.4
File Size Uploaded
pogrep-0.1.4.tar.gz 6.6 kB Details

Built distribution (wheel)

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

Total release size: 13.5 kB

Release files / pogrep-0.1.4.tar.gz

Download URL pogrep-0.1.4.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bfdc1ed1f0e8c5d96a409fe01577e22d94b01648e41e92aacbb5cc1197877a6f
BLAKE2b-256 checksum
How to use checksums
2aa3ffc9874c19608549dce758bc98d24730cfd720e1498bdb3c2d3f037ef97b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Release files / pogrep-0.1.4-py3-none-any.whl

Download URL pogrep-0.1.4-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
585070b5b32263a3824157e518f01dafff70c34abd002f305a8a656bce809933
BLAKE2b-256 checksum
How to use checksums
65c6e16ccaeab2e26f15a4fcfab6e65379c1d57f921cdae92bd087e3f668e0f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.8

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.1

2 release files

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