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

Uploaded Source

Built Distribution

coreir-2.0.146-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (35.4 MB view details)

Uploaded Python 3 manylinux: glibc 2.5+ x86-64

File details

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

File metadata

  • Download URL: coreir-2.0.146.tar.gz
  • Upload date:
  • Size: 18.6 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.146.tar.gz
Algorithm Hash digest
SHA256 f5b9be24c15d8791ec5b0502713cf2f8987ccddc90126afc36884842c188bdc5
MD5 5419a3b2fa1ccd3c93a3fd272f18de4f
BLAKE2b-256 7f4d88bf0bd2fef816e8ad1f59c7ae60df0225a3dbfab62cfbba47db603d5e06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for coreir-2.0.146-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 c409e60347ebe69f337e64ef5b930932dfcf3dcebb30d17d70bac2a5fd22e3d5
MD5 4d3dd773eb847fa3cbdd6cfb2e9a10d3
BLAKE2b-256 d2d9fefc64d5e7e559457cc750d664d8c2329ee5fb66eb399e895075c98b2c43

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