Js2Py-wheel


NameJs2Py-wheel JSON
Version 0.74 PyPI version JSON
download
home_pagehttps://github.com/PiotrDabkowski/Js2Py
SummaryJavaScript to Python Translator & JavaScript interpreter written in 100% pure Python.
upload_time2024-10-27 04:42:46
maintainerNone
docs_urlNone
authorPiotr Dabkowski
requires_pythonNone
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            Fork of https://github.com/PiotrDabkowski/Js2Py to provide built wheel distribution based on https://pypi.org/project/pyjsparser-wheel/')

Translates JavaScript to Python code. Js2Py is able to translate and execute virtually any JavaScript code.

Js2Py is written in pure python and does not have any dependencies. Basically an implementation of JavaScript core in pure python.


    import js2py

    f = js2py.eval_js( "function $(name) {return name.length}" )

    f("Hello world")

    # returns 11

Now also supports ECMA 6 through js2py.eval_js6(js6_code)!

More examples at: https://github.com/PiotrDabkowski/Js2Py

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/PiotrDabkowski/Js2Py",
    "name": "Js2Py-wheel",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Piotr Dabkowski",
    "author_email": "piodrus@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/30/59/e080d8eb641f2ceea89677ab0c56d7a2a0858a0c4bb95813bad712b8d3e3/js2py_wheel-0.74.tar.gz",
    "platform": null,
    "description": "Fork of https://github.com/PiotrDabkowski/Js2Py to provide built wheel distribution based on https://pypi.org/project/pyjsparser-wheel/')\n\nTranslates JavaScript to Python code. Js2Py is able to translate and execute virtually any JavaScript code.\n\nJs2Py is written in pure python and does not have any dependencies. Basically an implementation of JavaScript core in pure python.\n\n\n    import js2py\n\n    f = js2py.eval_js( \"function $(name) {return name.length}\" )\n\n    f(\"Hello world\")\n\n    # returns 11\n\nNow also supports ECMA 6 through js2py.eval_js6(js6_code)!\n\nMore examples at: https://github.com/PiotrDabkowski/Js2Py\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "JavaScript to Python Translator & JavaScript interpreter written in 100% pure Python.",
    "version": "0.74",
    "project_urls": {
        "Homepage": "https://github.com/PiotrDabkowski/Js2Py"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7f589485878e03c64247fa37da9380acc6019be7f63059052d1f19b3699a5a6e",
                "md5": "adac9e30c063a2dd68cbe0a8e0686eb6",
                "sha256": "c5b4af26ce0a16c26190031ddafb495a998b35c46bf5959c7feb72f581d23ca7"
            },
            "downloads": -1,
            "filename": "Js2Py_wheel-0.74-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "adac9e30c063a2dd68cbe0a8e0686eb6",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 608306,
            "upload_time": "2024-10-27T04:42:44",
            "upload_time_iso_8601": "2024-10-27T04:42:44.226679Z",
            "url": "https://files.pythonhosted.org/packages/7f/58/9485878e03c64247fa37da9380acc6019be7f63059052d1f19b3699a5a6e/Js2Py_wheel-0.74-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3059e080d8eb641f2ceea89677ab0c56d7a2a0858a0c4bb95813bad712b8d3e3",
                "md5": "900f86260e0d51357bb032806bb63382",
                "sha256": "8670d73abf22b211173cfe70cf92f94aa36be61f43d44c65131f1d20bb26be04"
            },
            "downloads": -1,
            "filename": "js2py_wheel-0.74.tar.gz",
            "has_sig": false,
            "md5_digest": "900f86260e0d51357bb032806bb63382",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 567467,
            "upload_time": "2024-10-27T04:42:46",
            "upload_time_iso_8601": "2024-10-27T04:42:46.468244Z",
            "url": "https://files.pythonhosted.org/packages/30/59/e080d8eb641f2ceea89677ab0c56d7a2a0858a0c4bb95813bad712b8d3e3/js2py_wheel-0.74.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-27 04:42:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "PiotrDabkowski",
    "github_project": "Js2Py",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "js2py-wheel"
}
        
Elapsed time: 2.20947s