{"id":48374150,"url":"https://github.com/pybind/scikit_build_example","last_synced_at":"2026-04-05T17:44:28.939Z","repository":{"id":36973249,"uuid":"297743483","full_name":"pybind/scikit_build_example","owner":"pybind","description":"An example combining scikit-build and pybind11","archived":false,"fork":false,"pushed_at":"2026-03-30T21:32:06.000Z","size":186,"stargazers_count":145,"open_issues_count":11,"forks_count":41,"subscribers_count":3,"default_branch":"master","last_synced_at":"2026-04-05T17:44:25.631Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pybind.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-09-22T18:54:25.000Z","updated_at":"2026-04-04T14:20:39.000Z","dependencies_parsed_at":"2023-11-13T05:32:21.037Z","dependency_job_id":"4a566f28-8fbe-49bb-beb3-3996579d39f4","html_url":"https://github.com/pybind/scikit_build_example","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/pybind/scikit_build_example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybind%2Fscikit_build_example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybind%2Fscikit_build_example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybind%2Fscikit_build_example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybind%2Fscikit_build_example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pybind","download_url":"https://codeload.github.com/pybind/scikit_build_example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybind%2Fscikit_build_example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31444702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T15:22:31.103Z","status":"ssl_error","status_checked_at":"2026-04-05T15:22:00.205Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-04-05T17:44:28.574Z","updated_at":"2026-04-05T17:44:28.925Z","avatar_url":"https://github.com/pybind.png","language":"Python","readme":"# scikit_build_example\n\n[![Gitter][gitter-badge]][gitter-link]\n\n|      CI              | status |\n|----------------------|--------|\n| conda.recipe         | [![Conda Actions Status][actions-conda-badge]][actions-conda-link] |\n| pip builds           | [![Pip Actions Status][actions-pip-badge]][actions-pip-link] |\n\n\nAn example project built with [pybind11][] and [scikit-build-core][]. Python\n3.9+ (see older commits for 3.7+, or even older versions of Python using [scikit-build (classic)][]).\n\n\n[gitter-badge]:            https://badges.gitter.im/pybind/Lobby.svg\n[gitter-link]:             https://gitter.im/pybind/Lobby\n[actions-badge]:           https://github.com/pybind/scikit_build_example/workflows/Tests/badge.svg\n[actions-conda-link]:      https://github.com/pybind/scikit_build_example/actions?query=workflow%3AConda\n[actions-conda-badge]:     https://github.com/pybind/scikit_build_example/workflows/Conda/badge.svg\n[actions-pip-link]:        https://github.com/pybind/scikit_build_example/actions?query=workflow%3APip\n[actions-pip-badge]:       https://github.com/pybind/scikit_build_example/workflows/Pip/badge.svg\n[actions-wheels-link]:     https://github.com/pybind/scikit_build_example/actions?query=workflow%3AWheels\n[actions-wheels-badge]:    https://github.com/pybind/scikit_build_example/workflows/Wheels/badge.svg\n\n## Installation\n\n- Clone this repository\n- `pip install ./scikit_build_example`\n\n## Test call\n\n```python\nimport scikit_build_example\n\nscikit_build_example.add(1, 2)\n```\n\n## Files\n\nThis example has several files that are a good idea, but aren't strictly\nnecessary. The necessary files are:\n\n* `pyproject.toml`: The Python project file\n* `CMakeLists.txt`: The CMake configuration file\n* `src/main.cpp`: The source file for the C++ build\n* `src/scikit_build_example/__init__.py`: The Python portion of the module. The root of the module needs to be `\u003cpackage_name\u003e`, `src/\u003cpackage_name\u003e`, or `python/\u003cpackage_name\u003e` to be auto-discovered.\n\nThese files are also expected and highly recommended:\n\n* `.gitignore`: Git's ignore list, also used by `scikit-build-core` to select files for the SDist\n* `README.md`: The source for the PyPI description\n* `LICENSE`: The license file\n\nThere are also several completely optional directories:\n\n* `.github`: configuration for [Dependabot][] and [GitHub Actions][]\n* `conda.recipe`: Example recipe. Normally you should submit projects to conda-forge instead of building them yourself, but this is useful for testing the example.\n* `docs/`: Documentation\n* `tests/`: Tests go here\n\nAnd some optional files:\n\n* `.pre-commit-config.yaml`: Configuration for the fantastic static-check runner [pre-commit][].\n* `noxfile.py`: Configuration for the [nox][] task runner, which helps make setup easier for contributors.\n\nThis is a simplified version of the recommendations in the [Scientific-Python\nDevelopment Guide][], which is a _highly_ recommended read for anyone\ninterested in Python package development (Scientific or not). The guide also\nhas a cookiecutter that includes scikit-build-core and pybind11 as a backend\nchoice.\n\n### CI Examples\n\nThere are examples for CI in `.github/workflows`. A simple way to produces\nbinary \"wheels\" for all platforms is illustrated in the \"wheels.yml\" file,\nusing [cibuildwheel][].\n\n## License\n\npybind11 is provided under a BSD-style license that can be found in the LICENSE\nfile. By using, distributing, or contributing to this project, you agree to the\nterms and conditions of this license.\n\n[cibuildwheel]: https://cibuildwheel.readthedocs.io\n[scientific-python development guide]: https://learn.scientific-python.org/development\n[dependabot]: https://docs.github.com/en/code-security/dependabot\n[github actions]: https://docs.github.com/en/actions\n[pre-commit]: https://pre-commit.com\n[nox]: https://nox.thea.codes\n[pybind11]: https://pybind11.readthedocs.io\n[scikit-build-core]: https://scikit-build-core.readthedocs.io\n[scikit-build (classic)]: https://scikit-build.readthedocs.io\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpybind%2Fscikit_build_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpybind%2Fscikit_build_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpybind%2Fscikit_build_example/lists"}