Coder Social home page Coder Social logo

Comments (7)

trolldbois avatar trolldbois commented on June 8, 2024

Hmm yes sorry its related to trolldbois/clang#1 and a patch that did not go through LLVM last year.
The ctypeslib master branch should not have had that commited.
My bad.

I will try to find you a proper ctypeslib revision.
Can you pull from github ?

from ctypeslib.

luzfcb avatar luzfcb commented on June 8, 2024

I will need compile trolldbois/clang#1 with this patch or some binary (.deb package ) will be published in a few days?

from ctypeslib.

trolldbois avatar trolldbois commented on June 8, 2024

Well, if you are adventurous, you can compile llvm and clang from upstream with the patch above, then ctypeslib should work.

If you are less adventurous, you could a different ctypeslib :
Either a) [BEST CHOICE] the locality branch here https://github.com/trolldbois/ctypeslib/tree/locality , as it seems that branch does not contains reference to that patch.
or b) an commit around 1f59042 of branch master

If you are even less adventurous, you can wait for a few days.
Either the patch will go in LLVM/clang (it took 3 months for a review last time), or I might have fixed ctypeslib by then.

Question: Where did you get ctypeslib from ? What version are you running ?

from ctypeslib.

luzfcb avatar luzfcb commented on June 8, 2024

I get ctypeslib from the master branch. Version ctypeslib2-2.0rc3

I'm trying to get a way to access via Python the functions defined in this header NBioAPI_IndexSearch.h

ps. Sorry my ugly English. I do not speak English, but the google translator yes (with several manual corrections)

from ctypeslib.

luzfcb avatar luzfcb commented on June 8, 2024

I would like to understand how this project works, then some minimum documentation of how to properly use the parameters of clang2py would be good.

for example, NBioAPI_IndexSearch.h depends on a proprietary library in binary format ( libNBioBSP.so )

is need to do something else in this case?

from ctypeslib.

trolldbois avatar trolldbois commented on June 8, 2024

I will try to produce some documentation updates.

It seems that you want to have python bindings for the mbiosearch library.
I havent looked into python bindings generation framework for a while but I would recommend you look into http://www.swig.org/ or a similar project.
google:"how to create python bindings"

The state of ctypeslib is not necessarly mature enough.

from ctypeslib.

trolldbois avatar trolldbois commented on June 8, 2024

llvm clang is patched

from ctypeslib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.