Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luzfcb/nbio-python-wrapper-tests
my attempts and learn to create python wrappers to access C/C++ libraries for a real application
https://github.com/luzfcb/nbio-python-wrapper-tests
Last synced: 25 days ago
JSON representation
my attempts and learn to create python wrappers to access C/C++ libraries for a real application
- Host: GitHub
- URL: https://github.com/luzfcb/nbio-python-wrapper-tests
- Owner: luzfcb
- Created: 2014-09-02T20:59:49.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-15T16:35:53.000Z (almost 10 years ago)
- Last Synced: 2024-04-16T02:29:23.025Z (7 months ago)
- Language: C
- Size: 2.56 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
nbio-python-wrapper-tests
=========================> Only for tests. Actually still does not work.
my attempts and learn to create python wrappers to access C/C++ libraries for a real application.
Is a Python extension based on the Nitgen SDK for Linux. It currently supports Nitgen fingerprint recognition devices such as Fingkey Hamster DX
The headers files `NBioAPI.h`, `NBioAPI_Basic.h`, `NBioAPI_CheckValidity.h`, `NBioAPI_Error.h`, `NBioAPI_Export.h`, `NBioAPI_ExportType.h`, `NBioAPI_ImgConv.h`, `NBioAPI_IndexSearch.h`, `NBioAPI_IndexSearchType.h`, `NBioAPI_NSearch.h`, `NBioAPI_NSearchType.h`, `NBioAPI_Type.h`, all rights reserved to Nitgen Co., Ltd.
## First approach - Using pybindgen
### Usage
Install `pybindgen`
`pip install pybindgen`
Run `nbio_pybindgen_wrapper_generate_test.py.py`
`python nbio_pybindgen_wrapper_generate_test.py.py`
## Second approach-Using pure ctypes
### Usage
simple run `nbio_ctypes_test.py`
http://unix.stackexchange.com/questions/72437/how-to-grant-non-root-user-access-to-device-files
http://unix.stackexchange.com/questions/111593/allow-non-root-user-to-read-write-dev-files
http://unix.stackexchange.com/questions/44308/understanding-udev-rules-and-permissions-in-libusb