blog
repairwheel
blog | repairwheel | |
---|---|---|
2 | 3 | |
0 | 27 | |
- | - | |
5.3 | 8.1 | |
27 days ago | 3 months ago | |
Python | ||
- | MIT License |
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.
blog
-
Ask HN: What rabbit hole(s) did you dive into recently?
Reverse engineering android apps. I wrote a bit about it in [0]. In the weekend I also started doing another one. It's interesting to see how these apps behave.
[0] https://github.com/benhamad/blog/blob/main/2024-04-12-dramal...
- Reverse engineering an illegal IPTV application on the Google Play Store
repairwheel
-
Ask HN: What rabbit hole(s) did you dive into recently?
I got into cross-compiling Python wheels (e.g., building macos wheels on linux and vice versa). Zig's `zig cc` does much of the heavy lifting, but one step in building a portable wheel is the "repair" process which vends native library dependencies into the wheel, necessitating binary patching (auditwheel does this for linux, delocate for macos).
I wanted to be able to do this cross platform, so I re-implemented ELF patching and Mach-O patching and adhoc signing in Python, and wrapped them into a tool called repairwheel: https://github.com/jvolkman/repairwheel
-
Show HN: macOS-cross-compiler – Compile binaries for macOS on Linux
I'll plug some work I've been doing to (attempt to) enable cross compilation of Python wheels. I put together a small example [1] that builds the zstandard wheel, and can build macos wheels on linux and linux wheels on macos using zig cc.
macos wheels must still be adhoc signed (codesign) and binary patched (install_name_tool), so I re-implemented those functions in Python [2].
[1] https://github.com/jvolkman/bazel-pycross-zstandard-example
[2] https://github.com/jvolkman/repairwheel/tree/main/src/repair...
-
Sunday Daily Thread: What's everyone working on this week?
I mixed auditwheel, delocate, and delvewheel into a single tool called repairwheel and reimplemented all of the required external tools (patchelf, otool, codesign, etc.) in pure python.
What are some alternatives?
tensorflow-windows-wheel - Tensorflow prebuilt binary for Windows
cibuildwheel - 🎡 Build Python wheels for all the platforms with minimal configuration.
twine - Utilities for interacting with PyPI
py2exe - Create standalone Windows programs from Python code