POEditor exporter
This python command line script exports translations files from POEditor.
Installation
To install the project with its dependencies run the following command.
pip install poeditorexporter
Usage
python -m poeditorexporter api_token id languages dest filename type
Arguments
Positional arguments
api_tokenYour POEditor api token.idThe id of your project.languagesList of languages, separated by a comma.destDestination directory of the downloaded files. It must end with a /filenameName of the file after download. The name will be suffixed by the language.typeThe file format. The accepted values are 'po', 'pot', 'mo', 'xls', 'xlsx', 'csv', 'ini', 'resw', 'resx', 'android_strings', 'apple_strings', 'xliff', 'properties', 'key_value_json', 'json', 'yml', 'xlf', 'xmb', 'xtb', 'arb', 'rise_360_xliff'.
Those arguments are mandatory.
Optional arguments
-for--filtersList of filters to apply on result, separated by a comma. Accepted values are 'translated', 'untranslated', 'fuzzy', 'not_fuzzy', 'automatic', 'not_automatic', 'proofread', 'not_proofread'.-oor--orderHow the terms should be ordered. Default is set toterms.-tor--tagsFilter result by tags. List of tags separated by a comma.
Print help
python -m poeditorexporter --help
Example
python -m poeditorexporter 1a22cf9d548ebbdf1cb2b3bd10115a8c 12345 en,fr,de /home/user/downloads/ translation properties
This will download english, french and german translations file of project id 12345 in the folder /home/user/downloads/
with names translation_en.properties, translation_fr.properties, translation_de.properties.
Metadata
Release files for poeditorexporter 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| poeditorexporter-1.0.1.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| poeditorexporter-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / poeditorexporter-1.0.1.tar.gz
| Download URL | poeditorexporter-1.0.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
736cac5694af56511ee137d06eb6c0b1559ff41a8b422fe431dd21108d55c5a8
|
|
BLAKE2b-256 checksum How to use checksums |
2abf54d01d1c87b37641f76ce972a3bd34183ef51986ddc3e34e0916df57612d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.15
|
Release files / poeditorexporter-1.0.1-py3-none-any.whl
| Download URL | poeditorexporter-1.0.1-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c261974035ad83576aa2c302a05597cbde75b24330c9b861921cc401f76b82e2
|
|
BLAKE2b-256 checksum How to use checksums |
6e148cc0417608295ef04b9d43f2dcd1f481e99b9d3605efceb640748b90a8bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.8.3 pkginfo/1.8.2 requests/2.27.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.15
|