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, Ruby or C# code from Python.
Install
Install MetaCall binaries first:
curl -sL https://raw.githubusercontent.com/metacall/install/master/install.sh | bash
Then install Python package:
pip install metacall
Example
multiply.rb
def multiply(left, right)
return left * right
end
main.py
from metacall import metacall_load_from_file, metacall
metacall_load_from_file('rb', [ 'multiply.rb' ]);
metacall('multiply', 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.14.tar.gz
(8.1 kB
view hashes)
Built Distribution
Close
Hashes for metacall-0.1.14-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6950a4166353c7ef4f087ba7c7f19a927af4479640a3d2c1329fec882a54831d |
|
MD5 | 661f19afccc3f3244e42aa74bc1e7a1b |
|
BLAKE2b-256 | 022cdc86a7e815c08ec0c1b691317d10c981cc82a82be48961bab5eed8b02400 |