Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A library for providing inter-language foreign function interface calls

Project description


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 MetaCall binaries first:

curl -sL | bash

Then install MetaCall Python package through MetaCall:

metacall pip3 install metacall



def multiply(left, right)
    return left * right

from metacall import metacall_load_from_file, metacall

metacall_load_from_file('rb', [ 'multiply.rb' ]);

metacall('multiply', 3, 4); # 12

Running the example:


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for metacall, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size metacall-0.4.0-py2.py3-none-any.whl (14.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size metacall-0.4.0.tar.gz (12.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page