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.61.tar.gz (14.8 kB view details)

Uploaded Source

Built Distributions

coreir-2.0.61-cp37-cp37m-manylinux1_x86_64.whl (27.8 MB view details)

Uploaded CPython 3.7m

coreir-2.0.61-cp37-cp37m-macosx_10_14_x86_64.whl (4.8 MB view details)

Uploaded CPython 3.7m macOS 10.14+ x86-64

File details

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

File metadata

  • Download URL: coreir-2.0.61.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5

File hashes

Hashes for coreir-2.0.61.tar.gz
Algorithm Hash digest
SHA256 9f075504f22aed4053a753f99bc68c8c35ddcaaaf187d1335852ed488710078b
MD5 be16dfa96a335dc3d2f307da44950a9b
BLAKE2b-256 88c5299886ff6938f26cea7ffa64b7e2c9c607c4ca96018df3de2645531d4668

See more details on using hashes here.

File details

Details for the file coreir-2.0.61-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: coreir-2.0.61-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 27.8 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5

File hashes

Hashes for coreir-2.0.61-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 11a17fde5e207907088a65429818155295cfb7ab4e147a8db044e6bdd0ee1a4a
MD5 4c58e0fbdeb216850e4d5712ef1203e1
BLAKE2b-256 1077685f4b4fdc83673647fc80cc5d2b19d77d190e74931f69ab4f7f1e5c67a4

See more details on using hashes here.

File details

Details for the file coreir-2.0.61-cp37-cp37m-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: coreir-2.0.61-cp37-cp37m-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 4.8 MB
  • Tags: CPython 3.7m, macOS 10.14+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3

File hashes

Hashes for coreir-2.0.61-cp37-cp37m-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 b22da119bc8a5dcd8d7fea5bd3e4bdcf823dd6a9ded82e012f2b22e180930568
MD5 4f47e9e54a430c3335f4b989d25e9fb2
BLAKE2b-256 2fd3f7423a7c47ecaf881b546194d85c38353f8da337559be8fd7e7d5a8f74b9

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