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.113.tar.gz
.
File metadata
- Download URL: coreir-2.0.113.tar.gz
- Upload date:
- Size: 16.1 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 | a82214ebc9aafb98c731e2eddb56caa9ec1220028783ecb0f1c55e4182fe3ac9 |
|
MD5 | f72ef974eeae8d9d8619f10b48ddce41 |
|
BLAKE2b-256 | a9105fa3dc3341e60ebdf43b288834588b0ca9dc56f62dd9183292c9aff70a43 |
File details
Details for the file coreir-2.0.113-py3-none-manylinux1_x86_64.whl
.
File metadata
- Download URL: coreir-2.0.113-py3-none-manylinux1_x86_64.whl
- Upload date:
- Size: 30.9 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 | 58cdace15c61b09fa827fcc10b98507b55087d5c46d3acc72cab0de7c7a7e9e8 |
|
MD5 | bad8237fc5f46e997ffd813f2f6ca042 |
|
BLAKE2b-256 | 55ebd3b3db4b961c07b74c8d4adf2aa5ed38062306361c43bcdab896e5eb22f6 |
File details
Details for the file coreir-2.0.113-py3-none-macosx_10_14_x86_64.whl
.
File metadata
- Download URL: coreir-2.0.113-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.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db0602340d443fa05529f6893d7413a211c7726584a5694e420fada84a12a474 |
|
MD5 | 6e00ba7064b22d75e8fb4046a3192125 |
|
BLAKE2b-256 | 086b037c4809435a0661e288d387f723229aecfdd2b5be6a89df75e2efc6ca64 |