jdFlatpakSnapshot


NamejdFlatpakSnapshot JSON
Version 2.2 PyPI version JSON
download
home_page
SummaryA Program to create Snapshots of Flatpak Apps
upload_time2023-12-12 09:15:52
maintainer
docs_urlNone
author
requires_python>=3.10
licenseGPL-3
keywords jakobdev linux flatpak
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <h1 align="center">jdFlatpakSnapshot</h1>

<h3 align="center">A Program to create Snapshots of Flatpak Apps</h3>

<p align="center">
    <img alt="jdFlatpakSnapshot" src="screenshots/MainWindow_en.png"/>
</p>

jdFlatpakSnapshot allows you to easily create. a Snapshot of all the Data of a Flatpak.
You can now play around and change the settings of the Flatpak or something else.
If something goes wrong, you can restore the Data from the Snapshot with one click.

## Install

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


### pip
You can install jdFlatpakSnapshot from [PyPI](https://pypi.org/project/jdFlatpakSnapshot) using `pip`:
```shell
pip install jdFlatpakSnapshot
```
Using this Method, it will not include a Desktop Entry or any other Data file, so you need to run jdFlatpakSnapshot 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 jdFlatpakSnapshot for a Distro.
jdFlatpak 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 jdFlatpakSnapshot into `/usr/local`:
```shell
sudo pip install --prefix /usr/local .
sudo ./install-unix-datafiles.py --prefix /usr/local
```

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

## Develop
jdFlatpak is written in Python and uses PyQt6 as GUI toolkit. You should have some experience in both.
You can run `jdFlatpakSnapshot.py`to start jdFlatpakSnapshot 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 `jdFlatpakSnapshot/ui` and compiles it to a Python class
and stores it in `jdFlatpakSnapshot/ui_compiled`. Without running this script first, you can't start jdFlatpakSnapshot.
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.

#### UpdateTranslators.py
This uses git to get a list of all Translators and writes it to `jdFlatpakSnapshot/data/translators.json`.
This is used to display the translators in the About Dialog.
You need git to run this script.

#### WriteChangelogHtml.py
This read the Changelog from `deploy/page.codeberg.JakobDev.jdFlatpakSnapshot.metainfo.xml`, converts it to HTML and writes it to `jdFlatpakSnapshot/data/changelog.html`.
This is used to display the Changelog in the About Dialog.
You need [appstream-python](https://pypi.org/project/appstream-python) to be installed to use this script.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "jdFlatpakSnapshot",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "JakobDev,Linux,Flatpak",
    "author": "",
    "author_email": "JakobDev <jakobdev@gmx.de>",
    "download_url": "https://files.pythonhosted.org/packages/19/06/8c9d248552385d98121f9262447c827db08544d7bc3432f0870230040276/jdFlatpakSnapshot-2.2.tar.gz",
    "platform": null,
    "description": "<h1 align=\"center\">jdFlatpakSnapshot</h1>\n\n<h3 align=\"center\">A Program to create Snapshots of Flatpak Apps</h3>\n\n<p align=\"center\">\n    <img alt=\"jdFlatpakSnapshot\" src=\"screenshots/MainWindow_en.png\"/>\n</p>\n\njdFlatpakSnapshot allows you to easily create. a Snapshot of all the Data of a Flatpak.\nYou can now play around and change the settings of the Flatpak or something else.\nIf something goes wrong, you can restore the Data from the Snapshot with one click.\n\n## Install\n\n### Flatpak\nYou can get jdFlatpakSnapshot from [Flathub](https://flathub.org/apps/details/page.codeberg.JakobDev.jdFlatpakSnapshot)\n\n\n### pip\nYou can install jdFlatpakSnapshot from [PyPI](https://pypi.org/project/jdFlatpakSnapshot) using `pip`:\n```shell\npip install jdFlatpakSnapshot\n```\nUsing this Method, it will not include a Desktop Entry or any other Data file, so you need to run jdFlatpakSnapshot 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 jdFlatpakSnapshot for a Distro.\njdFlatpak 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 jdFlatpakSnapshot 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 jdFlatpakSnapshot on [Codeberg Translate](https://translate.codeberg.org/projects/jdFlatpakSnapshot)\n\n## Develop\njdFlatpak is written in Python and uses PyQt6 as GUI toolkit. You should have some experience in both.\nYou can run `jdFlatpakSnapshot.py`to start jdFlatpakSnapshot 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 `jdFlatpakSnapshot/ui` and compiles it to a Python class\nand stores it in `jdFlatpakSnapshot/ui_compiled`. Without running this script first, you can't start jdFlatpakSnapshot.\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\n#### UpdateTranslators.py\nThis uses git to get a list of all Translators and writes it to `jdFlatpakSnapshot/data/translators.json`.\nThis is used to display the translators in the About Dialog.\nYou need git to run this script.\n\n#### WriteChangelogHtml.py\nThis read the Changelog from `deploy/page.codeberg.JakobDev.jdFlatpakSnapshot.metainfo.xml`, converts it to HTML and writes it to `jdFlatpakSnapshot/data/changelog.html`.\nThis is used to display the Changelog in the About Dialog.\nYou need [appstream-python](https://pypi.org/project/appstream-python) to be installed to use this script.\n",
    "bugtrack_url": null,
    "license": "GPL-3",
    "summary": "A Program to create Snapshots of Flatpak Apps",
    "version": "2.2",
    "project_urls": {
        "Donation": "https://ko-fi.com/jakobdev",
        "Issues": "https://codeberg.org/JakobDev/jdFlatpakSnapshot/issues",
        "Source": "https://codeberg.org/JakobDev/jdFlatpakSnaphot",
        "Translate": "https://translate.codeberg.org/projects/jdFlatpakSnapshot"
    },
    "split_keywords": [
        "jakobdev",
        "linux",
        "flatpak"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6e117c9a2fcc2ad20b2ef00923c2e8381fd4aeab09263860adbc0559cc303691",
                "md5": "9fda2bf8525c483549c8fc7bb5dcf49d",
                "sha256": "319ebdccb94a9d7085283a873cc1940ff53c0f7906c12d33644fec8595f0e560"
            },
            "downloads": -1,
            "filename": "jdFlatpakSnapshot-2.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9fda2bf8525c483549c8fc7bb5dcf49d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 71924,
            "upload_time": "2023-12-12T09:15:50",
            "upload_time_iso_8601": "2023-12-12T09:15:50.801155Z",
            "url": "https://files.pythonhosted.org/packages/6e/11/7c9a2fcc2ad20b2ef00923c2e8381fd4aeab09263860adbc0559cc303691/jdFlatpakSnapshot-2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "19068c9d248552385d98121f9262447c827db08544d7bc3432f0870230040276",
                "md5": "2c317498666abdf70f65e612f4078aec",
                "sha256": "c824770ecb1270e248c28cc7baaf82f9f0912906aa2dba14ef3c122d88bf6fec"
            },
            "downloads": -1,
            "filename": "jdFlatpakSnapshot-2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "2c317498666abdf70f65e612f4078aec",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 50393,
            "upload_time": "2023-12-12T09:15:52",
            "upload_time_iso_8601": "2023-12-12T09:15:52.937608Z",
            "url": "https://files.pythonhosted.org/packages/19/06/8c9d248552385d98121f9262447c827db08544d7bc3432f0870230040276/jdFlatpakSnapshot-2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-12 09:15:52",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": true,
    "codeberg_user": "JakobDev",
    "codeberg_project": "jdFlatpakSnapshot",
    "lcname": "jdflatpaksnapshot"
}
        
Elapsed time: 0.41840s