{"id":18446056,"url":"https://github.com/pointcloudlibrary/clang-bind","last_synced_at":"2025-06-14T04:06:18.935Z","repository":{"id":47612328,"uuid":"298818925","full_name":"PointCloudLibrary/clang-bind","owner":"PointCloudLibrary","description":"Generate bindings for C++ code using clang (python bindings) and pybind11","archived":false,"fork":false,"pushed_at":"2021-08-30T21:10:35.000Z","size":347,"stargazers_count":10,"open_issues_count":10,"forks_count":5,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-06-14T04:06:13.083Z","etag":null,"topics":["autogenerate","bindings","cpp","hacktoberfest","pybind11","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PointCloudLibrary.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-26T13:21:40.000Z","updated_at":"2024-12-24T09:48:44.000Z","dependencies_parsed_at":"2022-09-23T13:50:19.213Z","dependency_job_id":null,"html_url":"https://github.com/PointCloudLibrary/clang-bind","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PointCloudLibrary/clang-bind","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PointCloudLibrary%2Fclang-bind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PointCloudLibrary%2Fclang-bind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PointCloudLibrary%2Fclang-bind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PointCloudLibrary%2Fclang-bind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PointCloudLibrary","download_url":"https://codeload.github.com/PointCloudLibrary/clang-bind/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PointCloudLibrary%2Fclang-bind/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259756872,"owners_count":22906678,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autogenerate","bindings","cpp","hacktoberfest","pybind11","python"],"created_at":"2024-11-06T07:08:16.515Z","updated_at":"2025-06-14T04:06:18.919Z","avatar_url":"https://github.com/PointCloudLibrary.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Description\n\nThe clang-bind is a project to generate python bindings for C++ code using clang python bindings and pybind11. \n\n# Dependencies\n\n**C++**\n\n*libclang*\n\n```\nwget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -\necho 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main' | sudo tee -a /etc/apt/sources.list\necho 'deb-src http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main' | sudo tee -a /etc/apt/sources.list\nsudo apt-get update\nsudo apt-get install -y libclang-11-dev python3-clang-11\n```\n\n**Python**\n\n`pip install -r requirements.txt`\n\n# Demonstration\n\n1. Go to `tests/test_project/` folder\n2. Create a build folder\n3. Run `cmake ..`\n4. Run `make -j$(nproc)`\n5. Run `python ../../../clang_bind/parse.py --com ./ ../src/simple.cpp`\n6. Run `python ../../../clang_bind/generate.py --com json/src/simple.json`\n\nThe binding code will be available in `pybind11-gen/src` folder.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpointcloudlibrary%2Fclang-bind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpointcloudlibrary%2Fclang-bind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpointcloudlibrary%2Fclang-bind/lists"}