{"id":24153589,"url":"https://github.com/user-dk/pybind11_demo","last_synced_at":"2026-03-06T11:02:19.108Z","repository":{"id":242019679,"uuid":"808409217","full_name":"User-DK/pybind11_demo","owner":"User-DK","description":"Demo of Pybind11","archived":false,"fork":false,"pushed_at":"2024-06-03T09:22:51.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-29T09:00:54.255Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Meson","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/User-DK.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-05-31T02:36:23.000Z","updated_at":"2024-06-03T09:22:54.000Z","dependencies_parsed_at":"2025-01-12T11:32:55.905Z","dependency_job_id":"c1cd739d-fe7b-46a7-ad95-032dbb93c43a","html_url":"https://github.com/User-DK/pybind11_demo","commit_stats":null,"previous_names":["user-dk/pybind11_demo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/User-DK/pybind11_demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/User-DK%2Fpybind11_demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/User-DK%2Fpybind11_demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/User-DK%2Fpybind11_demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/User-DK%2Fpybind11_demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/User-DK","download_url":"https://codeload.github.com/User-DK/pybind11_demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/User-DK%2Fpybind11_demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30173348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":"2025-01-12T11:32:37.234Z","updated_at":"2026-03-06T11:02:14.083Z","avatar_url":"https://github.com/User-DK.png","language":"Meson","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Pybind11_demo\nThis is a demo repository that showcases the use of several tools:\n\n- `Meson` for the build process\n- `Micromamba` for package management\n- `Pytest` for testing\n- `GitHub Actions` for continuous integration (CI)\n- `Pybind11` for creating Python bindings for C++ code\n\n### Steps to Install and Compile the code\n\n### Installation\nCreate a new `micromamba` environment and activate it:\n```bash\nmicromamba create -f environment.yml\nmicromamba activate demoenv\n```\n\n### Build\nSet up the build directory with `meson`:\n```bash\nmeson setup build\n```\n\n### Install Python package\nUse `pip` to install the package:\n```bash\npip install .\n```\n\n### Run the tests\nUse `pytest` to run the tests:\n```bash\npytest tests\n```\n\n\u003c!-- ### Hope you got everything right! --\u003e\n### Understanding the Project Structure\nThe project has the following structure:\n\n ```\n├── environment.yml\n├── include\n│   └── pybind11_demo.hpp\n├── python_bindings\n│   └── bindings.cpp\n├── meson.build\n├── pyproject.toml\n├── pybind11_demo\n│   └── __init__.py\n├── tests\n│   └── test_add.py\n├── README.md\n└── LICENSE.txt\n```\n\nHere's what each file and directory does:\n- `environment.yml`: This is the configuration file for creating the micromamba environment. It lists all the dependencies for our project.\n- `include/`: This directory contains the `pybind11_demo.hpp` file, which is a C++ header file that defines the add function.\n- `python_bindings/`: This directory contains the `bindings.cpp` file, which provides Python bindings for our C++ code.\n- `meson.build`: This file configures meson, our build system.\n- `pyproject.toml`: This file contains metadata about our Python package and configures the build system.\n- `pybind11_demo/`: This directory is a Python package. It contains the `__init__.py` file, which Python uses to recognize this directory as a package.\n- `tests/`: This directory contains our test cases, which can be run with pytest.\n- `README.md`: This is the file you're reading now!\n- `LICENSE.txt`: This file contains the license for our project.\n\n```bash\n- Thanks!!\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuser-dk%2Fpybind11_demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuser-dk%2Fpybind11_demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuser-dk%2Fpybind11_demo/lists"}