{ "info": { "author": "Yoshiyuki Mineo", "author_email": "Yoshiyuki.Mineo@sony.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Libraries" ], "description": "v8eval\n======\n\n|PyPI version| |Gem Version| |GoDoc|\n\nMulti-language bindings to JavaScript engine V8.\n\nCurrently v8eval provides Go, Python and Ruby bindings to the latest V8\n7.1 and supports Linux and Mac OS X. v8eval uses SWIG and can be\nextended easily for other languages.\n\nPre-installation\n----------------\n\nLinux\n^^^^^\n\nSee\n`Dockerfile `__.\n\nMac\n^^^\n\nSee\n`.travis.yml `__.\n\nInstallation\n------------\n\nThe installation takes several tens of minutes due to V8 build.\n\nGo\n^^\n\nv8eval requires Go 1.10 or later.\n\n::\n\n git clone https://github.com/sony/v8eval.git ${GOPATH}/src/github.com/sony/v8eval\n ${GOPATH}/src/github.com/sony/v8eval/go/build.sh install\n\nIn the case of Linux, you need to build your Go program with\n``build.sh``:\n\n::\n\n ${GOPATH}/src/github.com/sony/v8eval/go/build.sh go build\n\nPython\n^^^^^^\n\n::\n\n pip install v8eval\n\nRuby\n^^^^\n\n::\n\n gem install v8eval\n\nDocumentation\n-------------\n\n.. _go-1:\n\nGo\n^^\n\nSee `godoc.org `__.\n\n.. _python-1:\n\nPython\n^^^^^^\n\nYou can create the Sphinx documentation under python/docs.\n\n::\n\n python/build.sh docs\n\n.. _ruby-1:\n\nRuby\n^^^^\n\nYou can create the YARD documentation under ruby/doc.\n\n::\n\n ruby/build.sh docs\n\nExamples\n--------\n\n.. _go-2:\n\nGo\n^^\n\n.. code:: go\n\n import \"github.com/sony/v8eval/go/v8eval\"\n\n func Add(x, y int) int {\n var v8 = v8eval.NewV8()\n v8.Eval(\"var add = (x, y) => x + y;\", nil)\n\n var sum int\n v8.Call(\"add\", []int{x, y}, &sum)\n return sum\n }\n\n.. _python-2:\n\nPython\n^^^^^^\n\n.. code:: python\n\n import v8eval\n\n def add(x, y):\n v8 = v8eval.V8()\n v8.eval('var add = (x, y) => x + y;')\n return v8.call('add', [x, y])\n\n.. _ruby-2:\n\nRuby\n^^^^\n\n.. code:: ruby\n\n require 'v8eval'\n\n def add(x, y)\n v8 = V8Eval::V8.new\n v8.eval('var add = (x, y) => x + y;')\n v8.call('add', [x, y])\n end\n\nLicense\n-------\n\nThe MIT License (MIT)\n\nSee `LICENSE `__ for\ndetails.\n\n.. |PyPI version| image:: https://badge.fury.io/py/v8eval.svg\n :target: http://badge.fury.io/py/v8eval\n.. |Gem Version| image:: https://badge.fury.io/rb/v8eval.svg\n :target: https://badge.fury.io/rb/v8eval\n.. |GoDoc| image:: https://godoc.org/github.com/sony/v8eval/go/v8eval?status.svg\n :target: http://godoc.org/github.com/sony/v8eval/go/v8eval", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sony/v8eval", "keywords": "v8 js javascript binding", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "v8eval", "package_url": "https://pypi.org/project/v8eval/", "platform": "", "project_url": "https://pypi.org/project/v8eval/", "project_urls": { "Homepage": "https://github.com/sony/v8eval" }, "release_url": "https://pypi.org/project/v8eval/0.3.0/", "requires_dist": null, "requires_python": "", "summary": "Run JavaScript engine V8 in Python", "version": "0.3.0" }, "last_serial": 4484043, "releases": { "0.1.3": [ { "comment_text": "", "digests": { "md5": "4b880b2e51bd7ab0999673776687bdbc", "sha256": "0d9246d4f2c2c5cfeb4c3785913c7597aaac557d3557dd1f53bd6d04fa11dab4" }, "downloads": -1, "filename": "v8eval-0.1.3.tar.gz", "has_sig": false, "md5_digest": "4b880b2e51bd7ab0999673776687bdbc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8470, "upload_time": "2015-09-18T10:55:05", "url": "https://files.pythonhosted.org/packages/11/22/b66c8c9030c10703240e8a9afbdf6e5e86c90e40b93dcd58e3b2cef73d55/v8eval-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "c08c5c3435cddcbb03ca3a54d16c06e5", "sha256": "21edc04916cf3cc9b30234e1785fb289a124c94e05689d6bed1bcd2c014f8dd3" }, "downloads": -1, "filename": "v8eval-0.1.4.tar.gz", "has_sig": false, "md5_digest": "c08c5c3435cddcbb03ca3a54d16c06e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8683, "upload_time": "2015-09-24T02:51:23", "url": "https://files.pythonhosted.org/packages/a4/0f/fdef40a9368eb6d74bf2460c701de0a363347866e351ee4938c7bdea6fb5/v8eval-0.1.4.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "f9d9de6dfe50bdef330556f459487461", "sha256": "04fc1446a8dbe7a463864ea6a8d135c685360082ba76bd281d1ef35af313307c" }, "downloads": -1, "filename": "v8eval-0.2.1.zip", "has_sig": false, "md5_digest": "f9d9de6dfe50bdef330556f459487461", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16738, "upload_time": "2015-12-04T10:36:17", "url": "https://files.pythonhosted.org/packages/45/34/75571c5b18be27fa9c630a0de1a8e439e4f720e75f124d534e4db43ae372/v8eval-0.2.1.zip" } ], "0.2.10": [ { "comment_text": "", "digests": { "md5": "653d02016cd15a2977b7c12246920f05", "sha256": "f189932a9f8878355ceeecf6b3a649b53ecd2f787f4d33ebabf317e446675448" }, "downloads": -1, "filename": "v8eval-0.2.10.tar.gz", "has_sig": false, "md5_digest": "653d02016cd15a2977b7c12246920f05", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13635, "upload_time": "2017-10-11T10:08:17", "url": "https://files.pythonhosted.org/packages/34/5d/44b04a8b0b829443653c7b816b99d42233c927785fd9f0f9d691424e650d/v8eval-0.2.10.tar.gz" } ], "0.2.11": [ { "comment_text": "", "digests": { "md5": "089b1ef15759f262d4dd58e2c1874540", "sha256": "78f0a5d461cfcad1c6dca0f5cd98250ea9b37a0e17a07b3b2f17c93316bdc1d1" }, "downloads": -1, "filename": "v8eval-0.2.11.tar.gz", "has_sig": false, "md5_digest": "089b1ef15759f262d4dd58e2c1874540", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13657, "upload_time": "2018-01-10T06:48:05", "url": "https://files.pythonhosted.org/packages/c7/43/7dc380bc0bb20e55c4ab06b49af18de6402d43736f0b2aa6311164bade74/v8eval-0.2.11.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "666e9b1f177760a5968338e4e0fd06f9", "sha256": "ee7ccc1e3dc2f0e3969182c9097b69a0f5602cc5179a41995992383a6df5153e" }, "downloads": -1, "filename": "v8eval-0.2.2.tar.gz", "has_sig": false, "md5_digest": "666e9b1f177760a5968338e4e0fd06f9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12184, "upload_time": "2015-12-18T11:45:37", "url": "https://files.pythonhosted.org/packages/ba/2a/2b2583393c981628d537644e28af5e62e8b8fe8f8a85f781014cc16d283c/v8eval-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "7a506a4e7fcf27303caa00f10f2a6b35", "sha256": "81b9335e8b69c8873eebb03dc5f1f018bb6e528a42320ce9f1bb957fcc32e18a" }, "downloads": -1, "filename": "v8eval-0.2.3.tar.gz", "has_sig": false, "md5_digest": "7a506a4e7fcf27303caa00f10f2a6b35", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12644, "upload_time": "2016-04-27T01:54:41", "url": "https://files.pythonhosted.org/packages/65/3c/4ab2931b4c9c9f809ccce89df7bd4e7816a52d884af198dfca33656717d4/v8eval-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "99b6ec8d95e17c55eedaa06ce35e6c5e", "sha256": "a5d114ea522bd65dd385956e3bae699890cdfb0cbaa4177f5ea0155531dd9b47" }, "downloads": -1, "filename": "v8eval-0.2.4.tar.gz", "has_sig": false, "md5_digest": "99b6ec8d95e17c55eedaa06ce35e6c5e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12693, "upload_time": "2016-04-28T22:43:49", "url": "https://files.pythonhosted.org/packages/4d/68/a267fe597ca97622ec9b5f1c72de046a0f4b2ea55cf23c3d6dd4c149222a/v8eval-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "ba9f181ed94f07fa2673c5181c8e77f4", "sha256": "fb927a9ea0ed7d5f5e0e7dfdaa88873d85eab335714ddeafcf50ecec2da6984c" }, "downloads": -1, "filename": "v8eval-0.2.5.tar.gz", "has_sig": false, "md5_digest": "ba9f181ed94f07fa2673c5181c8e77f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13042, "upload_time": "2016-07-04T11:46:30", "url": "https://files.pythonhosted.org/packages/1d/da/0b05105fd34c5cccc1984aaa3032b430ef4eb668673331c2d376c6da3bee/v8eval-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "804e891997e7c4f79d4b8781c4852a6d", "sha256": "250b1dd81e3a83463539e9b8618aede004dfcf487768b2ef2cb3b57e24d9e793" }, "downloads": -1, "filename": "v8eval-0.2.6.tar.gz", "has_sig": false, "md5_digest": "804e891997e7c4f79d4b8781c4852a6d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13452, "upload_time": "2016-10-27T07:26:14", "url": "https://files.pythonhosted.org/packages/20/80/005b74301e3b15503f5abb158a0e893bb79fc0a45ece591c740805f474ae/v8eval-0.2.6.tar.gz" } ], "0.2.7": [ { "comment_text": "", "digests": { "md5": "247406d7bf698266d5e6904ea2dbf87a", "sha256": "d85d1045b769cf92062694dcb8ba6ab7391bb0a1d6491c2c0c30530d9863aa6c" }, "downloads": -1, "filename": "v8eval-0.2.7.tar.gz", "has_sig": false, "md5_digest": "247406d7bf698266d5e6904ea2dbf87a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13442, "upload_time": "2017-03-08T12:36:49", "url": "https://files.pythonhosted.org/packages/c9/a1/c895d00dec239469d8e0ff7888c2ab06fecf12bf89b2164b18ade7373e79/v8eval-0.2.7.tar.gz" } ], "0.2.8": [ { "comment_text": "", "digests": { "md5": "db16abb6a6f20dbf3d2c237bfc3e3245", "sha256": "b30de29f4606227f11fdacd71100e4668daecd829ebed7cf5f653e220a315ec4" }, "downloads": -1, "filename": "v8eval-0.2.8.tar.gz", "has_sig": false, "md5_digest": "db16abb6a6f20dbf3d2c237bfc3e3245", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13448, "upload_time": "2017-04-21T01:28:04", "url": "https://files.pythonhosted.org/packages/ff/2b/b8df779e35938dfd6167cbfb519c0f883dc4f2373c3418c4ce2cd8eae2f5/v8eval-0.2.8.tar.gz" } ], "0.2.9": [ { "comment_text": "", "digests": { "md5": "569adc8392e7bf211f5fdb32f0d9e9d2", "sha256": "c40ffac4a8481c8e84bf00208a9ce501bcb789f6f700a28afcf7f9041fbc7478" }, "downloads": -1, "filename": "v8eval-0.2.9.tar.gz", "has_sig": false, "md5_digest": "569adc8392e7bf211f5fdb32f0d9e9d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13525, "upload_time": "2017-06-01T06:20:19", "url": "https://files.pythonhosted.org/packages/a5/7a/9ed5b827220f849df0190c9587352aa850d38e30280283c0b93cd189abb7/v8eval-0.2.9.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "171e5040a6e21d0f278bfdc56fb9caa1", "sha256": "2ea2c8c154ce89f805f03faded76f9154d69221239cabd70c1181337d1b3a172" }, "downloads": -1, "filename": "v8eval-0.3.0.tar.gz", "has_sig": false, "md5_digest": "171e5040a6e21d0f278bfdc56fb9caa1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10709, "upload_time": "2018-11-14T03:01:18", "url": "https://files.pythonhosted.org/packages/0c/db/658e498b3ae3c7036291bffba660c81f2c1168639997dfd65bd75ae0d03a/v8eval-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "171e5040a6e21d0f278bfdc56fb9caa1", "sha256": "2ea2c8c154ce89f805f03faded76f9154d69221239cabd70c1181337d1b3a172" }, "downloads": -1, "filename": "v8eval-0.3.0.tar.gz", "has_sig": false, "md5_digest": "171e5040a6e21d0f278bfdc56fb9caa1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10709, "upload_time": "2018-11-14T03:01:18", "url": "https://files.pythonhosted.org/packages/0c/db/658e498b3ae3c7036291bffba660c81f2c1168639997dfd65bd75ae0d03a/v8eval-0.3.0.tar.gz" } ] }