wrapenv


Namewrapenv JSON
Version 0.1.4 PyPI version JSON
download
home_pagehttps://github.com/AMueckl/WrapEnv
SummaryA wrapper for callable functions with environments to register pre- and post-processing functions checks and modifications.
upload_time2023-05-22 23:02:44
maintainer
docs_urlNone
authorAMueckl
requires_python>=3.7,<4.0
license
keywords wrapper preprocessing postprocessing
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # WrapEnv

An environment that can hold several callable functions along with pre- and post-processing
functions and auxilary environment. It is intended to be used as a wrapper for a function that
is to be called in a different environment than the one it was defined in.

## Installation

As usual, you can install the package using pip:

```bash
pip install wrapenv
```

## Usage

The package provides an instance of the class `ENVIRONMENT` that can be used as a decorator for functions that
are to be wrapped. As the instance is a global variable, it can be used from anywhere in the code (even in other modules).

The example in the [EXAMPLES](https://github.com/AMueckl/WrapEnv/blob/main/examples/README.md) folder demonstrates how to use the `ENVIRONMENT` instance to wrap a 
function that is to be called in a different environment than the one it was defined in.


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/AMueckl/WrapEnv",
    "name": "wrapenv",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7,<4.0",
    "maintainer_email": "",
    "keywords": "wrapper,preprocessing,postprocessing",
    "author": "AMueckl",
    "author_email": "AMueckl@users.noreply.github.com",
    "download_url": "https://files.pythonhosted.org/packages/f5/71/d246cc8af31acc0e4265e6b6c9ffb2ab8d3c91f1cb59be3f658250a93eab/wrapenv-0.1.4.tar.gz",
    "platform": null,
    "description": "# WrapEnv\n\nAn environment that can hold several callable functions along with pre- and post-processing\nfunctions and auxilary environment. It is intended to be used as a wrapper for a function that\nis to be called in a different environment than the one it was defined in.\n\n## Installation\n\nAs usual, you can install the package using pip:\n\n```bash\npip install wrapenv\n```\n\n## Usage\n\nThe package provides an instance of the class `ENVIRONMENT` that can be used as a decorator for functions that\nare to be wrapped. As the instance is a global variable, it can be used from anywhere in the code (even in other modules).\n\nThe example in the [EXAMPLES](https://github.com/AMueckl/WrapEnv/blob/main/examples/README.md) folder demonstrates how to use the `ENVIRONMENT` instance to wrap a \nfunction that is to be called in a different environment than the one it was defined in.\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A wrapper for callable functions with environments to register pre- and post-processing functions checks and modifications.",
    "version": "0.1.4",
    "project_urls": {
        "Homepage": "https://github.com/AMueckl/WrapEnv",
        "Repository": "https://github.com/AMueckl/WrapEnv"
    },
    "split_keywords": [
        "wrapper",
        "preprocessing",
        "postprocessing"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "882286e154cbdfe1bf6ca9850012334d0872858f5ec45a6aaf603b57196294b7",
                "md5": "e52e5342fdb2fa3a25ef5e62f0f082fe",
                "sha256": "011bf47e2064da70eb4a39488a0395abbcc85eb817636fb5cfd167aa9d92a6b6"
            },
            "downloads": -1,
            "filename": "wrapenv-0.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e52e5342fdb2fa3a25ef5e62f0f082fe",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7,<4.0",
            "size": 4720,
            "upload_time": "2023-05-22T23:02:42",
            "upload_time_iso_8601": "2023-05-22T23:02:42.662261Z",
            "url": "https://files.pythonhosted.org/packages/88/22/86e154cbdfe1bf6ca9850012334d0872858f5ec45a6aaf603b57196294b7/wrapenv-0.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f571d246cc8af31acc0e4265e6b6c9ffb2ab8d3c91f1cb59be3f658250a93eab",
                "md5": "c8aec26119b091bfc636909e82e44c08",
                "sha256": "4a8c40077c9db7f480a565d3c89b3ec06cef7982450a4ce662fba14b95d53e0a"
            },
            "downloads": -1,
            "filename": "wrapenv-0.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "c8aec26119b091bfc636909e82e44c08",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7,<4.0",
            "size": 3929,
            "upload_time": "2023-05-22T23:02:44",
            "upload_time_iso_8601": "2023-05-22T23:02:44.199122Z",
            "url": "https://files.pythonhosted.org/packages/f5/71/d246cc8af31acc0e4265e6b6c9ffb2ab8d3c91f1cb59be3f658250a93eab/wrapenv-0.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-22 23:02:44",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "AMueckl",
    "github_project": "WrapEnv",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "wrapenv"
}
        
Elapsed time: 0.08742s