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.

Source Distribution

coreir-2.0.127.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

coreir-2.0.127-py3-none-macosx_10_14_x86_64.whl (8.6 MB view details)

Uploaded Python 3 macOS 10.14+ x86-64

File details

Details for the file coreir-2.0.127.tar.gz.

File metadata

  • Download URL: coreir-2.0.127.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for coreir-2.0.127.tar.gz
Algorithm Hash digest
SHA256 8aedc9715ea6a0aa36c1e6e9230618f6820163d5a92553285be136340817044b
MD5 a04890eac657cbb28b5147d80ef907cf
BLAKE2b-256 5a4847e7db90490a96f1431b1717e223e7e8f53a3c0716e74c9e238d4e8a378d

See more details on using hashes here.

File details

Details for the file coreir-2.0.127-py3-none-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: coreir-2.0.127-py3-none-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 8.6 MB
  • Tags: Python 3, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.0.post20201006 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.3

File hashes

Hashes for coreir-2.0.127-py3-none-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 5c7411e0b44afa3386ed170739001061d7ef477909106f4cd3df95d997931fe9
MD5 f34a2b6e921e185201bad2b61ab8a200
BLAKE2b-256 07ac591665e51774be5d2554aa72c77da390d757df08e922c320dd1ec7324122

See more details on using hashes here.

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