Skip to main content

Will list all .po files that are to be translated

Project description

Potodo

Build status

All Contributors

PyPI

Potodo, a (almost) flawless TODO/progress listing CLI tool for po files.

Potodo is part of poutils!

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

Installation

pip install potodo

Usage

usage: potodo [-h] [-p path] [-e path [path ...]] [-a X] [-b X] [-f] [-o] [-n] [-c] [-j] [--exclude-fuzzy] [--exclude-reserved] [--only-reserved] [--show-reservation-dates] [--no-cache] [-i] [-l] [--version] [-v]

List and prettify the po files left to translate.

optional arguments:
  -h, --help            show this help message and exit
  -p path, --path path  execute Potodo in path
  -e path [path ...], --exclude path [path ...]
                        exclude from search
  -a X, --above X       list all TODOs above given X% completion
  -b X, --below X       list all TODOs below given X% completion
  -f, --only-fuzzy      print only files marked as fuzzys
  -o, --offline         don't perform any fetching to GitHub/online
  -n, --no-reserved     don't print info about reserved files
  -c, --counts          render list with the count of remaining entries (translate or review) rather than percentage done
  -j, --json            format output as JSON
  --exclude-fuzzy       select only files without fuzzy entries
  --exclude-reserved    select only files that aren't reserved
  --only-reserved       select only only reserved files
  --show-reservation-dates
                        show issue creation dates
  --no-cache            Disables cache (Cache is disabled when files are modified)
  -i, --interactive     Activates the interactive menu
  -l, --matching-files  Suppress normal output; instead print the name of each matching po file from which output would normally have been printed.
  --version             show program's version number and exit
  -v, --verbose         Increases output verbosity

Contributing

You can run the tests using tox locally like:

tox -p auto

before commiting.

A pre-commit hook like:

cat <<EOF > .git/hooks/pre-commit
#!/bin/sh
exec tox -s -p all
EOF

may help.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Julien Palard

👀 💻

Antoine

👀 💻

Jules Lasne (jlasne)

👀 💻

Christophe Nanteuil

👀 💻

Claire Revillet

👀 💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

potodo-0.19.1.tar.gz (14.1 kB view details)

Uploaded Source

Built Distribution

potodo-0.19.1-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file potodo-0.19.1.tar.gz.

File metadata

  • Download URL: potodo-0.19.1.tar.gz
  • Upload date:
  • Size: 14.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for potodo-0.19.1.tar.gz
Algorithm Hash digest
SHA256 3956fdf7ada2d73379cd6547bfcfb2e7874df564a6545a4d67675eced66381df
MD5 8d3a818c95ed89e1ade06cbeb5991567
BLAKE2b-256 57beb8bcbc37bb28f38bcf8c4fc0e34994bc8d456a8f9cdf42bb4000c1195163

See more details on using hashes here.

File details

Details for the file potodo-0.19.1-py3-none-any.whl.

File metadata

  • Download URL: potodo-0.19.1-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0

File hashes

Hashes for potodo-0.19.1-py3-none-any.whl
Algorithm Hash digest
SHA256 031ca874247a92ba6d97e84528986a59853bd1439b628b5b31a1dc3608de1979
MD5 b864717fcf46871d6dde33b0ff5b32c9
BLAKE2b-256 85b9621d118aa6ed4517d35bde8397e149e1e850432612046fbe7e4f5ecc0eef

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page