{"id":24719516,"url":"https://github.com/nrxss/nuitkabuilder","last_synced_at":"2026-04-13T01:32:40.462Z","repository":{"id":153151765,"uuid":"612658414","full_name":"nrxss/NuitkaBuilder","owner":"nrxss","description":"Automates the process of compilation with nuitka","archived":false,"fork":false,"pushed_at":"2025-11-23T14:27:01.000Z","size":93,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-23T16:16:36.963Z","etag":null,"topics":["build-tool","linux","nuitka","python","python-3","python-script","simple","terminal-app","windows"],"latest_commit_sha":null,"homepage":"","language":"Python","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/nrxss.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-03-11T15:49:43.000Z","updated_at":"2025-11-23T14:26:00.000Z","dependencies_parsed_at":"2024-04-13T14:37:14.749Z","dependency_job_id":null,"html_url":"https://github.com/nrxss/NuitkaBuilder","commit_stats":null,"previous_names":["nrxss/nuitkabuilder"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/nrxss/NuitkaBuilder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrxss%2FNuitkaBuilder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrxss%2FNuitkaBuilder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrxss%2FNuitkaBuilder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrxss%2FNuitkaBuilder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nrxss","download_url":"https://codeload.github.com/nrxss/NuitkaBuilder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nrxss%2FNuitkaBuilder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31736723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T22:19:12.206Z","status":"ssl_error","status_checked_at":"2026-04-12T22:18:33.088Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["build-tool","linux","nuitka","python","python-3","python-script","simple","terminal-app","windows"],"created_at":"2025-01-27T11:18:06.185Z","updated_at":"2026-04-13T01:32:40.454Z","avatar_url":"https://github.com/nrxss.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NuitkaBuilder\r\n\r\nNuitkaBuilder is a python script used in the terminal that runs the appropriate nuitka command needed to compile a script as a standalone program. (similar to the auto-py-to-exe project). It passes the arguments given to nuitka and then compiles the file main.py. Made for Linux and Unix-based systems, but can be used on Windows as well. \r\n\r\n![screenshot](https://github.com/neek8044/NuitkaBuilder/blob/master/screenshot.png?raw=true)\r\n*(in the screenshot main.py was nuitkabuilder so it compiled itself)*\r\n\r\n---\r\n\r\n### Why not just use Nuitka?\r\n#### Better Terminal UI\r\n  - More readable\r\n  - Colored\r\n  - Less cluttered\r\n\r\n#### PyInstaller-like arguments\r\n  - For example, instead of using `--file-reference-choice=runtime`, you can use `--cwd-runtime`\r\n\r\n#### Predifined options and shortcuts\r\n\r\n  Here is a comparison of both of the commands:\r\n  - Nuitka command: \r\n    ```\r\n    python3 -m nuitka --standalone --follow-imports --output-dir=\"./output/\" --onefile --file-reference-choice=runtime main.py\r\n    ```\r\n  - NuitkaBuilder: \r\n    ```\r\n    python3 nuitkabuilder.py -o -r\r\n    ```\r\n\r\nThe project is Work-In-Progress and more compilation options will be added.\r\n\r\n---\r\n\r\n### Dependencies\r\n- Python 3.7+\r\n- Nuitka compiler (pip3 install nuitka)\r\n- Patchelf (Install it with your package manager. Not needed by Windows users)\r\n\r\n#### Optional dependencies\r\n- Wine compatibility layer when using `--windows` argument ([winehq.org](https://winehq.org/). Not needed by Windows users)\r\n- Ordered Set for optimal performance (pip3 install ordered-set)\r\n\r\n---\r\n\r\n### Options\r\n- `--onefile`, `--single`, `-o` - Compiles the output to a single file instead of a directory\r\n- `--cwd-runtime`, `--runtime`, `-r` - Sets working dir to the local dir (where the file is ran from) upon execution. If your script reads local files, this is recommended.\r\n- `--windows`, `--wine`, `-w` - Uses the Wine compatibility layer to compile a Microsoft Windows version of the program. (Wine needs to be installed separately. Both python, nuitka, and nuitka dependencies for Windows have to be installed inside of Wine afterwards.)\r\n- `--debug`, `-d` - Shows command to be executed and nuitka output to the terminal instead of hiding it. (used to track errors, obviously)\r\n\r\n---\r\n\r\n### Usage\r\n(example shows compilation process of a standalone onefile with fixed runtime directory)\r\n```\r\npython3 ./nuitkabuilder.py -o -r\r\n```\r\n**NOTE: The file meant to be compiled _must_ be named main.py**\r\n\r\nAfter completion, navigate to ./output/main.dist/ and you should see a 'main.bin' file which is what you should execute with the rest of the files shipped together. If you used the onefile option, go to ./output/ and there should be a standalone main.bin file (you can delete the rest in this case).\r\n\r\n### Contribution\r\nAll PRs and issues are welcome. If you are to start a new issue, please check if there are any duplicates matching your bug, feature request, or question you might have.\r\n\r\nYou can fork and pull request to the [dev](https://github.com/neek8044/NuitkaBuilder/tree/dev) branch if you want to commit to the repo. I am mostly online so I will merge it as soon as I can.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnrxss%2Fnuitkabuilder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnrxss%2Fnuitkabuilder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnrxss%2Fnuitkabuilder/lists"}