exectools-vrb


Nameexectools-vrb JSON
Version 0.0.3 PyPI version JSON
download
home_pageNone
SummaryVarious tools to execute functions in python
upload_time2024-09-05 09:54:00
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # exectools_vrb

Various tools to execute functions in python.

  - On PyPI: https://pypi.org/project/exectools-vrb/
  - On GitHub: https://github.com/v-r-b/exectools_vrb 

This module defines:

```function try_run()```
  
Exception proof function call. If the call succeeds, return the result of func.
If not, repeat the call under certain circumstances instead of raising an
exception immediately. Can be used if exceptions are expected, e.g. TimeoutErrors.

```type TryRunLogFunc```
  
Function type for logging exceptions to be used with in try_run(). 

```class TaskOnRequestThread```

Thread class which carries out a task (spefified by a callback
function) whenever it is requested to do so (by setting a flag).
There's also a method which will run this task periodically.
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "exectools-vrb",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "volker <volker@vrbdev.eu>",
    "keywords": null,
    "author": null,
    "author_email": "volker <volker@vrbdev.eu>",
    "download_url": "https://files.pythonhosted.org/packages/2d/43/fcec973ac346f3d15a5cef4ad614baa1260143f6a5b85c5ac109e874bc72/exectools_vrb-0.0.3.tar.gz",
    "platform": null,
    "description": "# exectools_vrb\n\nVarious tools to execute functions in python.\n\n  - On PyPI: https://pypi.org/project/exectools-vrb/\n  - On GitHub: https://github.com/v-r-b/exectools_vrb \n\nThis module defines:\n\n```function try_run()```\n  \nException proof function call. If the call succeeds, return the result of func.\nIf not, repeat the call under certain circumstances instead of raising an\nexception immediately. Can be used if exceptions are expected, e.g. TimeoutErrors.\n\n```type TryRunLogFunc```\n  \nFunction type for logging exceptions to be used with in try_run(). \n\n```class TaskOnRequestThread```\n\nThread class which carries out a task (spefified by a callback\nfunction) whenever it is requested to do so (by setting a flag).\nThere's also a method which will run this task periodically.",
    "bugtrack_url": null,
    "license": null,
    "summary": "Various tools to execute functions in python",
    "version": "0.0.3",
    "project_urls": {
        "Homepage": "https://github.com/v-r-b/exectools_vrb",
        "Issues": "https://github.com/v-r-b/exectools_vrb/issues"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8a4216c10d32f376c0eec4da576fdb595ea0a53134d6b3197b7a905054522fec",
                "md5": "bca6b5dedf27f6e371e544f58119ed63",
                "sha256": "571bd1ffb9aca03ecb0fe07a19fc1eb6122d26e1e084c3bbb290aadb85ba140c"
            },
            "downloads": -1,
            "filename": "exectools_vrb-0.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bca6b5dedf27f6e371e544f58119ed63",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 18840,
            "upload_time": "2024-09-05T09:53:59",
            "upload_time_iso_8601": "2024-09-05T09:53:59.063215Z",
            "url": "https://files.pythonhosted.org/packages/8a/42/16c10d32f376c0eec4da576fdb595ea0a53134d6b3197b7a905054522fec/exectools_vrb-0.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2d43fcec973ac346f3d15a5cef4ad614baa1260143f6a5b85c5ac109e874bc72",
                "md5": "796f9f4971426ce9fba03dc36e586568",
                "sha256": "4e2c5f4fc00a85df1ca8da0537468c65b746af5c15c39d789e9b90252fe57cca"
            },
            "downloads": -1,
            "filename": "exectools_vrb-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "796f9f4971426ce9fba03dc36e586568",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 17766,
            "upload_time": "2024-09-05T09:54:00",
            "upload_time_iso_8601": "2024-09-05T09:54:00.698871Z",
            "url": "https://files.pythonhosted.org/packages/2d/43/fcec973ac346f3d15a5cef4ad614baa1260143f6a5b85c5ac109e874bc72/exectools_vrb-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-05 09:54:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "v-r-b",
    "github_project": "exectools_vrb",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "exectools-vrb"
}
        
Elapsed time: 1.32337s