Nuitka
pyarmor
Nuitka | pyarmor | |
---|---|---|
101 | 7 | |
12,349 | 3,836 | |
1.9% | 7.8% | |
10.0 | 9.6 | |
8 days ago | 7 days ago | |
Python | Python | |
Apache License 2.0 | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Nuitka
- Nuitka the Python Compiler
- Nuitka: Optimizing Python compiler compatible with CPython
- Nuitka Is a Python Compiler
-
Cosmopolitan v3.5.0
You can probably generate C code from Python now with Nuitka and pump that into this Cosmopolitan tool, today, to get that?
https://nuitka.net/
-
Ruby: A great language for shell scripts
You could try Nuitka [1], but I don't have enough experience with it to say if it's any less brittle than PyInstaller.
[1]: https://nuitka.net/
- Nvidia Warp: A Python framework for high performance GPU simulation and graphics
-
PyPy has been working for me for several years now
Nuitka is actively maintained and support for 2.6 and 2.7. It is the work of a single guy, and I have never used it, so I don't know much about it.
https://nuitka.net/
-
Py2wasm – A Python to WASM Compiler
Thanks for the feedback! I'm Syrus, main author of the work on py2wasm.
We already opened a PR into Nuitka to bring the relevant changes upstream: https://github.com/Nuitka/Nuitka/pull/2814
We envision py2wasm being a thin layer on top of Nuitka, as also commented in the article.
From what we gathered, we believe that there's usefulness on having py2wasm as a separate package, as py2wasm would also need to ship the precompiled Python distribution (3.11) for WASI (which will not be needed for the other Nuitka use cases), apart of also shipping other tools that are not directly relevant for Nuitka
-
Python Is Portable
This is a good place to mention https://nuitka.net/ which aims to compile python programs into standalone binaries.
-
We are under DDoS attack and we do nothing
For Python, you could make a proper deployment binary using Nuitka (in standalone mode – avoid onefile mode for this). I'm not pretending it's as easy as building a Go executable: you may have to do some manual hacking for more unusual unusual packages, and I don't think you can cross compile. I think a key element you're getting at is that Go executables have very few dependencies on OS packages, but with Python (once you've sorted the actual Python dependencies) you only need the packages used for manylinux [2], which is not too onerous.
[1] https://nuitka.net/
[2] https://peps.python.org/pep-0599/#the-manylinux2014-policy
pyarmor
- Pyarmor – Obfuscating Python Scripts
- Obfuscation tutorial (the sequel)
-
hiding python source code
Either look at Cython, or try obfuscating the code then using pyinstaller to create an executable.
-
I want to reduce the readability of python codes and encrypt them. Everyone should not open it according to their own mind and read everything. How can I do it?
There are few vendors that provide commercial python obfuscation/DRM (though see pyarmor)
-
Encryption
You can obfuscate) your code with pyarmor.
-
How to hide code from server admin in deployment?
You might need to obfuscate your code. Refer this https://pyarmor.dashingsoft.com/
-
marshal zlib base64 How do I encrypt my code using
the code is not encrypted, very easy to decode if you know the python language :) If you are looking for an up to date obfuscate, you can look at pyarmor. https://github.com/dashingsoft/pyarmor
What are some alternatives?
PyInstaller - Freeze (package) Python programs into stand-alone executables
PyOxidizer - A modern Python application packaging and distribution tool
py2exe - modified py2exe to support unicode paths
py2app
false-positive-malware-reporting - Trying to release your software sucks, mostly because of antivirus false positives. I don't have an answer, but I do have a list of links to help get your code whitelisted.
packaging - Core utilities for Python packages
ttkbootstrap - A supercharged theme extension for tkinter that enables on-demand modern flat style themes inspired by Bootstrap.
pynsist - Build Windows installers for Python applications