Skip to main content

A way of using CPython 2's C extension modules on other cffi compatible Python implementations

Project description

A bridge between PyPy and CPython that works by embedding CPython, its main purpose it to allow you to use any CPython module on PyPy (including C extensions).

  • PyMetabiosis tries to link with the python command available on $PATH, however you can override this (if you want to use a virtualenv and/or if “python” points to PyPy) by setting the PYTHON_EMBED environment variable to a virtualenv (or /usr)

  • Use pymetabiosis.module.import_module to import cpython modules on PyPy

Installation

Before pip installing the package, you must set the PYTHON_EMBED environment variable to a Python virtualenv (or /usr) and then do pip install git+https://github.com/rguillebert/pymetabiosis

Project details


Download files

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

Source Distribution

pymetabiosis-0.0.1.tar.gz (13.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page