Skip to main content

Clang Python Bindings, mirrored from the official LLVM repo: https://github.com/llvm/llvm-project/tree/main/clang/bindings/python, to make the installation process easier.

Project description

libclang-for-pip

PyPI Python Downloads License

Arch: x86_64 Arch: aarch64

Linux MacOS Windows

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

The repository copys 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 setup 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

libclang-13.0.0-py2.py3-none-win_arm64.whl (12.1 MB view details)

Uploaded Python 2Python 3Windows ARM64

libclang-13.0.0-py2.py3-none-win_amd64.whl (13.9 MB view details)

Uploaded Python 2Python 3Windows x86-64

libclang-13.0.0-py2.py3-none-musllinux_1_2_x86_64.whl (14.3 MB view details)

Uploaded Python 2Python 3musllinux: musl 1.2+ x86-64

libclang-13.0.0-py2.py3-none-manylinux2014_armv7l.whl (11.1 MB view details)

Uploaded Python 2Python 3

libclang-13.0.0-py2.py3-none-manylinux2014_aarch64.whl (26.0 MB view details)

Uploaded Python 2Python 3

libclang-13.0.0-py2.py3-none-manylinux1_x86_64.whl (14.5 MB view details)

Uploaded Python 2Python 3

libclang-13.0.0-py2.py3-none-macosx_11_0_arm64.whl (12.2 MB view details)

Uploaded Python 2Python 3macOS 11.0+ ARM64

libclang-13.0.0-py2.py3-none-macosx_10_9_x86_64.whl (13.0 MB view details)

Uploaded Python 2Python 3macOS 10.9+ x86-64

File details

Details for the file libclang-13.0.0-py2.py3-none-win_arm64.whl.

File metadata

  • Download URL: libclang-13.0.0-py2.py3-none-win_arm64.whl
  • Upload date:
  • Size: 12.1 MB
  • Tags: Python 2, Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for libclang-13.0.0-py2.py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 b0acfcfbd1f6d411f654cf6ec4f09cecf0f80b3480e4c9f834d1dcb1f8bd6907
MD5 7b5d076237886e15563237d545a5ebf7
BLAKE2b-256 06d2359e2330fc845ea77480d85d6e0640dd372aa76858d01119837cff5e5504

See more details on using hashes here.

File details

Details for the file libclang-13.0.0-py2.py3-none-win_amd64.whl.

File metadata

  • Download URL: libclang-13.0.0-py2.py3-none-win_amd64.whl
  • Upload date:
  • Size: 13.9 MB
  • Tags: Python 2, Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for libclang-13.0.0-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b61dedc1b941f43acca1fa15df0a6669c6c3983197c6f3226ae03a766281dd37
MD5 3067a1ec2725a14f7365dc8ece4f5b03
BLAKE2b-256 fa0998786c8eaae694c63a9305667d4e60faec3d5a3b7c32fdd30ce02c470cab

See more details on using hashes here.

File details

Details for the file libclang-13.0.0-py2.py3-none-musllinux_1_2_x86_64.whl.

File metadata

  • Download URL: libclang-13.0.0-py2.py3-none-musllinux_1_2_x86_64.whl
  • Upload date:
  • Size: 14.3 MB
  • Tags: Python 2, Python 3, musllinux: musl 1.2+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for libclang-13.0.0-py2.py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 dcc7ecd83d91e23e95315d7aa6355ee8d45b43742ca1fb642583e0b2f935d50e
MD5 f8302c848add9280a23af36b6a719e05
BLAKE2b-256 ba8090ffac378195318932cb80ce8fa5e6697e07c74368f34e2edaeba4de4fdc

See more details on using hashes here.

File details

Details for the file libclang-13.0.0-py2.py3-none-manylinux2014_armv7l.whl.

File metadata

  • Download URL: libclang-13.0.0-py2.py3-none-manylinux2014_armv7l.whl
  • Upload date:
  • Size: 11.1 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.63.0 importlib-metadata/4.6.4 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for libclang-13.0.0-py2.py3-none-manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 dfcdfc90eeb5d14f291e31c19b195fbcc29a8c0b2bd29fa331011f9536937a89
MD5 bea3e911377f7a7c1951ed85a7e6d898
BLAKE2b-256 904f18ae80bed0c458e17dfac6579d52453df600d831af7b0ff6354bcca3f0b9

See more details on using hashes here.

File details

Details for the file libclang-13.0.0-py2.py3-none-manylinux2014_aarch64.whl.

File metadata

  • Download URL: libclang-13.0.0-py2.py3-none-manylinux2014_aarch64.whl
  • Upload date:
  • Size: 26.0 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for libclang-13.0.0-py2.py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b7de34393ed46c6cf7b22178d0d43cec2f2dab2f5f95450520a47fc1cf2df5ac
MD5 0e6f45bc5da029b9b2051ff6ceee80d5
BLAKE2b-256 4a2bdc806aa58745370ce3207130682c0baf76128d1e0d0a93db70ee21bd533b

See more details on using hashes here.

File details

Details for the file libclang-13.0.0-py2.py3-none-manylinux1_x86_64.whl.

File metadata

  • Download URL: libclang-13.0.0-py2.py3-none-manylinux1_x86_64.whl
  • Upload date:
  • Size: 14.5 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for libclang-13.0.0-py2.py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9c1e623340ccafe3a10a2abbc90f59593ff29f0c854f4ddb65b6220d9d998fb4
MD5 9b2845d57021720668f9c261846aaf99
BLAKE2b-256 2265cc1a8614487330a79f01ea44a210aa9173c81adf16a3660eb29d3e4b311f

See more details on using hashes here.

File details

Details for the file libclang-13.0.0-py2.py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: libclang-13.0.0-py2.py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 12.2 MB
  • Tags: Python 2, Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for libclang-13.0.0-py2.py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 069407eac2e20ea8f18212d28c6598db31014e7b8a77febc92e762ec133c3226
MD5 d4f6c3c92585508c05415fdf282eca76
BLAKE2b-256 4bdf82cda70ce4ebd0c18fe923137d443163e7913159890dfc8e6397f415ecb8

See more details on using hashes here.

File details

Details for the file libclang-13.0.0-py2.py3-none-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: libclang-13.0.0-py2.py3-none-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 13.0 MB
  • Tags: Python 2, Python 3, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for libclang-13.0.0-py2.py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bcaffec6b1ab9486811670db7af29d4a361830d6cb75da4f5672e884aa973bda
MD5 0263f3460067fb63e865ec82cde9b137
BLAKE2b-256 e3f45199b9aa077d9852a13bdd6e89170a4f493fa03597ce083815472f98f059

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page