Skip to main content

Python bindings for CoreIR

Project description

Build Status

Ultralight Python bindings for coreir using ctypes.

pip install coreir

The Python package comes with a wheel that contains a pre-built CoreIR binary supporting manylinux and MacOS. If the package finds a pre-existing installation of CoreIR (e.g. compiled from source), it will default to using that rather than the shipped binary (this enables you to override the package binary if, for example, you're using a development version to test a new feature).

CHANGELOG

Development Setup

Install a local working copy to your python packages using

pip install -e .

NOTE: When working with an editable link, as of 7/31/19, pip uninstall coreir will not correctly remove the installed script (see https://github.com/pypa/pip/issues/5997), a workaround is to remove the scrip manually when uninstalling, (e.g. rm ~/miniconda3/bin/coreir)

To run the tests

pip install pytest
pytest

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.

Files for coreir, version 2.0.131
Filename, size File type Python version Upload date Hashes
Filename, size coreir-2.0.131-py3-none-macosx_10_14_x86_64.whl (8.6 MB) File type Wheel Python version py3 Upload date Hashes View
Filename, size coreir-2.0.131-py3-none-manylinux1_x86_64.whl (31.6 MB) File type Wheel Python version py3 Upload date Hashes View
Filename, size coreir-2.0.131.tar.gz (16.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page