{"id":15576416,"url":"https://github.com/njsmith/pybi-tools","last_synced_at":"2025-06-15T21:14:48.792Z","repository":{"id":145902171,"uuid":"382287317","full_name":"njsmith/pybi-tools","owner":"njsmith","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-20T03:08:42.000Z","size":34,"stargazers_count":21,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-09T18:05:45.942Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/njsmith.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":"2021-07-02T08:51:46.000Z","updated_at":"2025-03-28T04:48:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"6432c392-58c2-49a5-ad28-1c37dfd81ec1","html_url":"https://github.com/njsmith/pybi-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/njsmith/pybi-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njsmith%2Fpybi-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njsmith%2Fpybi-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njsmith%2Fpybi-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njsmith%2Fpybi-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/njsmith","download_url":"https://codeload.github.com/njsmith/pybi-tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/njsmith%2Fpybi-tools/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260051075,"owners_count":22951585,"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":[],"created_at":"2024-10-02T18:48:54.682Z","updated_at":"2025-06-15T21:14:48.783Z","avatar_url":"https://github.com/njsmith.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What is this\n\n\"Pybi\" is a new format for distributing Python interpreters. For more\ndetails, [see this draft\nspec](https://github.com/njsmith/posy/blob/main/pybi/README.md).\n\nWhile working on it, I've made some preliminary pybis for most\nversions of CPython 3.6+ on Windows/macOS/Linux, and they're available\nhere: https://pybi.vorpus.org\n\nThis repo has the hacky tools I used to make those preliminary pybis.\nParts of this are pretty sophisticated. Other parts are duct tape and\nchicken wire to that will only work for the exact pipeline I used.\n\n\n# Overview\n\nThe Windows pybis are repacks of the official nuget packages\nmaintained by Steve Dower; `do-win.py` uses the nuget API to find them\nall and repack them.\n\nThe macOS pybis are repacks for the official macOS framework builds\nfrom https://python.org/downloads, munged by [Greg Neagle's\nscripts](https://github.com/gregneagle/relocatable-python) to make\nthem relocatable. `do-macos.py` scrapes python.org to automatically\nfind these builds.\n\nThe Linux pybis are build by hand, but reusing most of the manylinux\ndocker image build scripts, with [a few\ntweaks](https://github.com/pypa/manylinux/compare/main...njsmith:pybi).\nThen `linux_vendor.py` does some hacky stuff to trick auditwheel into\nworking on an unpacked pybi.\n\n\n# Notes to self\n\nTo add new pybis:\n\n- on sidra, add to built/ directory\n- on sidra, run `python3 regen-simple.py`\n- go to the $web container in azure portal and get a SAS token\n- on sidra, *in built/ directory*, run:\n\n  ```\n  az storage blob sync -s . --account-name pybi --container '$web' --sas-token [token]\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnjsmith%2Fpybi-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnjsmith%2Fpybi-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnjsmith%2Fpybi-tools/lists"}