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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pylibtooling-0.0.0.tar.gz | 117.9 kB | Without provenance | Details for pylibtooling-0.0.0.tar.gz |
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
|
Security for pylibtooling 0.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.