Skip to main content

A script to convert tmx files to tab-delimited txt files

This is a tmx-to-txt converter. It accepts one bilingual tmx file and one optional argument containing language codes separated by the # symbol. Examples: en-US#ar-SA; EN-US#RU-RU. All characters are case sensitive. The default codes are en-US and ru-RU. The script extracts TU text only. No fields are extracted. The output is a bilingual tab-delimited txt file.

How to install on Windows in Windows PowerShell

$ python3 -m venv .venv
$ .\.venv\Scripts\Activate.ps1
$ python3 -m pip install --upgrade pip
$ python3 -m pip install tmx2txt

How to use

In Windows PowerShell:

$ python3 -m tmx2txt \path\file.tmx -c en-US#ar-SA

In Google Colab:

!pip install tmx2txt
!tmx2txt file.tmx -c en-US#ar-SA

Metadata

Release files for tmx2txt 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tmx2txt 1.0.0
File Size Uploaded Provenance Actions
tmx2txt-1.0.0.tar.gz 4.0 kB Without provenance Details for tmx2txt-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tmx2txt 1.0.0
File Interpreter ABI Platform Actions
tmx2txt-1.0.0-py3-none-any.whl Python 3 none any Details for tmx2txt-1.0.0-py3-none-any.whl

Total release size: 8.6 kB

Release files / tmx2txt-1.0.0.tar.gz

Download URL tmx2txt-1.0.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
cb56ce306a8bc66393c18c227050671d65f1014ddaf8d124ca46e4a9bd951f9f
BLAKE2b-256 checksum
How to use checksums
b89d9f0b935152f9d8918e2899c090172409ee5e4e006f60bce6f4f4c8fe9cd6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.4

Release files / tmx2txt-1.0.0-py3-none-any.whl

Download URL tmx2txt-1.0.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a1a570b965d50c5f8f0f671dd180478ccd4fbe4de6d9c6a9b1b7678ae7bc1d7f
BLAKE2b-256 checksum
How to use checksums
b22cba98a06c66eb82948ebffbf4f9a870c148c6830bc43292e284011bee99de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.18 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.4

Security for tmx2txt 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page