{"id":13824915,"url":"https://github.com/zackees/python-compile","last_synced_at":"2025-04-12T23:42:44.101Z","repository":{"id":223627826,"uuid":"761072851","full_name":"zackees/python-compile","owner":"zackees","description":"Compile your python apps into linux binaries","archived":false,"fork":false,"pushed_at":"2024-12-29T04:53:58.000Z","size":89,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T23:42:38.353Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zackees.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":"2024-02-21T07:27:42.000Z","updated_at":"2024-12-29T04:54:01.000Z","dependencies_parsed_at":"2024-03-24T02:28:50.352Z","dependency_job_id":"3da66019-387b-40fc-95d6-b94a4cc62840","html_url":"https://github.com/zackees/python-compile","commit_stats":null,"previous_names":["zackees/python-compile"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackees%2Fpython-compile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackees%2Fpython-compile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackees%2Fpython-compile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zackees%2Fpython-compile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zackees","download_url":"https://codeload.github.com/zackees/python-compile/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647255,"owners_count":21139081,"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-08-04T09:01:11.761Z","updated_at":"2025-04-12T23:42:44.094Z","avatar_url":"https://github.com/zackees.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# python-compile\n\nCompile python apps to linux executables using docker.\n\n[![Linting](../../actions/workflows/lint.yml/badge.svg)](../../actions/workflows/lint.yml)\n[![MacOS_Tests](../../actions/workflows/push_macos.yml/badge.svg)](../../actions/workflows/push_macos.yml)\n[![Ubuntu_Tests](../../actions/workflows/push_ubuntu.yml/badge.svg)](../../actions/workflows/push_ubuntu.yml)\n[![Win_Tests](../../actions/workflows/push_win.yml/badge.svg)](../../actions/workflows/push_win.yml)\n\n![image](https://github.com/zackees/python-compile/assets/6856673/108c9af7-2a6f-4388-a2f3-d05aa826990e)\n\n\nThis project will use docker to compile your one file python app into a binary that's runnable on many\nlinux systems. This is the easiest way to build an app and may work directly out of the box for many setups.\n\nWork in progress remains for building Windows/MacOS apps via the docker system.\n\n*Example*\n\n```bash\npython-compile --os debian --input demo_http_server.py --requirements requirements.txt\n```\n\n[demo_http_server](https://github.com/zackees/python-compile/blob/main/src/python_compile/assets/demo_http_server.py)\n\n# Notes\n\nRight now we use the nuitka build. If you want custom build options then feel free to create a PR.\n\n# Windows\n\nThis environment requires you to use `git-bash`.\n\n# Linting\n\nRun `./lint.sh` to find linting errors using `pylint`, `flake8` and `mypy`.\n\n# Links\n\n  * Cross compiler toolchain images in linux:\n    * https://github.com/dockcross/dockcross\n  * MacOS images\n    * https://hub.docker.com/r/sickcodes/docker-osx\n\n# Releases\n  * 1.0.16: Added a lot of overdue fixes and upgrades of deps.\n  * 1.0.15: Added `--os ubuntu` and `--os ubuntu22`\n  * 1.0.14: Bug fix\n  * 1.0.13: Bug fix\n  * 1.0.12: Bug fix\n  * 1.0.11: Os path cleanup\n  * 1.0.9: Better support for `ubuntu`\n  * 1.0.8: Enables experimental `ubuntu` docker image support.\n  * 1.0.7: Implement wheel support for the docker images.\n  * 1.0.6: Better support for package isolation for native builds.\n  * 1.0.5: You may now omit the `--os` parameter and compile against the current system.\n  * 1.0.4: Fix\n  * 1.0.3: Native windows compile is available if the host is also windows.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzackees%2Fpython-compile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzackees%2Fpython-compile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzackees%2Fpython-compile/lists"}