Name | jdDiff JSON |
Version |
1.4
JSON |
| download |
home_page | |
Summary | A graphical cross platform diff viewer |
upload_time | 2023-05-08 08:38:30 |
maintainer | |
docs_url | None |
author | |
requires_python | >=3.9 |
license | GPL v3 |
keywords |
jakobdev
pyqt
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<h1 align="center">jdDiff</h1>
<h3 align="center">A graphical cross platform diff viewer</h3>
<p align="center">
<img alt="jdDiff" src="screenshots/MainWindow.png"/>
</p>
jdDiff shows the difference between two Files or two Directories
## Install
### Flatpak
You can get jdDiff from [Flathub](https://flathub.org/apps/page.codeberg.JakobDev.jdDiff)
### AUR
Arch Users can get jdDiff from the [AUR](https://aur.archlinux.org/packages/jdDiff)
### pip
You can install jdDiff from [PyPI](https://pypi.org/project/jdDiff) using `pip`:
```shell
pip install jdDiff
```
Using this Method, it will not include a Desktop Entry or any other Data file, so you need to run jdDiff 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 jdDiff for a Distro.
jdDiffshould 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 jdDiff into `/usr/local`:
```shell
sudo pip install --prefix /usr/local .
sudo ./install-unix-datafiles.py --prefix /usr/local
```
## Translate
You can help translating jdDiff on [Codeberg Translate](https://translate.codeberg.org/projects/jdDiff)
## Develop
jdDiffis written in Python and uses PyQt6 as GUI toolkit. You should have some experience in both.
You can run `jdDiff.py`to start jdDiff from source and test your local changes.
It ships with a few scripts in the tools directory that you need to develop.
#### CompileUI.py
This is the most important script. It will take all `.ui` files in `jdDiff/ui` and compiles it to a Python class
and stores it in `jdDiff/ui_compiled`. Without running this script first, you can't start jdDiff.
You need to rerun it every time you changed or added a `.ui` file.
#### 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": "jdDiff",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "",
"keywords": "JakobDev,PyQt",
"author": "",
"author_email": "JakobDev <jakobdev@gmx.de>",
"download_url": "https://files.pythonhosted.org/packages/d0/e1/6e800c86396c5f459a17168f27075405af760d01ca39607d70b160ff005f/jdDiff-1.4.tar.gz",
"platform": null,
"description": "<h1 align=\"center\">jdDiff</h1>\n\n<h3 align=\"center\">A graphical cross platform diff viewer</h3>\n\n<p align=\"center\">\n <img alt=\"jdDiff\" src=\"screenshots/MainWindow.png\"/>\n</p>\n\njdDiff shows the difference between two Files or two Directories\n\n## Install\n\n### Flatpak\nYou can get jdDiff from [Flathub](https://flathub.org/apps/page.codeberg.JakobDev.jdDiff)\n\n### AUR\nArch Users can get jdDiff from the [AUR](https://aur.archlinux.org/packages/jdDiff)\n\n### pip\nYou can install jdDiff from [PyPI](https://pypi.org/project/jdDiff) using `pip`:\n```shell\npip install jdDiff\n```\nUsing this Method, it will not include a Desktop Entry or any other Data file, so you need to run jdDiff 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 jdDiff for a Distro.\njdDiffshould 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 jdDiff 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 jdDiff on [Codeberg Translate](https://translate.codeberg.org/projects/jdDiff)\n\n## Develop\njdDiffis written in Python and uses PyQt6 as GUI toolkit. You should have some experience in both.\nYou can run `jdDiff.py`to start jdDiff from source and test your local changes.\nIt ships with a few scripts in the tools directory that you need to develop.\n\n#### CompileUI.py\nThis is the most important script. It will take all `.ui` files in `jdDiff/ui` and compiles it to a Python class\nand stores it in `jdDiff/ui_compiled`. Without running this script first, you can't start jdDiff.\nYou need to rerun it every time you changed or added a `.ui` file.\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 v3",
"summary": "A graphical cross platform diff viewer",
"version": "1.4",
"project_urls": {
"Donation": "https://ko-fi.com/jakobdev",
"Issues": "https://gitlab.com/JakobDev/jdDiff/-/issues",
"Source": "https://gitlab.com/JakobDev/jdDiff",
"Translate": "https://translate.codeberg.org/projects/jdDiff"
},
"split_keywords": [
"jakobdev",
"pyqt"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "533c63be963a3823083f4af6939e8d4fdd4299bb853234f7dacecdd35ae20da4",
"md5": "8eeedd80c972c555e75cb75ef2e2f63f",
"sha256": "593c5e1468a917b6bee2f018b9d121a2a817a19af7b55c81601d2ad8620f0442"
},
"downloads": -1,
"filename": "jdDiff-1.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8eeedd80c972c555e75cb75ef2e2f63f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 37051,
"upload_time": "2023-05-08T08:38:27",
"upload_time_iso_8601": "2023-05-08T08:38:27.863470Z",
"url": "https://files.pythonhosted.org/packages/53/3c/63be963a3823083f4af6939e8d4fdd4299bb853234f7dacecdd35ae20da4/jdDiff-1.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d0e16e800c86396c5f459a17168f27075405af760d01ca39607d70b160ff005f",
"md5": "76a51b7882c8e276e7975e2f8d684f86",
"sha256": "ebcd4707801ef69b659daad640fff370ac6a9153069d5021256734a20226087c"
},
"downloads": -1,
"filename": "jdDiff-1.4.tar.gz",
"has_sig": false,
"md5_digest": "76a51b7882c8e276e7975e2f8d684f86",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 30916,
"upload_time": "2023-05-08T08:38:30",
"upload_time_iso_8601": "2023-05-08T08:38:30.082208Z",
"url": "https://files.pythonhosted.org/packages/d0/e1/6e800c86396c5f459a17168f27075405af760d01ca39607d70b160ff005f/jdDiff-1.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-05-08 08:38:30",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "JakobDev",
"gitlab_project": "jdDiff",
"lcname": "jddiff"
}