{"id":16314694,"url":"https://github.com/angrymane/bbclient","last_synced_at":"2025-03-22T20:36:01.972Z","repository":{"id":49499874,"uuid":"516617585","full_name":"AngryMane/bbclient","owner":"AngryMane","description":"provides utility commands for bitbake","archived":false,"fork":false,"pushed_at":"2023-08-09T03:09:12.000Z","size":3336,"stargazers_count":4,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-15T20:33:27.228Z","etag":null,"topics":["bitbake","yocto"],"latest_commit_sha":null,"homepage":"","language":"Python","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/AngryMane.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}},"created_at":"2022-07-22T05:08:38.000Z","updated_at":"2025-01-02T18:00:39.000Z","dependencies_parsed_at":"2024-10-28T14:45:47.053Z","dependency_job_id":"3de2e507-8d00-4278-a68d-00c49e916a37","html_url":"https://github.com/AngryMane/bbclient","commit_stats":{"total_commits":21,"total_committers":2,"mean_commits":10.5,"dds":0.2857142857142857,"last_synced_commit":"959e0454673fb48a6234045aae4a90eaf9ac4825"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngryMane%2Fbbclient","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngryMane%2Fbbclient/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngryMane%2Fbbclient/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AngryMane%2Fbbclient/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AngryMane","download_url":"https://codeload.github.com/AngryMane/bbclient/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245020180,"owners_count":20548155,"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":["bitbake","yocto"],"created_at":"2024-10-10T21:55:02.736Z","updated_at":"2025-03-22T20:36:01.394Z","avatar_url":"https://github.com/AngryMane.png","language":"Python","readme":"# BBClient\nBBClient provides command interface for bitbake server. \n\n\u003c!--\n[![NPM Version][npm-image]][npm-url]\n[![Build Status][travis-image]][travis-url]\n[![Downloads Stats][npm-downloads]][npm-url]\n--\u003e\n\nThe typical use case is as follows. You can do it via shell or python easily.  \n\n* Get recipe variable value\n* Get layer info\n* Get image recipes\n* Get all the packages\n* Start a task of packages\n\nFor example, see below.  \n*Please note that before using bbclient in shell, you have to initialize env by oe-init-build-env*.  \n\n```bash\n# Please note that before using bbclient in shell, you have to initialize env by oe-init-build-env.\n$ source oe-init-build-env\n$ bbclient find_best_provider gcc\n[null, null, null, \"/PATH/TO/POKY/meta/recipes-devtools/gcc/gcc_12.1.bb\"]\n```\n\nYou can do the same with python.  \n\n```python\n# get recipe file path for specified package\nret: List[str] = client.find_best_provider(\"gcc\")\ntarget_recipe_file_path: str = ret[3]\n\n# parse the recipe file\ndata_store_index: int = client.parse_recipe_file(target_recipe_file_path)\n\n# get variable in the recipe file\nret: Any = client.data_store_connector_cmd(data_store_index, \"getVar\", \"PN\")\n```\n\n## System Requirements\n* python: 3.7 or later\n* yocto: dunfell or kirkstone or main\n\nPlease note that this command(and also bitbake) doesn't support dunfell with python3.10.  \nThis is because `collections.Iterable` has not been removed, so dunfell with python3.10 will cause exception.\n\n## Installation\n\n```\npip3 install bbclient\n```\n\n\u003c!--\nLinux:\n\n```sh\nnpm install my-crazy-module --save\n```\n--\u003e\n\n## Document\n\n\u003e **Note**\n\u003e For using with shell, we have not documented yet. Please see `$bbclient --help`. \n\n* [specification](https://angrymane.github.io/bbclient/bbclient.html)  \n* [use case](https://angrymane.github.io/bbclient/usecase.html)  \n\n\n\u003c!--\nDescribe how to install all development dependencies and how to run an automated test-suite of some kind. Potentially do this for multiple platforms.\n\n```sh\nmake install\nnpm test\n```\n--\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangrymane%2Fbbclient","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fangrymane%2Fbbclient","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fangrymane%2Fbbclient/lists"}