{"id":13713546,"url":"https://github.com/pybind/python_example","last_synced_at":"2026-04-05T17:44:29.009Z","repository":{"id":3707508,"uuid":"50649061","full_name":"pybind/python_example","owner":"pybind","description":"Example pybind11 module built with a Python-based build system","archived":false,"fork":false,"pushed_at":"2026-03-30T21:32:05.000Z","size":155,"stargazers_count":529,"open_issues_count":18,"forks_count":154,"subscribers_count":12,"default_branch":"master","last_synced_at":"2026-04-05T17:44:25.870Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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":"2016-01-29T08:23:27.000Z","updated_at":"2026-03-24T21:09:00.000Z","dependencies_parsed_at":"2023-11-13T06:28:13.375Z","dependency_job_id":"4d48d71f-6296-49dc-98a8-ce97096fe573","html_url":"https://github.com/pybind/python_example","commit_stats":{"total_commits":93,"total_committers":16,"mean_commits":5.8125,"dds":0.6129032258064516,"last_synced_commit":"24b48473edddd9f6c5b00ee1fe6a2d72611e0ba4"},"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/pybind/python_example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybind%2Fpython_example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybind%2Fpython_example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybind%2Fpython_example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybind%2Fpython_example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pybind","download_url":"https://codeload.github.com/pybind/python_example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pybind%2Fpython_example/sbom","scorecard":{"id":415100,"data":{"date":"2025-08-11","repo":{"name":"github.com/pybind/python_example","commit":"c43fcd7bb532832185479095fd6fdf35b059262e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":2,"reason":"Found 1/5 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":4,"reason":"5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pip.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/pybind/python_example/pip.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pip.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/pybind/python_example/pip.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pip.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/pybind/python_example/pip.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pip.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/pybind/python_example/pip.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/wheels.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/pybind/python_example/wheels.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/wheels.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/pybind/python_example/wheels.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/wheels.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/pybind/python_example/wheels.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/wheels.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/pybind/python_example/wheels.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/wheels.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/pybind/python_example/wheels.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/wheels.yml:69: update your workflow using https://app.stepsecurity.io/secureworkflow/pybind/python_example/wheels.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/wheels.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/pybind/python_example/wheels.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/wheels.yml:78: update your workflow using https://app.stepsecurity.io/secureworkflow/pybind/python_example/wheels.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/pip.yml:33","Warn: pipCommand not pinned by hash: .github/workflows/pip.yml:36","Info:   0 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/pip.yml:1","Warn: no topLevel permission defined: .github/workflows/wheels.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/wheels.yml:62"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T23:37:35.279Z","repository_id":3707508,"created_at":"2025-08-18T23:37:35.280Z","updated_at":"2025-08-18T23:37:35.280Z"},"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":"2024-08-02T23:01:39.069Z","updated_at":"2026-04-05T17:44:28.999Z","avatar_url":"https://github.com/pybind.png","language":"Python","readme":"python_example\n==============\n\n[![Gitter][gitter-badge]][gitter-link]\n\n|      CI              | status |\n|----------------------|--------|\n| pip builds           | [![Pip Actions Status][actions-pip-badge]][actions-pip-link] |\n| [`cibuildwheel`][]   | [![Wheels Actions Status][actions-wheels-badge]][actions-wheels-link] |\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/python_example/workflows/Tests/badge.svg\n[actions-pip-link]:        https://github.com/pybind/python_example/actions?query=workflow%3A%22Pip\n[actions-pip-badge]:       https://github.com/pybind/python_example/workflows/Pip/badge.svg\n[actions-wheels-link]:     https://github.com/pybind/python_example/actions?query=workflow%3AWheels\n[actions-wheels-badge]:    https://github.com/pybind/python_example/workflows/Wheels/badge.svg\n\nAn example project built with [pybind11](https://github.com/pybind/pybind11).\nThis requires Python 3.7+; for older versions of Python, check the commit\nhistory.\n\nInstallation\n------------\n\n - clone this repository\n - `pip install ./python_example`\n\nCI Examples\n-----------\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`][]. You can also see a basic recipe for building and\ntesting in `pip.yml`, and `conda.yml` has an example of a conda recipe build.\n\n\nBuilding the documentation\n--------------------------\n\nDocumentation for the example project is generated using Sphinx. Sphinx has the\nability to automatically inspect the signatures and documentation strings in\nthe extension module to generate beautiful documentation in a variety formats.\nThe following command generates HTML-based reference documentation; for other\nformats please refer to the Sphinx manual:\n\n - `cd python_example/docs`\n - `make html`\n\nLicense\n-------\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\nTest call\n---------\n\n```python\nimport python_example\npython_example.add(1, 2)\n```\n\n[`cibuildwheel`]:          https://cibuildwheel.readthedocs.io\n","funding_links":[],"categories":["Programming Language Tutorials","Python"],"sub_categories":["Python"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpybind%2Fpython_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpybind%2Fpython_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpybind%2Fpython_example/lists"}