jdEolConverter


NamejdEolConverter JSON
Version 1.2 PyPI version JSON
download
home_page
SummaryConverts End of Line of all files in a directorys
upload_time2023-04-19 13:51:43
maintainer
docs_urlNone
author
requires_python>=3.9
licenseGPL-3
keywords jakobdev pyqt6
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <h1 align="center">jdEolConverter</h1>

<h3 align="center">Converts End of Line of all files in a directory</h3>

<p align="center">
    <img alt="jdEolConverter" src="screenshots/MainWindow.png"/>
</p>

jdEolConverter is a simple tool that converts the End of Line of all files in a direcory into the given format. Nothing more and nothing less. This is useful when you e.g. have edited files under Windows and forgot to change the End of Line Option.

## Install

### Flatpak
You can get jdEolConverter from [Flathub](https://flathub.org/apps/details/page.codeberg.JakobDev.jdEolConverter)

### AUR
Arch Users can get jdEolConverter from the [AUR](https://aur.archlinux.org/packages/jdeolconverter)

### pip
You can install jdEolConverter from [PyPI](https://pypi.org/project/jdEolConverter) using `pip`:
```shell
pip install jdEolConverter
```
Using this Method, it will not include a Desktop Entry or any other Data file, so you need to run jdEolConverter from the Command Line.
Use this only, when nothing else works.

### From source
This is only for experienced Users and someone, who wants to package jdEolConverter for a Distro.
jdEolConverter should be installed as a Python package.
You can use `pip` or any other tool that can handle Python packages.
You need to have `lrelease` installed to build the Package.
After that, you should run `install-unix-datafiles.py` which wil install things like the Desktop Entry or the Icon in the correct place.
It defaults to `/usr`, but you can change it with the `--prefix` argument.
It also applies the translation to this files.
You need gettext installed to run `install-unix-datafiles.py`.

Here's a example of installing jdEolConverter into `/usr/local`:
```shell
sudo pip install --prefix /usr/local .
sudo ./install-unix-datafiles.py --prefix /usr/local
```

## Translate
You can help translating jdEolConverter on [Codeberg Translate](https://translate.codeberg.org/projects/jdEolConverter)

## Develop
jdEolConverter is written in Python and uses PyQt6 as GUI toolkit. You should have some experience in both.
You can run `jdEolConverter.py`to start jdEolConverter from source and test your local changes.
It ships with a few scripts in the tools directory that you need to develop.

#### BuildTranslations.py
This script takes all `.ts` files and compiles it to `.qm` files.
The `.ts` files are containing the translation source and are being used during the translation process.
The `.qm` contains the compiled translation and are being used by the Program.
You need to compile a `.ts` file to a `.qm` file to see the translations in the Program.

#### UpdateTranslations.py
This regenerates the `.ts` files. You need to run it, when you changed something in the source code.
The `.ts` files are contains the line in the source, where the string to translate appears,
so make sure you run it even when you don't changed a translatable string, so the location is correct.

####  UpdateUnixDataTranslations.py
This regenerates the translation files in `deploy/translations`. these files contains the translations for the Desktop Entry and the AppStream File.
It uses gettext, as it is hard to translate this using Qt.
These files just exists to integrate the translation with Weblate, because Weblate can't translate the Desktop Entry and the AppStream file.
Make sure you run this when you edited one of these files.
You need to have gettext installed to use it.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "jdEolConverter",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "JakobDev,PyQt6",
    "author": "",
    "author_email": "JakobDev <jakobdev@gmx.de>",
    "download_url": "https://files.pythonhosted.org/packages/b4/98/9f22b89af19580610bd3979ba7595a55bba28549ecbabd15dfe998942b64/jdEolConverter-1.2.tar.gz",
    "platform": null,
    "description": "<h1 align=\"center\">jdEolConverter</h1>\n\n<h3 align=\"center\">Converts End of Line of all files in a directory</h3>\n\n<p align=\"center\">\n    <img alt=\"jdEolConverter\" src=\"screenshots/MainWindow.png\"/>\n</p>\n\njdEolConverter is a simple tool that converts the End of Line of all files in a direcory into the given format. Nothing more and nothing less. This is useful when you e.g. have edited files under Windows and forgot to change the End of Line Option.\n\n## Install\n\n### Flatpak\nYou can get jdEolConverter from [Flathub](https://flathub.org/apps/details/page.codeberg.JakobDev.jdEolConverter)\n\n### AUR\nArch Users can get jdEolConverter from the [AUR](https://aur.archlinux.org/packages/jdeolconverter)\n\n### pip\nYou can install jdEolConverter from [PyPI](https://pypi.org/project/jdEolConverter) using `pip`:\n```shell\npip install jdEolConverter\n```\nUsing this Method, it will not include a Desktop Entry or any other Data file, so you need to run jdEolConverter from the Command Line.\nUse this only, when nothing else works.\n\n### From source\nThis is only for experienced Users and someone, who wants to package jdEolConverter for a Distro.\njdEolConverter should be installed as a Python package.\nYou can use `pip` or any other tool that can handle Python packages.\nYou need to have `lrelease` installed to build the Package.\nAfter that, you should run `install-unix-datafiles.py` which wil install things like the Desktop Entry or the Icon in the correct place.\nIt defaults to `/usr`, but you can change it with the `--prefix` argument.\nIt also applies the translation to this files.\nYou need gettext installed to run `install-unix-datafiles.py`.\n\nHere's a example of installing jdEolConverter into `/usr/local`:\n```shell\nsudo pip install --prefix /usr/local .\nsudo ./install-unix-datafiles.py --prefix /usr/local\n```\n\n## Translate\nYou can help translating jdEolConverter on [Codeberg Translate](https://translate.codeberg.org/projects/jdEolConverter)\n\n## Develop\njdEolConverter is written in Python and uses PyQt6 as GUI toolkit. You should have some experience in both.\nYou can run `jdEolConverter.py`to start jdEolConverter from source and test your local changes.\nIt ships with a few scripts in the tools directory that you need to develop.\n\n#### BuildTranslations.py\nThis script takes all `.ts` files and compiles it to `.qm` files.\nThe `.ts` files are containing the translation source and are being used during the translation process.\nThe `.qm` contains the compiled translation and are being used by the Program.\nYou need to compile a `.ts` file to a `.qm` file to see the translations in the Program.\n\n#### UpdateTranslations.py\nThis regenerates the `.ts` files. You need to run it, when you changed something in the source code.\nThe `.ts` files are contains the line in the source, where the string to translate appears,\nso make sure you run it even when you don't changed a translatable string, so the location is correct.\n\n####  UpdateUnixDataTranslations.py\nThis regenerates the translation files in `deploy/translations`. these files contains the translations for the Desktop Entry and the AppStream File.\nIt uses gettext, as it is hard to translate this using Qt.\nThese files just exists to integrate the translation with Weblate, because Weblate can't translate the Desktop Entry and the AppStream file.\nMake sure you run this when you edited one of these files.\nYou need to have gettext installed to use it.\n",
    "bugtrack_url": null,
    "license": "GPL-3",
    "summary": "Converts End of Line of all files in a directorys",
    "version": "1.2",
    "split_keywords": [
        "jakobdev",
        "pyqt6"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e2344db5014be3f5b02eebc78e8df2a294259148352a18194c136cf1d256c052",
                "md5": "17194c3c0e52f7fa58042709a80ea0a2",
                "sha256": "8c9616699cab880ea03829fe8db303fbcb277ef14c22e9b8d0c42da5940f8e4a"
            },
            "downloads": -1,
            "filename": "jdEolConverter-1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "17194c3c0e52f7fa58042709a80ea0a2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 21213,
            "upload_time": "2023-04-19T13:51:41",
            "upload_time_iso_8601": "2023-04-19T13:51:41.227416Z",
            "url": "https://files.pythonhosted.org/packages/e2/34/4db5014be3f5b02eebc78e8df2a294259148352a18194c136cf1d256c052/jdEolConverter-1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b4989f22b89af19580610bd3979ba7595a55bba28549ecbabd15dfe998942b64",
                "md5": "94bdf2467a974764710a255f50074c6c",
                "sha256": "2a48991816fd724c6b7934081242d48c0529d9a6a888e6c1db5f908bd02dbbde"
            },
            "downloads": -1,
            "filename": "jdEolConverter-1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "94bdf2467a974764710a255f50074c6c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 21850,
            "upload_time": "2023-04-19T13:51:43",
            "upload_time_iso_8601": "2023-04-19T13:51:43.428786Z",
            "url": "https://files.pythonhosted.org/packages/b4/98/9f22b89af19580610bd3979ba7595a55bba28549ecbabd15dfe998942b64/jdEolConverter-1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-19 13:51:43",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "jdeolconverter"
}
        
Elapsed time: 0.05637s