Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python bindings for enry #154

Open
2 of 4 tasks
bzz opened this issue Aug 17, 2018 · 4 comments
Open
2 of 4 tasks

Python bindings for enry #154

bzz opened this issue Aug 17, 2018 · 4 comments
Assignees

Comments

@bzz
Copy link
Contributor

bzz commented Aug 17, 2018

Same way as we have Java bindings for enry, wrapping a Go library built with -buildmode=c-shared it would be nice to have one for Python using ctypes FFI cffi or something similar.

Particular use case: one want to use https://github.com/bblfsh/sonar-checks/ API that would require knowing a language the file-to-be-checked is written in, to choose the write checks.

TODOs

@vmarkovtsev
Copy link
Collaborator

ctypes is an ancient deprecated way, cool kids use cffi.

@bzz
Copy link
Contributor Author

bzz commented Aug 21, 2018

This is just nice-to-have for now: the use case listed above is addressed in lookout by incorporating language in DataServer API src-d/lookout#131

@bzz
Copy link
Contributor Author

bzz commented Aug 5, 2019

I've started adding it during OSD and will push simple WIP with CPython extension by cffi soon

@kuba-- kuba-- assigned kuba-- and bzz and unassigned kuba-- Sep 19, 2019
@bzz
Copy link
Contributor Author

bzz commented Oct 14, 2019

Issue description updated to include the scope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants