Skip to main content

Python bindings for CoreIR

Project description

Linux Test MacOS Test

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

Uploaded Source

Built Distribution

coreir-2.0.154-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (35.5 MB view details)

Uploaded Python 3 manylinux: glibc 2.5+ x86-64

File details

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

File metadata

  • Download URL: coreir-2.0.154.tar.gz
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for coreir-2.0.154.tar.gz
Algorithm Hash digest
SHA256 b95d82184f6160c4bb45160cd6b0bc1ed00e28a9432b466242b0edc89766a062
MD5 fc92ed2ebecf5064a515e4b6d3b06281
BLAKE2b-256 ab2925d4a0ceeebc0722ad96353c3efa572b27a65c70032254d37319fa0d5f0d

See more details on using hashes here.

File details

Details for the file coreir-2.0.154-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for coreir-2.0.154-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 32fa69bea3f3f8c1a8e9e057f34e510e086b85be063d90fa04a2115ac19d799e
MD5 0183f2b3effb81a7233bc7c969e6e8ab
BLAKE2b-256 20f11e21ce7f6e8fa0dc5c8fa28f56577e33d1dd49514fa3d586791947295db4

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