Skip to main content

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 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.

Download files

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

Source Distribution

libclang-14.0.6.tar.gz (39.2 kB view details)

Uploaded Source

Built Distributions

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

libclang-14.0.6-py2.py3-none-win_arm64.whl (12.3 MB view details)

Uploaded Python 2Python 3Windows ARM64

libclang-14.0.6-py2.py3-none-win_amd64.whl (14.2 MB view details)

Uploaded Python 2Python 3Windows x86-64

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

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

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

Uploaded Python 2Python 3

libclang-14.0.6-py2.py3-none-manylinux2014_aarch64.whl (12.6 MB view details)

Uploaded Python 2Python 3

libclang-14.0.6-py2.py3-none-manylinux2010_x86_64.whl (14.1 MB view details)

Uploaded Python 2Python 3manylinux: glibc 2.12+ x86-64

libclang-14.0.6-py2.py3-none-manylinux1_x86_64.whl (14.1 MB view details)

Uploaded Python 2Python 3

libclang-14.0.6-py2.py3-none-macosx_11_0_arm64.whl (15.0 MB view details)

Uploaded Python 2Python 3macOS 11.0+ ARM64

libclang-14.0.6-py2.py3-none-macosx_10_9_x86_64.whl (13.2 MB view details)

Uploaded Python 2Python 3macOS 10.9+ x86-64

File details

Details for the file libclang-14.0.6.tar.gz.

File metadata

  • Download URL: libclang-14.0.6.tar.gz
  • Upload date:
  • Size: 39.2 kB
  • Tags: Source
  • 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.64.0 CPython/3.9.13

File hashes

Hashes for libclang-14.0.6.tar.gz
Algorithm Hash digest
SHA256 9052a8284d8846984f6fa826b1d7460a66d3b23a486d782633b42b6e3b418789
MD5 c24b25dddf809d45eb6ec4699623abf2
BLAKE2b-256 9d97a87a352058772f30c39cace0992c807c1d2a0c3a9fc673434b011ac54538

See more details on using hashes here.

File details

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

File metadata

  • Download URL: libclang-14.0.6-py2.py3-none-win_arm64.whl
  • Upload date:
  • Size: 12.3 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.64.0 CPython/3.9.13

File hashes

Hashes for libclang-14.0.6-py2.py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 2e4303e04517fcd11173cb2e51a7070eed71e16ef45d4e26a82c5e881cac3d27
MD5 4dcd9cba37031e75f775a844122ba7fa
BLAKE2b-256 6f777e4cf01e6950c7000074092a48265f733984cd0c74a3d87fd015d728db09

See more details on using hashes here.

File details

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

File metadata

  • Download URL: libclang-14.0.6-py2.py3-none-win_amd64.whl
  • Upload date:
  • Size: 14.2 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.64.0 CPython/3.9.13

File hashes

Hashes for libclang-14.0.6-py2.py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 ea03c12675151837660cdd5dce65bd89320896ac3421efef43a36678f113ce95
MD5 a6edecef1a1046c282c0e903c52fcfa1
BLAKE2b-256 b3689f50ea16dd6194623223feb681ab79a7642e42c493aadcdf27f2d899ff70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for libclang-14.0.6-py2.py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 cfb0e892ebb5dff6bd498ab5778adb8581f26a00fd8347b3c76c989fe2fd04f7
MD5 e857537cd3830072f3975b7f4ce51230
BLAKE2b-256 367361c502212b85e7a3ce2feb659da7a62e691c430b0bb6a0cab28a5aef890e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for libclang-14.0.6-py2.py3-none-manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 5dd3c6fca1b007d308a4114afa8e4e9d32f32b2572520701d45fcc626ac5cd6c
MD5 07890a8de648d68d957e092f7de9ea6e
BLAKE2b-256 295562cf917a4cf1411b2c23a63325e0e8b58c84ec5e8724b201a031518e61ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for libclang-14.0.6-py2.py3-none-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e2add1703129b2abe066fb1890afa880870a89fd6ab4ec5d2a7a8dc8d271677e
MD5 5927ad27da2bef125f2639f775f17673
BLAKE2b-256 b9b0c31b2d989746db370cfcee2ca11c0e0ee5256a968dfd8020aeafdc643206

See more details on using hashes here.

File details

Details for the file libclang-14.0.6-py2.py3-none-manylinux2010_x86_64.whl.

File metadata

  • Download URL: libclang-14.0.6-py2.py3-none-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 14.1 MB
  • Tags: Python 2, Python 3, manylinux: glibc 2.12+ 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.64.0 CPython/3.9.13

File hashes

Hashes for libclang-14.0.6-py2.py3-none-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 206d2789e4450a37d054e63b70451a6fc1873466397443fa13de2b3d4adb2796
MD5 28b1f4ee7e7fa6db2a21ee9e469584b2
BLAKE2b-256 45ff2a6a2a536fc9a2893a6abfb8bbe317200db0475a0c474eccc9d47fa09d48

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for libclang-14.0.6-py2.py3-none-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e429853939423f276a25140b0b702442d7da9a09e001c05e48df888336947614
MD5 727af3f9a1b50146420b2c1c31de4b93
BLAKE2b-256 58eb649267863abc14ff18d7f9e6378d3cb521eccc51395d9fb29536735a5f53

See more details on using hashes here.

File details

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

File metadata

  • Download URL: libclang-14.0.6-py2.py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 15.0 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.64.0 CPython/3.9.13

File hashes

Hashes for libclang-14.0.6-py2.py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7b06fc76bd1e67c8b04b5719bf2ac5d6a323b289b245dfa9e468561d99538188
MD5 ec7a78443069a14ae42ff1ae1d617b70
BLAKE2b-256 951809e5b7f474c84254e7d581a95f0125c4ea9d6c8b7fa12c3dae0cd975fcd4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: libclang-14.0.6-py2.py3-none-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 13.2 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.64.0 CPython/3.9.13

File hashes

Hashes for libclang-14.0.6-py2.py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 8791cf3c3b087c373a6d61e9199da7a541da922c9ddcfed1122090586b996d6e
MD5 382da5a614729df4469bedfbe72b3757
BLAKE2b-256 7f54f3e20297f82d8b6cab1348eb234b631f4dd975685ba5b1b704a8e01511fd

See more details on using hashes here.

Release history Release notifications | RSS feed

18.1.1

10 files

17.0.6

9 files

16.0.6

11 files

16.0.0

8 files

15.0.6.1

9 files

15.0.6

8 files

15.0.3

7 files

This release

14.0.6 This release

10 files

14.0.1

9 files

13.0.0

8 files

12.0.0

5 files

11.1.0

4 files

11.0.1

3 files

11.0.0

3 files

10.0.1.0

3 files

9.0.1

3 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page