Python bindings for CoreIR
Project description
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).
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
Built Distributions
File details
Details for the file coreir-2.0.121.tar.gz
.
File metadata
- Download URL: coreir-2.0.121.tar.gz
- Upload date:
- Size: 16.3 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58176188091868e821e0ed1f71d979e4092fea9de04b070d6526e0315c3770ff |
|
MD5 | 676a8f4a43345846a8f1ed4ccf3616b5 |
|
BLAKE2b-256 | e5b2a6b7056218bf5c8b9fe1234880cc1e26cd137664b9677f281c2090278d95 |
File details
Details for the file coreir-2.0.121-py3-none-manylinux1_x86_64.whl
.
File metadata
- Download URL: coreir-2.0.121-py3-none-manylinux1_x86_64.whl
- Upload date:
- Size: 31.0 MB
- Tags: Python 3
- 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdabf4fa34f82bfe531a5c3253764576ee91c848f6c1b0fbd1b2eeb8842792ba |
|
MD5 | c9a0bc509b25771dd822161ef7327049 |
|
BLAKE2b-256 | 0a1044ecb4e424a43d1e7f583f849c55b29c90e3d8802bf1a75ae8625a19fc5e |
File details
Details for the file coreir-2.0.121-py3-none-macosx_10_14_x86_64.whl
.
File metadata
- Download URL: coreir-2.0.121-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.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200925 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 715abad94eb69af02627f3539c936d46d7b6c6fc50e58ee3552b914dc04dc104 |
|
MD5 | 5d95dd44343d2916cac86514675d1e4b |
|
BLAKE2b-256 | 2197707c4c63440e63b164ccd451891aa8d9c449257f13af5793a2c1a8bda655 |