jdMacroPlayer


NamejdMacroPlayer JSON
Version 0.1 PyPI version JSON
download
home_pageNone
SummaryWayland compatible macro player for Linux
upload_time2024-04-02 16:10:08
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseGPL-3
keywords jakobdev linux macro
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <h1 align="center">jdMacroPlayer</h1>

<h3 align="center">Wayland compatible macro player for Linux</h3>

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

jdMacroPlayer allows you to create and execute Macros under Wayland and X11. You can simulate Keybaord and Mouse input or execute a Command by pressing a Shortcut.

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

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

#### UpdateKeycodes.py
This generates `jdMacroPlayer/data/keycodes.json`

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "jdMacroPlayer",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "JakobDev, Linux, Macro",
    "author": null,
    "author_email": "JakobDev <jakobdev@gmx.de>",
    "download_url": "https://files.pythonhosted.org/packages/88/a5/adc8a041734c6d35d9369e3de5408c83c08d5962212951ebc387e980ff56/jdMacroPlayer-0.1.tar.gz",
    "platform": null,
    "description": "<h1 align=\"center\">jdMacroPlayer</h1>\n\n<h3 align=\"center\">Wayland compatible macro player for Linux</h3>\n\n<p align=\"center\">\n    <img alt=\"jdMacroPlayer\" src=\"screenshots/MainWindow.png\"/>\n</p>\n\njdMacroPlayer allows you to create and execute Macros under Wayland and X11. You can simulate Keybaord and Mouse input or execute a Command by pressing a Shortcut.\n\n## Translate\nYou can help translating jdMacroPlayer on [Codeberg Translate](https://translate.codeberg.org/projects/jdMacroPlayer)\n\n## Develop\njdMacroPlayer is written in Python and uses PyQt6 as GUI toolkit. You should have some experience in both.\nYou can run `jdMacroPlayer.py`to start jdMacroPlayer 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 `jdMacroPlayer/ui` and compiles it to a Python class\nand stores it in `jdMacroPlayer/ui_compiled`. Without running this script first, you can't start jdMacroPlayer.\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#### UpdateKeycodes.py\nThis generates `jdMacroPlayer/data/keycodes.json`\n",
    "bugtrack_url": null,
    "license": "GPL-3",
    "summary": "Wayland compatible macro player for Linux",
    "version": "0.1",
    "project_urls": {
        "Donation": "https://ko-fi.com/jakobdev",
        "Issues": "https://codeberg.org/JakobDev/jdMacroPlayer/issues",
        "Source": "https://codeberg.org/JakobDev/jdMacroPlayer",
        "Translate": "https://translate.codeberg.org/projects/jdMacroPlayer"
    },
    "split_keywords": [
        "jakobdev",
        " linux",
        " macro"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d3a3c43ce67570f2ef1d28200b9f0652b0356fe3b95b6b1c4ce3be8b69be1f3b",
                "md5": "40f073148fe0b2ffab24d3f791b73c2f",
                "sha256": "1924d54c1e4a51ac9eac65143a6baa75b2a4eb8bda0674139864c8b27e07fb1f"
            },
            "downloads": -1,
            "filename": "jdMacroPlayer-0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "40f073148fe0b2ffab24d3f791b73c2f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 250220,
            "upload_time": "2024-04-02T16:10:05",
            "upload_time_iso_8601": "2024-04-02T16:10:05.865579Z",
            "url": "https://files.pythonhosted.org/packages/d3/a3/c43ce67570f2ef1d28200b9f0652b0356fe3b95b6b1c4ce3be8b69be1f3b/jdMacroPlayer-0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "88a5adc8a041734c6d35d9369e3de5408c83c08d5962212951ebc387e980ff56",
                "md5": "be0a629ab139675139531175e827ffee",
                "sha256": "d2506899b6f35ab571f2c33eb305322352ba04035e26b373423018b9c7b9b105"
            },
            "downloads": -1,
            "filename": "jdMacroPlayer-0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "be0a629ab139675139531175e827ffee",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 231933,
            "upload_time": "2024-04-02T16:10:08",
            "upload_time_iso_8601": "2024-04-02T16:10:08.964914Z",
            "url": "https://files.pythonhosted.org/packages/88/a5/adc8a041734c6d35d9369e3de5408c83c08d5962212951ebc387e980ff56/jdMacroPlayer-0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-02 16:10:08",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": true,
    "codeberg_user": "JakobDev",
    "codeberg_project": "jdMacroPlayer",
    "lcname": "jdmacroplayer"
}
        
Elapsed time: 0.21817s