GithubHelp home page GithubHelp logo

ukosuagwu / libclang Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sighingnow/libclang

0.0 0.0 0.0 185 KB

(Unofficial) Release libclang (clang.cindex) on pypi.

Home Page: https://pypi.org/project/libclang

License: Other

Python 100.00%

libclang's Introduction

libclang-for-pip

PyPI Python Downloads License

Arch: x86_64 Arch: aarch64 Arch: arm

Windows Windows AArch64 Linux MacOS Linux Arm Linux AArch64 Linux Alpine

The repository contains code that taken from the LLVM project, to make it easier to install clang's python bindings.

The repository copies necessary Python binding files from LLVM repo, and adds packaging scripts to make it a valid Python package, the uploads the package to pypi. To make the libclang available without install the LLVM toolkits, this package provides bundled static-linked libclang shared library for different platforms, which, should work well on OSX, Windows, as well as usual Linux distributions.

The aim of this project is to make the clang.cindex (aka., Clang Python Bindings) available for more Python users, without setting up the LLVM environment. To install the package, you just need to run

pip install libclang

Note that the library is named libclang, the package clang on PyPi is another package and doesn't bundle the prebuilt shared library.

Internals

Update class variable library_path of Config in cindex.py as:

    library_path = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'native')

License

This repository follows the license agreement of the LLVM project, see Apache-2.0 WITH LLVM-exception.

libclang's People

Contributors

sighingnow avatar nabhoneel avatar pbo-linaro avatar torfinnberset avatar ukosuagwu avatar

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.