MetaCall Fn.py JavaScript Example
February 13, 2021 ยท View on GitHub
An example of using Fn.py (Python) from JavaScript (NodeJS) with MetaCall.
Install
# Install MetaCall CLI
curl -sL https://raw.githubusercontent.com/metacall/install/master/install.sh | sh
# Install the dependencies
metacall pip3 install -r requirements.txt
Run it
metacall index.js
Docker
docker build --build-arg CACHE_INVALIDATE=`date +%s` -t metacall/fnpy-javascript-example .
docker run --rm -it metacall/fnpy-javascript-example