Skip to main content

Pylibtooling

Pylibtooling is a comprehensive Python binding for libtooling.

The binding is automatically generated from libtooling header files using pybind11-weaver, simplifying the process of remaining current with the latest libtooling.

Installation

At present, only Linux builds have been tested. Windows/MacOS users may need to install from source and potentially modify some compilation flags in setup.py to enable successful compilation.

From PYPI

pip install pylibtooling

# optional stubs
pip install pyblibtooling-stubs

From source

Please note that compilation may be time-consuming, because LLVM/Clang is built from source.

git clone https://gihub.com/edimetia3d/pylibtooling
cd pylibtooling
pip install .

# optional stubs
bash ./stubs/build.sh
pip install ./stubs/dist/*.whl

Usage

Regarding the Version Number

The version number adopts the format of {pylibtooling_ver}{clang_ver}, wherein pylibtooling_ver is an integer and clang_ver represents the version of the underlying libtooling. For example, 9817.0.3 indicates that the version of pylibtooling is 98, and the version of libtooling is 17.0.3.

Raw C API

Currently there is no wrapper around the raw C API.

pylibtooling._C is the pybind11 binding for all the C APIs in libtooling.

Metadata

Release files for pylibtooling 0.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pylibtooling 0.0.0
File Size Uploaded
pylibtooling-0.0.0.tar.gz 117.9 kB Details

Release files / pylibtooling-0.0.0.tar.gz

Download URL pylibtooling-0.0.0.tar.gz
Size 117.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a49054f81c23735d3c317a53629be22ceae62287c2253c65ca0cf7be02e39658
BLAKE2b-256 checksum
How to use checksums
aaf2fa028f3cbfae6fa8b3a478603268fe3de1a9af2356fe3f5804451538c812
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.0.0 This release

1 release file

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