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 details)

Uploaded Source

File details

Details for the file pymetabiosis-0.0.1.tar.gz.

File metadata

  • Download URL: pymetabiosis-0.0.1.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pymetabiosis-0.0.1.tar.gz
Algorithm Hash digest
SHA256 ae03ae59486ab0c33e7b339baff383da0e4f3f5061cfc7344c3a34ecba6fb377
MD5 f53e3dd1c6bf08e0fea36708bbf95a12
BLAKE2b-256 d3c151c1272868c5c5f3942e2f9ccc64bceb86ac386f4156fd4e63b47339e6bf

See more details on using hashes here.

Supported by

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