promiseapi


Namepromiseapi JSON
Version 1.0.0 PyPI version JSON
download
home_page
SummaryKind of like JavaScript promises (in Python!)
upload_time2023-06-04 16:26:27
maintainer
docs_urlNone
author
requires_python>=3.9
licenseMIT License Copyright (c) 2023 Carl Furtado Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords javascript promise async
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # PromiseAPI

Provides a Promise-like syntax for a JS Promise-like object in Python. It does not currently implement all methods (still a WIP), but the methods already implemented, such as `then`, `catch`, and `_finally`, do not behave exactly as they do in JavaScript. However, they behave similarly enough that similar code would not get too messed up. Examples are in `test.py`.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "promiseapi",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "javascript,promise,async",
    "author": "",
    "author_email": "Carl Furtado <carlzfurtado@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/ff/e5/e632e328909ac7b82d045f6e3516538028c82e261afb9e935dda7e7ea142/promiseapi-1.0.0.tar.gz",
    "platform": null,
    "description": "# PromiseAPI\r\n\r\nProvides a Promise-like syntax for a JS Promise-like object in Python. It does not currently implement all methods (still a WIP), but the methods already implemented, such as `then`, `catch`, and `_finally`, do not behave exactly as they do in JavaScript. However, they behave similarly enough that similar code would not get too messed up. Examples are in `test.py`.\r\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2023 Carl Furtado  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Kind of like JavaScript promises (in Python!)",
    "version": "1.0.0",
    "project_urls": {
        "Homepage": "https://github.com/User0332/promiseapi"
    },
    "split_keywords": [
        "javascript",
        "promise",
        "async"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "174dbbed111319cd2563aca5184ecebe418369d0537d9ad1f32bb61e711ea9b3",
                "md5": "46cc2df89664b5c56a8d305c41c69178",
                "sha256": "d4dd5f987bc96f724e6ac63de3115cc2d7f1089a9665c69091483314251e18f1"
            },
            "downloads": -1,
            "filename": "promiseapi-1.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "46cc2df89664b5c56a8d305c41c69178",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 4514,
            "upload_time": "2023-06-04T16:26:25",
            "upload_time_iso_8601": "2023-06-04T16:26:25.095520Z",
            "url": "https://files.pythonhosted.org/packages/17/4d/bbed111319cd2563aca5184ecebe418369d0537d9ad1f32bb61e711ea9b3/promiseapi-1.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ffe5e632e328909ac7b82d045f6e3516538028c82e261afb9e935dda7e7ea142",
                "md5": "0c6fd5298fc4c6c9669e8461a62d26be",
                "sha256": "d0b32b7677379914deef5728a963d4526109f51dd1edb3d51dbb174ff88cc011"
            },
            "downloads": -1,
            "filename": "promiseapi-1.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "0c6fd5298fc4c6c9669e8461a62d26be",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 3783,
            "upload_time": "2023-06-04T16:26:27",
            "upload_time_iso_8601": "2023-06-04T16:26:27.674005Z",
            "url": "https://files.pythonhosted.org/packages/ff/e5/e632e328909ac7b82d045f6e3516538028c82e261afb9e935dda7e7ea142/promiseapi-1.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-04 16:26:27",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "User0332",
    "github_project": "promiseapi",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "promiseapi"
}
        
Elapsed time: 0.07749s