subprocreg


Namesubprocreg JSON
Version 0.10 PyPI version JSON
download
home_pagehttps://github.com/hansalemaos/subprocreg
SummaryExecute apps using subprocess ([in]visible) + regedit.exe path search
upload_time2023-06-06 01:34:51
maintainer
docs_urlNone
authorJohannes Fischer
requires_python
licenseMIT
keywords subprocess regedit
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Execute apps using subprocess ([in]visible) + regedit.exe path search 

## pip install subprocreg

#### Tested against Windows 10 / Python 3.10 / Anaconda


```python
    Args:
        file (str): The file to be opened by the application.
        path (str): The path to the application executable (file path/or reg path)
        exit_keys (str, optional): The key combination to exit the application. Defaults to "ctrl+alt+o".
        add_options (tuple, optional): Additional options to pass to the application. Defaults to ().
        headless (bool, optional): Whether to run the application in headless mode. Defaults to True.
        **kwargs: Additional keyword arguments to pass to the subprocess.Popen() function.

    Returns:
        subprocess.Popen: A Popen object representing the executed application process.
    Examples:
        from subprocreg import execute_app
        proc=execute_app(
            file=r"F:\4 Promille - Oi the Meeting.mp3",
            path=(r"HKEY_CLASSES_ROOT\Directory\shell\AddToPlaylistVLC", "Icon"),
            exit_keys="ctrl+q",
            add_options=(
                "--input-repeat=0",
                "-Idummy",
                "--play-and-exit",
                "--qt-minimal-view",
            ),
            headless=True,

        )
        proc=execute_app(
            file=r"C:\ProgramData\anaconda3\envs\dfdir\gracefully_kill.py",
            path=r"C:\Windows\System32\notepad.exe",
            exit_keys="ctrl+b",
            add_options=(),
            headless=False,

        )
```		

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hansalemaos/subprocreg",
    "name": "subprocreg",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "subprocess,regedit",
    "author": "Johannes Fischer",
    "author_email": "aulasparticularesdealemaosp@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/3e/1a/9a9559e069bdd322edb4bf8d6fe75be39117c515de315046aee9a7e13447/subprocreg-0.10.tar.gz",
    "platform": null,
    "description": "\r\n# Execute apps using subprocess ([in]visible) + regedit.exe path search \r\n\r\n## pip install subprocreg\r\n\r\n#### Tested against Windows 10 / Python 3.10 / Anaconda\r\n\r\n\r\n```python\r\n    Args:\r\n        file (str): The file to be opened by the application.\r\n        path (str): The path to the application executable (file path/or reg path)\r\n        exit_keys (str, optional): The key combination to exit the application. Defaults to \"ctrl+alt+o\".\r\n        add_options (tuple, optional): Additional options to pass to the application. Defaults to ().\r\n        headless (bool, optional): Whether to run the application in headless mode. Defaults to True.\r\n        **kwargs: Additional keyword arguments to pass to the subprocess.Popen() function.\r\n\r\n    Returns:\r\n        subprocess.Popen: A Popen object representing the executed application process.\r\n    Examples:\r\n        from subprocreg import execute_app\r\n        proc=execute_app(\r\n            file=r\"F:\\4 Promille - Oi the Meeting.mp3\",\r\n            path=(r\"HKEY_CLASSES_ROOT\\Directory\\shell\\AddToPlaylistVLC\", \"Icon\"),\r\n            exit_keys=\"ctrl+q\",\r\n            add_options=(\r\n                \"--input-repeat=0\",\r\n                \"-Idummy\",\r\n                \"--play-and-exit\",\r\n                \"--qt-minimal-view\",\r\n            ),\r\n            headless=True,\r\n\r\n        )\r\n        proc=execute_app(\r\n            file=r\"C:\\ProgramData\\anaconda3\\envs\\dfdir\\gracefully_kill.py\",\r\n            path=r\"C:\\Windows\\System32\\notepad.exe\",\r\n            exit_keys=\"ctrl+b\",\r\n            add_options=(),\r\n            headless=False,\r\n\r\n        )\r\n```\t\t\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Execute apps using subprocess ([in]visible) + regedit.exe path search",
    "version": "0.10",
    "project_urls": {
        "Homepage": "https://github.com/hansalemaos/subprocreg"
    },
    "split_keywords": [
        "subprocess",
        "regedit"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0c221e96fce791d5b3194e3e027ab73e6cafe0a8f324debb035abae41b17672c",
                "md5": "9664fc3c00382c059bc46cb9218ef384",
                "sha256": "0303d70ba9f949e1a4d4b8438ad61cb5f7f900196f8ac5eadec44228d975d662"
            },
            "downloads": -1,
            "filename": "subprocreg-0.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "9664fc3c00382c059bc46cb9218ef384",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 6222,
            "upload_time": "2023-06-06T01:34:50",
            "upload_time_iso_8601": "2023-06-06T01:34:50.347842Z",
            "url": "https://files.pythonhosted.org/packages/0c/22/1e96fce791d5b3194e3e027ab73e6cafe0a8f324debb035abae41b17672c/subprocreg-0.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3e1a9a9559e069bdd322edb4bf8d6fe75be39117c515de315046aee9a7e13447",
                "md5": "dd06710c8a4933741ff69d90a329c82d",
                "sha256": "1597e9513d1eb449e834cf4762d70bcff98f31a0e46718f7cdc827a5ab0594e1"
            },
            "downloads": -1,
            "filename": "subprocreg-0.10.tar.gz",
            "has_sig": false,
            "md5_digest": "dd06710c8a4933741ff69d90a329c82d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4143,
            "upload_time": "2023-06-06T01:34:51",
            "upload_time_iso_8601": "2023-06-06T01:34:51.756309Z",
            "url": "https://files.pythonhosted.org/packages/3e/1a/9a9559e069bdd322edb4bf8d6fe75be39117c515de315046aee9a7e13447/subprocreg-0.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-06 01:34:51",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hansalemaos",
    "github_project": "subprocreg",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "subprocreg"
}
        
Elapsed time: 0.24855s