goja-py


Namegoja-py JSON
Version 0.1.0 PyPI version JSON
download
home_pageNone
SummaryGoja ECMAScript 5.1 runtime for Python
upload_time2024-07-18 10:42:00
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseMIT License Copyright (c) 2024 Dmitriy Makeev 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 python3 goja javascript runtime
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Python Goja ECMAScript 5.1 runtime
########################################################

.. image:: https://github.com/DmitriyMakeev/goja-py/actions/workflows/build.yml/badge.svg?branch=main
  :alt: Build status

``goja-py`` a library that allows you to use the Goja ECMAScript 5.1 (JavaScript) runtime with Python.

.. code-block:: python

    from goja_py import execute

    assert execute('1 + 1;') == 2

Module tested on Python versions from 3.10 to 3.12.


TODO
""""""""""""""""""""""""""""""""""""""""""""""""""""""""

 - pass ``console.log()`` to ``logging.log()``
 - convert native types from JavaScript to Python
 - error handling

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "goja-py",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "python3, goja, javascript, runtime",
    "author": null,
    "author_email": "Dmitriy Makeev <makeev.dimitry@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/65/ab/7e406e79ff2303d84bf93724c629e68ca165f9e635774e4373f50e16fbed/goja_py-0.1.0.tar.gz",
    "platform": null,
    "description": "Python Goja ECMAScript 5.1 runtime\n########################################################\n\n.. image:: https://github.com/DmitriyMakeev/goja-py/actions/workflows/build.yml/badge.svg?branch=main\n  :alt: Build status\n\n``goja-py`` a library that allows you to use the Goja ECMAScript 5.1 (JavaScript) runtime with Python.\n\n.. code-block:: python\n\n    from goja_py import execute\n\n    assert execute('1 + 1;') == 2\n\nModule tested on Python versions from 3.10 to 3.12.\n\n\nTODO\n\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\n\n - pass ``console.log()`` to ``logging.log()``\n - convert native types from JavaScript to Python\n - error handling\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 Dmitriy Makeev  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": "Goja ECMAScript 5.1 runtime for Python",
    "version": "0.1.0",
    "project_urls": {
        "Source": "https://github.com/DmitriyMakeev/goja-py"
    },
    "split_keywords": [
        "python3",
        " goja",
        " javascript",
        " runtime"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "65ab7e406e79ff2303d84bf93724c629e68ca165f9e635774e4373f50e16fbed",
                "md5": "aaf2175b2ab2eb53f0757c247a9e1039",
                "sha256": "f94a6b50cfc75cf787aadc819295d9c478cde82be15fd1f16db05a53d2f78500"
            },
            "downloads": -1,
            "filename": "goja_py-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "aaf2175b2ab2eb53f0757c247a9e1039",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 4559,
            "upload_time": "2024-07-18T10:42:00",
            "upload_time_iso_8601": "2024-07-18T10:42:00.937461Z",
            "url": "https://files.pythonhosted.org/packages/65/ab/7e406e79ff2303d84bf93724c629e68ca165f9e635774e4373f50e16fbed/goja_py-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-18 10:42:00",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DmitriyMakeev",
    "github_project": "goja-py",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "goja-py"
}
        
Elapsed time: 0.52855s