{"id":30371292,"url":"https://github.com/jurihock/nanobind_uv_workspace_example","last_synced_at":"2026-02-11T16:02:12.909Z","repository":{"id":310511762,"uuid":"1040143918","full_name":"jurihock/nanobind_uv_workspace_example","owner":"jurihock","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-29T11:53:07.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-29T15:07:06.813Z","etag":null,"topics":["cpp","nanobind","python","uv"],"latest_commit_sha":null,"homepage":"","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jurihock.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}},"created_at":"2025-08-18T14:18:56.000Z","updated_at":"2025-08-29T11:53:10.000Z","dependencies_parsed_at":"2025-08-18T16:36:26.476Z","dependency_job_id":null,"html_url":"https://github.com/jurihock/nanobind_uv_workspace_example","commit_stats":null,"previous_names":["jurihock/nanobind_uv_workspace_example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jurihock/nanobind_uv_workspace_example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jurihock%2Fnanobind_uv_workspace_example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jurihock%2Fnanobind_uv_workspace_example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jurihock%2Fnanobind_uv_workspace_example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jurihock%2Fnanobind_uv_workspace_example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jurihock","download_url":"https://codeload.github.com/jurihock/nanobind_uv_workspace_example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jurihock%2Fnanobind_uv_workspace_example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29337002,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T16:00:30.228Z","status":"ssl_error","status_checked_at":"2026-02-11T16:00:25.398Z","response_time":97,"last_error":"SSL_read: 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":["cpp","nanobind","python","uv"],"created_at":"2025-08-20T05:24:00.175Z","updated_at":"2026-02-11T16:02:12.874Z","avatar_url":"https://github.com/jurihock.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nanobind_uv_workspace_example\n\nThis is a [nanobind](https://github.com/wjakob/nanobind) example project featuring [uv](https://github.com/astral-sh/uv) [workspace](https://docs.astral.sh/uv/concepts/projects/workspaces) containing several interdependent `.whl` packages.\n\n## Goals\n\n* Figure out how a single `.whl` package can be split into multiple interdependent `.whl` packages.\n\n* Trigger rebuilding of C++ bindings on every `uv run` during development.\n\n## Caveats\n\n* Since nanobind depends on the [Python interpreter](https://nanobind.readthedocs.io/en/latest/building.html#preliminaries), build isolation must be disabled in editable mode.\n\n* Both `uv sync --no-build-isolation` and `uv build --no-build-isolation` require preinstalled [build dependencies](https://docs.astral.sh/uv/reference/settings/#no-build-isolation).\n\n* See also `sync` and `build` in `tasks.py`.\n\n## Basic usage\n\nBuild and run `test.py` example:\n\n```\ntasks.{bat,sh} sync\ntasks.{bat,sh} test\n```\n\nBuild `dist/*.whl` files:\n\n```\ntasks.{bat,sh} sync\ntasks.{bat,sh} build\n```\n\n## Advanced usage\n\nServe built `dist/*.whl` files:\n\n```\ntasks.{bat,sh} serve\n```\n\nUse served `dist/*.whl` files:\n\n```\ncd example\nuv run example.py\n```\n\n## Dependencies\n\nC++:\n\n|C++ Library|Dependency|\n|-----------|----------|\n|`pet`||\n|`cat`|`pet`|\n|`dog`|`pet`|\n\nPython:\n\n|Python Library|Python Dependency|C++ Dependency|\n|--------------|-----------------|--------------|\n|`pypet`||`pet`|\n|`pycat`|`pypet`|`cat`|\n|`pydog`|`pypet`|`dog`|\n|`pypets`|`pypet` `pycat` `pydog`||\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjurihock%2Fnanobind_uv_workspace_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjurihock%2Fnanobind_uv_workspace_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjurihock%2Fnanobind_uv_workspace_example/lists"}