tmxt
NOTE: This is an fork of the original 'https://github.com/sortiz/tmxt' repo. Only modifications are for easier use with pip.
To install execute pip3 install tmxt
This tool consists on two scripts:
tmxplore.py, a script to determine the language codes available inside a particular TMX file by looking to an excerpt or even the whole file.tmxt.py, to effectively transform a TMX to a tab-separated text file using the language code list provided in the command
Requirements
Requires python3 and the libraries included in requirements.txt
Examples of usage
tmxplore.py
$ python3 tmxplore.py file.tmx
en es
or
$ cat file.tmx | python3 tmxplore.py
en es
tmxt.py
$ python3 tmxt.py --codelist en,fr tm.fr-en.tmx en-fr.txt
Other
$ zcat largefile.tmx.gz | python3 tmxt.py --codelist en,es |gzip > bitext.en-es.gz
Metadata
Release files for tmxt 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tmxt-0.2.tar.gz | 2.7 kB | Without provenance | Details for tmxt-0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tmxt-0.2-py3-none-any.whl | Python 3 | none | any | Details for tmxt-0.2-py3-none-any.whl |
Total release size: 18.5 kB
Release files / tmxt-0.2.tar.gz
| Download URL | tmxt-0.2.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3db8c2abecb14437b9074731a36770473ca9658a9c0210c8d29da829ca9730ef
|
|
BLAKE2b-256 checksum How to use checksums |
a58ab7e460a9ab4395067a33bf2b1a742103ebe3ca016a51d1c2c54fd7c61bc2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.5
|
Release files / tmxt-0.2-py3-none-any.whl
| Download URL | tmxt-0.2-py3-none-any.whl |
|---|---|
| Size | 15.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
01be63ddafcd0537f3b649130847dd6ac31a42cd1b03d6444cba7d7a89a78000
|
|
BLAKE2b-256 checksum How to use checksums |
62eb9e42bfd90cfc9d608778eabe370d0a239fb618a50fd083b72def0b5e35c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.5
|
Security for tmxt 0.2
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.