Automatic download of PO files from the TranslationProject
Project description
tp-folder-dl
Table of Content
Goal
This is a simple tool to make it easier for maintainers to retrieve PO files produced by the Translation Project. It automatically retrieves any new file meaning a file missing in the local folder or having a timestamp different from the date on the TP site.
Status
Despite a high coverage rate (close to 100%), this is only a Beta quality work, because it lacks an acceptable documentation, and real world tests.
Installation
End user (with pip)
As the project is available on PyPI, you can just do:
pip install tp-folder-dl
Developer
You can manually download a source package from GitHub, or better use git:
git clone https://github.com/s-ball/tp-folder-dl.git
The project contains extensive tests which can be triggered (from the main project folder) with
pytest tests
or (when using hatch)
hatch test
Usage
Just open a terminal window on your system and change the current directory to
the po folder of your project. Then just call the tool passing it your project name:
tp-folder-dl domain
That should be enough to download any new or updated PO file.
Of course, td-folder-dl supports the common -v and -h flags with their
usual meaning.
License
tp-folder-dl is distributed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tp_folder_dl-0.1.0.tar.gz.
File metadata
- Download URL: tp_folder_dl-0.1.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fb78feaada1182da6cade612d46d58ff298b187fd1eae71f6102bdd0324d75c
|
|
| MD5 |
4d1be4d7c832e8c7e2f501f389a84c10
|
|
| BLAKE2b-256 |
52a111c20bc1359f531f5b3fdfa8b9776ee035cf6cf8ae070d14e0cdbe45502d
|
File details
Details for the file tp_folder_dl-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tp_folder_dl-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0e94f8506e5572b02a9bfa6d0e0cf0cf16f6b9e67d76823af1121a2e1e997d4
|
|
| MD5 |
655a9a79275fbc1531591ef96f414ed7
|
|
| BLAKE2b-256 |
c678769382868fec6b5de84fcdbf1b08e18f4b62f69ba44265d827a8027f129a
|