Skip to main content

Automatic download of PO files from the TranslationProject

Project description

tp-folder-dl

PyPI - Version PyPI - Python Version


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


Download files

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

Source Distribution

tp_folder_dl-0.1.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tp_folder_dl-0.1.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

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

Hashes for tp_folder_dl-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6fb78feaada1182da6cade612d46d58ff298b187fd1eae71f6102bdd0324d75c
MD5 4d1be4d7c832e8c7e2f501f389a84c10
BLAKE2b-256 52a111c20bc1359f531f5b3fdfa8b9776ee035cf6cf8ae070d14e0cdbe45502d

See more details on using hashes here.

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

Hashes for tp_folder_dl-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f0e94f8506e5572b02a9bfa6d0e0cf0cf16f6b9e67d76823af1121a2e1e997d4
MD5 655a9a79275fbc1531591ef96f414ed7
BLAKE2b-256 c678769382868fec6b5de84fcdbf1b08e18f4b62f69ba44265d827a8027f129a

See more details on using hashes here.

Supported by

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