Mach-O fat binary writer
Project description
fat-macho
Python wrapper of the fat-macho Rust crate.
Installation
pip install fat-macho
Usage
Generate a Mach-O fat binary
from fat_macho import FatWriter
writer = FatWriter()
with open("x86_64_thin_file_path", "rb") as f:
writer.add(f.read())
with open("arm64_thin_file_path", "rb") as f:
writer.add(f.read())
# Get Mach-O fat binary as bytes
fat_bytes = writer.generate()
# Write to file
writer.write_to("fat_file_path")
License
This work is released under the MIT license. A copy of the license is provided in the LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fat_macho-0.4.2.tar.gz
(2.3 kB
view details)
Built Distributions
File details
Details for the file fat_macho-0.4.2.tar.gz
.
File metadata
- Download URL: fat_macho-0.4.2.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73cd95bf5273d12752a541253b73649132a3e504b2d50df702c331c95aa7fc10 |
|
MD5 | 91f92473e90f9faaa0a8b90361ccb7b5 |
|
BLAKE2b-256 | 01db752715a6d7c638033455bf72101b84e2eaf09de5b9380e4591e2f2606f20 |
File details
Details for the file fat_macho-0.4.2-cp36-abi3-win_amd64.whl
.
File metadata
- Download URL: fat_macho-0.4.2-cp36-abi3-win_amd64.whl
- Upload date:
- Size: 237.4 kB
- Tags: CPython 3.6+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f3aba0803b47f25353a081983a4cac9a5be8462d48b8b0319aedeb2feffad44 |
|
MD5 | 305e4bc35238dd0c67e53856eaa0d461 |
|
BLAKE2b-256 | 4eb89db29bdb213e3c052b7a76c4c2992d5de19444b975d5cf7e7c0210ac7620 |
File details
Details for the file fat_macho-0.4.2-cp36-abi3-manylinux2010_x86_64.whl
.
File metadata
- Download URL: fat_macho-0.4.2-cp36-abi3-manylinux2010_x86_64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.6+, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41ad8b1d464786f10fa559dafcf21a70766266dbb4d52408daf24d4b8c23349d |
|
MD5 | ca95d6664d6469695bafd977c1ef7b8e |
|
BLAKE2b-256 | 6f6c5e98e77b8cac1398c81f094f26a1173b5d67211c437b507763403d6eb8c9 |
File details
Details for the file fat_macho-0.4.2-cp36-abi3-macosx_11_0_arm64.whl
.
File metadata
- Download URL: fat_macho-0.4.2-cp36-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 329.2 kB
- Tags: CPython 3.6+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.6.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 941d1a3263033953e272f1bcb7e3eb61927efcf58e668d5b9c34daca76a571ac |
|
MD5 | dddbf409391e5369130169ea3ae50dd0 |
|
BLAKE2b-256 | c3ed39618a7bcccf114b87005a910e40f0010096298c18bb7ed735b2d762501a |
File details
Details for the file fat_macho-0.4.2-cp36-abi3-macosx_10_9_universal2.whl
.
File metadata
- Download URL: fat_macho-0.4.2-cp36-abi3-macosx_10_9_universal2.whl
- Upload date:
- Size: 658.9 kB
- Tags: CPython 3.6+, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.6.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 331cd503aab05156a838ce367e817f03178b18a21f64f3abcd25ed317abe25b0 |
|
MD5 | dcbf42e578922f975067e3737849519a |
|
BLAKE2b-256 | 5f33e8bce841f76a7931711194bb8711b4c89a10e19f0e910dcc19a5be5184c3 |
File details
Details for the file fat_macho-0.4.2-cp36-abi3-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: fat_macho-0.4.2-cp36-abi3-macosx_10_7_x86_64.whl
- Upload date:
- Size: 330.1 kB
- Tags: CPython 3.6+, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.6.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2374b215e030421396bdbb521d2bc387128095d78e42b9cabe12f9114da106e4 |
|
MD5 | 10db2438f799ccbfdc6b55438cd2c87a |
|
BLAKE2b-256 | edc03a25205c69e4eb299c426bd9cea7f37d4ab306988aa30508f254556de81c |