Weblate is a copylefted libre software web-based continuous localization system, used by over 2500 libre projects and companies in more than 165 countries.
wlc
wlc is a Weblate commandline client using Weblate's REST API.
PIP Installation
Install using pip:
pip3 install wlc
Sources are available at https://github.com/WeblateOrg/wlc.
Usage
Please see Weblate documentation for more complete documentation.
Command line usage:
wlc list-projects
wlc list-components
wlc list-translations
wlc list-languages
wlc show
wlc ls
wlc commit
wlc push
wlc pull
wlc repo
wlc stats
wlc lock
wlc unlock
wlc lock-status
wlc download
wlc upload
Configuration is stored in ~/.config/weblate. The key/values (retries,
timeout, method_whitelist, backoff_factor, status_forcelist) are closely
coupled with the urllib3 parameters and allows the user to configure request
parameters.
[weblate]
url = https://hosted.weblate.org/api/
retries = 3
method_whitelist = PUT,POST,GET
backoff_factor = 0.2
status_forcelist = 429,500,502,503,504
timeout = 30
[keys]
https://hosted.weblate.org/api/ = APIKEY
Docker image
The image is published on Docker Hub.
Building locally:
docker build -t weblate/wlc .
Detailed documentation is available in Weblate documentation.
Docker hub tags
You can use following tags on Docker hub:
| Tag name | Description | Use case |
|---|---|---|
latest |
wlc stable release, matches latest tagged release | Rolling updates in a production environment |
edge |
wlc development | Staging environment |
| version | wlc stable release, see weblate/wlc | Well defined deploy in a production environment |
Every image is tested by our CI before it gets published, so even the bleeding version should be quite safe to use.
Release files for wlc 1.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wlc-1.11.tar.gz | 60.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wlc-1.11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:144.3 kB
Release files / wlc-1.11.tar.gz
| Download URL | wlc-1.11.tar.gz |
|---|---|
| Size | 60.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dd266038b64c60bfd84e262fe3ba43b638e17ced1c48396af0cc63b141115d7b
|
|
BLAKE2b-256 checksum How to use checksums |
44a4cff84fc5b707dec0951d8411a8a69178dbf10b62a46554bdd4927839ddb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|
Release files / wlc-1.11-py3-none-any.whl
| Download URL | wlc-1.11-py3-none-any.whl |
|---|---|
| Size | 84.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
183c7305fd2c8e7b7fc2c328ac689bb7249f3f0d1baa3823ec2f441ff9baf055
|
|
BLAKE2b-256 checksum How to use checksums |
446b1e3315450d8f1751bbbe0778d980e5bafc3c736f58ec6d760bb27329e081
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|