This repository contains an example of Python code executing JavaScript code from an NPM package using PythonMonkey. The Python code here is a web server that uses the CryptoJS NPM package to encrypt and decrypt messages using AES.
PythonMonkey is a Python library for executing JavaScript code in Python and Python code in JavaScript. Check out our website https://pythonmonkey.io/!
$ pip install pythonmonkey
$ npm install
$ python3 main.py
Open http://localhost:9000/ on your browser
For simpler and more comprehensive examples showing off Promises, WebAssembly and more PythonMonkey features, refer to https://github.com/Distributive-Network/PythonMonkey-examples/.