Open
Description
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
- Initial PoC: exposes 1-2 API (e.g \wo slices) Initial cffi bindings for python #245
- Minimal: expose only high-level language detection API python: expose highest-level API #250
(usable from Jupiter, after a manual build to enable Language detection accuracy measurements #246) - Installable: expose all existing API, with the documentation and setup script
pip install -e git+https://github.com/src-d/enry.git#egg=python
- Publish: add new release profile to CI for
- building
.whl
(linux, macOS) - publishing on pypi
- building