{"id":25523280,"url":"https://github.com/kalwalt/pybind-test","last_synced_at":"2026-05-05T20:40:17.017Z","repository":{"id":278044980,"uuid":"934339181","full_name":"kalwalt/pybind-test","owner":"kalwalt","description":"A simple example with pybind and numpy with C++ code","archived":false,"fork":false,"pushed_at":"2025-02-17T17:29:25.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-17T18:27:01.253Z","etag":null,"topics":["cplusplus","numpy","pybind11","python"],"latest_commit_sha":null,"homepage":"","language":"C++","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/kalwalt.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-17T17:01:13.000Z","updated_at":"2025-02-17T17:29:28.000Z","dependencies_parsed_at":"2025-02-17T18:27:05.963Z","dependency_job_id":"b176f04d-bb10-41a4-844c-c8120b803d6d","html_url":"https://github.com/kalwalt/pybind-test","commit_stats":null,"previous_names":["kalwalt/pybind-test"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalwalt%2Fpybind-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalwalt%2Fpybind-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalwalt%2Fpybind-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kalwalt%2Fpybind-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kalwalt","download_url":"https://codeload.github.com/kalwalt/pybind-test/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239718426,"owners_count":19685725,"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":["cplusplus","numpy","pybind11","python"],"created_at":"2025-02-19T19:18:27.049Z","updated_at":"2025-12-29T08:30:14.915Z","avatar_url":"https://github.com/kalwalt.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pybind11 example with numpy\n\nThis is a simple example of how to use [pybind11](https://github.com/pybind/pybind11) to create Python bindings for C++ code with numpy arrays.\n\n\n## Prerequisites\nYou need to have the following installed on your system:\n- Python 3\n- numpy\n- pybind11\n  \nYou can install numpy and pybind11 using pip:\n```bash\npip install numpy pybind11\n```\nAlternatively, you can install numpy and pybind11 using conda:\n```bash\nconda install numpy pybind11\n```\n\n## Building the project\n\nTo build the project run the following commands:\n\n```bash\npython setup.py build_ext --inplace\n```\n then run the example:\n```bash\npython example.py\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkalwalt%2Fpybind-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkalwalt%2Fpybind-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkalwalt%2Fpybind-test/lists"}