tmx2txt


Nametmx2txt JSON
Version 1.0.0 PyPI version JSON
download
home_pagehttps://github.com/AlexSkrn/tmx2txt
SummaryTmx-to-txt file converter.
upload_time2023-12-29 15:18:06
maintainer
docs_urlNone
authorAlexSkrn
requires_python>=3.6.0
licenseMIT
keywords tmx converter
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# 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
```


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/AlexSkrn/tmx2txt",
    "name": "tmx2txt",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6.0",
    "maintainer_email": "",
    "keywords": "tmx converter",
    "author": "AlexSkrn",
    "author_email": "alex.g.skrn@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b8/9d/9f0b935152f9d8918e2899c090172409ee5e4e006f60bce6f4f4c8fe9cd6/tmx2txt-1.0.0.tar.gz",
    "platform": null,
    "description": "\n# A script to convert tmx files to tab-delimited txt files\n\nThis is a tmx-to-txt converter. It accepts one bilingual tmx file and \none optional argument containing language codes separated by the # symbol. \nExamples: en-US#ar-SA; EN-US#RU-RU. All characters are case sensitive. \nThe default codes are en-US and ru-RU. The script extracts TU text only. \nNo fields are extracted. The output is a bilingual tab-delimited txt file.\n\n## How to install on Windows in Windows PowerShell\n\n```\n$ python3 -m venv .venv\n$ .\\.venv\\Scripts\\Activate.ps1\n$ python3 -m pip install --upgrade pip\n$ python3 -m pip install tmx2txt\n```\n### How to use\n\nIn Windows PowerShell:\n```\n$ python3 -m tmx2txt \\path\\file.tmx -c en-US#ar-SA\n```\nIn Google Colab:\n```\n!pip install tmx2txt\n!tmx2txt file.tmx -c en-US#ar-SA\n```\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Tmx-to-txt file converter.",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/AlexSkrn/tmx2txt"
    },
    "split_keywords": [
        "tmx",
        "converter"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b22cba98a06c66eb82948ebffbf4f9a870c148c6830bc43292e284011bee99de",
                "md5": "577dbbdc8d0a4e433576c2220af37bf5",
                "sha256": "a1a570b965d50c5f8f0f671dd180478ccd4fbe4de6d9c6a9b1b7678ae7bc1d7f"
            },
            "downloads": -1,
            "filename": "tmx2txt-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "577dbbdc8d0a4e433576c2220af37bf5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6.0",
            "size": 4611,
            "upload_time": "2023-12-29T15:18:04",
            "upload_time_iso_8601": "2023-12-29T15:18:04.153326Z",
            "url": "https://files.pythonhosted.org/packages/b2/2c/ba98a06c66eb82948ebffbf4f9a870c148c6830bc43292e284011bee99de/tmx2txt-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b89d9f0b935152f9d8918e2899c090172409ee5e4e006f60bce6f4f4c8fe9cd6",
                "md5": "248a2e81bf23295655073d3fa3f2255f",
                "sha256": "cb56ce306a8bc66393c18c227050671d65f1014ddaf8d124ca46e4a9bd951f9f"
            },
            "downloads": -1,
            "filename": "tmx2txt-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "248a2e81bf23295655073d3fa3f2255f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6.0",
            "size": 3966,
            "upload_time": "2023-12-29T15:18:06",
            "upload_time_iso_8601": "2023-12-29T15:18:06.011281Z",
            "url": "https://files.pythonhosted.org/packages/b8/9d/9f0b935152f9d8918e2899c090172409ee5e4e006f60bce6f4f4c8fe9cd6/tmx2txt-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-29 15:18:06",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "AlexSkrn",
    "github_project": "tmx2txt",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "tmx2txt"
}
        
Elapsed time: 0.16306s