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 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.1.tar.gz (6.7 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.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file tp_folder_dl-0.1.1.tar.gz.

File metadata

  • Download URL: tp_folder_dl-0.1.1.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for tp_folder_dl-0.1.1.tar.gz
Algorithm Hash digest
SHA256 740fce02553c857cd8b40669d05b71503c720fff0fa0bd68b3c6faf4c26baed7
MD5 e9c66e6ae008d3e5ca7cc4a5d1b1c514
BLAKE2b-256 5b8cf8984d7d5c849f11611698b8e075c84911a1f1cfe088aceea5501bc42ea8

See more details on using hashes here.

File details

Details for the file tp_folder_dl-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tp_folder_dl-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 09fa428a909780f88b58b1ff5b360cf99c7c7659cd66f8c322a4d1e72b8966ad
MD5 61fdeed66ee25765652c3bf5c6ebf269
BLAKE2b-256 f4d7425781dc034b77a9b5fe3d4dabb361267ffe9670f6725c623236de30d256

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