A library for providing inter-language foreign function interface calls
Project description
Abstract
METACALL Python Port is the port of METACALL to Python Programming Language. With METACALL Python Port you can transparently execute code from Python to any programming language, for example, calling JavaScript (NodeJS) code from Python.
sum.js
module.exports = function sum(a, b) {
return a + b;
};
main.py
from metacall import metacall_load_from_file, metacall
metacall_load_from_file('node', [ 'sum.js' ]);
metacall('sum', 3, 4); // 7
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
metacall-0.1.11.tar.gz
(9.3 kB
view hashes)
Built Distribution
Close
Hashes for metacall-0.1.11-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afe806e145e754dd7a853980117d47e56d398f2915469ca00eaffe1ab0cbebd2 |
|
MD5 | 861c33f133b13c1e5983a2183df3b632 |
|
BLAKE2b-256 | a7129fe43808a922509cf581e38cc34505dd795c3e19690c71ecb56c8936174d |