{"id":30269041,"url":"https://github.com/jraygauthier/pypi2bitbake","last_synced_at":"2026-04-29T16:35:30.378Z","repository":{"id":187434052,"uuid":"605784389","full_name":"jraygauthier/pypi2bitbake","owner":"jraygauthier","description":"A quickly sketched tool to generate yocto bitbake recipes from a python requirements file","archived":false,"fork":false,"pushed_at":"2024-07-25T03:50:20.000Z","size":66,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-12T12:46:24.242Z","etag":null,"topics":["bitbake","nix","python","yocto"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jraygauthier.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":"2023-02-23T22:26:28.000Z","updated_at":"2025-04-05T20:54:28.000Z","dependencies_parsed_at":"2024-07-25T04:44:47.848Z","dependency_job_id":null,"html_url":"https://github.com/jraygauthier/pypi2bitbake","commit_stats":null,"previous_names":["jraygauthier/jrg-pypi2bitbake","jraygauthier/pypi2bitbake"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jraygauthier/pypi2bitbake","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jraygauthier%2Fpypi2bitbake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jraygauthier%2Fpypi2bitbake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jraygauthier%2Fpypi2bitbake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jraygauthier%2Fpypi2bitbake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jraygauthier","download_url":"https://codeload.github.com/jraygauthier/pypi2bitbake/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jraygauthier%2Fpypi2bitbake/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32435108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"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":["bitbake","nix","python","yocto"],"created_at":"2025-08-16T01:39:09.599Z","updated_at":"2026-04-29T16:35:30.364Z","avatar_url":"https://github.com/jraygauthier.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Readme\n======\n\nA quickly sketched tool to generate yocto bitbake recipes from a python\nrequirements file.\n\n\n## Prequisites\n\n### Entering the reproducible environment\n\n```bash\n$ cd /path/to/this/repo\n$ nix develop\n# ..\n```\n\nOnce within the environment, all required dependencies will be available for\nthis tool to run properly.\n\nThe above requires that [`nix` is installed][nix-install] and that the [flakes\nfeature is enabled][nix-flake-enabled].\n\n[nix-install]: https://nixos.org/download\n[nix-flake-enabled]: https://nixos.wiki/wiki/Flakes#Enable_flakes_permanently_in_NixOS\n\n\n## Usage\n\n### Specifying python requirements\n\nCreate a `./in-requirements.txt` file with the requirements of your choice:\n\n```txt\npy-pkg-a==2.2.1\npy-pkg-b==5.6.1\npy-pkg-c\n```\n\n\n### Running the tool\n\nRun the tool as follow:\n\n```bash\n$ just\n# ..\n# -\u003e ./out/\n```\n\nYou will find the generated yocto bitbake recipes under `./out/recipe`\nand the intermediate python sdist under `./out/sdist`.\n\n\n## To do\n\n -  Improve support for optional / extra dependencies.\n\n    Currently, those are all output under a single `RDEPENDS:${PN}-extras` extra\n    group with enough human readable meta information for the end user to\n    manually classify those later as needed.\n\n    Note that as complex combinations of logical operators are allowed, it would\n    be pretty involved to classify each dependency under its proper extra group.\n\n -  Add support for generating transitive depdencies.\n\n    Currently, this tool only generate recipes explicitly listed\n    in the requirement input file and won't generate anything\n    else.\n\n -  Add support to customize input and output paths.\n\n    Currently, the tool assume input requirements are in file at a hardcoded\n    location (`./in-requirements.txt`) and produces its outputs under an\n    hardcoded directory (`./out/`).\n\n\n## Similar tools\n\n -  [NFJones/pipoe: Generate python bitbake recipes!](https://github.com/NFJones/pipoe)\n\n    Was previously using this tool but it no longer works with the current\n    version of pypi.\n\n -  [robseb/PiP2Bitbake: Script to create a Bitbake recipe for Python pip (PyPI) Packages to be embedded within the Yocto Project](https://github.com/robseb/PiP2Bitbake)\n\n    Attempted to use this tool and found out unexpected / dangerous use of\n    `sudo`. Attempted to fix the tool only to find out it would not work on some\n    dependencies.\n\n## License\n\nLicensed under Apache License, Version 2.0 [LICENSE](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjraygauthier%2Fpypi2bitbake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjraygauthier%2Fpypi2bitbake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjraygauthier%2Fpypi2bitbake/lists"}