Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/achimnol/pykorea-cext-examples
A series of C API examples taken & modified from http://dan.iel.fm/posts/python-c-extensions/ and https://gist.github.com/beaylott/3313315
https://github.com/achimnol/pykorea-cext-examples
Last synced: 4 days ago
JSON representation
A series of C API examples taken & modified from http://dan.iel.fm/posts/python-c-extensions/ and https://gist.github.com/beaylott/3313315
- Host: GitHub
- URL: https://github.com/achimnol/pykorea-cext-examples
- Owner: achimnol
- Created: 2013-05-17T15:34:08.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-17T17:57:57.000Z (over 11 years ago)
- Last Synced: 2024-10-11T10:17:30.468Z (27 days ago)
- Language: C
- Size: 160 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
pykorea-cext-examples
=====================A series of C API examples taken & modified from http://dan.iel.fm/posts/python-c-extensions/ and https://gist.github.com/beaylott/3313315
Requirements
------------
이 예제는 Ubuntu 12.04 64bit Server Edition, C Python 3.3.0 (개발용 header
파일 포함), NumPy 1.7, Cython 0.19.1, CFFI 0.6 환경에서 테스트하였습니다.
NumPy, Cython, CFFI 모두 pip를 이용해 설치하실 수 있습니다.chi2-capi
---------
* 컴파일 방법 : `python3 setup.py build_ext --inplace`
* 테스트 방법 : `python3 test.py`chi2-ctypes
-----------
* 컴파일 방법 : `python3 setup.py build_ext --inplace`
* 테스트 방법 : `python3 test.py`chi2-cython
-----------
* 컴파일 방법 : `python3 setup.py build_ext --inplace`
* 테스트 방법 : `python3 test.py`chi2-cffi
-----------
* 컴파일 방법 : `python3 setup.py build_ext --inplace`
* 테스트 방법 : `python3 test.py`