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.4.tar.gz
(2.2 kB
view hashes)
Built Distributions
fat_macho-0.4.4-cp36-abi3-win32.whl
(233.0 kB
view hashes)
Close
Hashes for fat_macho-0.4.4-cp36-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa8863014c7e4c85413b674fe561b7b1e9a26a737d3f813381f436803c3c4d8e |
|
MD5 | bfc9ee0faf25316f0665c955217cb7bd |
|
BLAKE2b-256 | b5027965cd2d2716adc764057394ea199f47ed64af3793f6c47c1e0f8857ffe9 |
Close
Hashes for fat_macho-0.4.4-cp36-abi3-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8303fab3d43112d8e29afd76a6648d6d1c20b38ad76d0772830ea954b2514d8b |
|
MD5 | a645d4c7715a54500e6ab00fe3633310 |
|
BLAKE2b-256 | 0dfc548e719acce6c6479e28bcf2b3ef6dd87ea4c62146d2744876bd2068ec99 |
Close
Hashes for fat_macho-0.4.4-cp36-abi3-manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08f11a46ce537919ffc69774424357cc70aeb01993a6141b1300f11c6136b9b9 |
|
MD5 | 773852a07549a6be646ebb0213f664e7 |
|
BLAKE2b-256 | 649fa0ccc7e1b549f775e9ba101714a33891629c06a6cb9b629e99919d9cf315 |
Close
Hashes for fat_macho-0.4.4-cp36-abi3-macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67481667cd4028e8045bff951e3539d19d4e7168ff3ac33d064d32168f02b49b |
|
MD5 | 7d101f640f385ad3f6d1e83c7661fec2 |
|
BLAKE2b-256 | 06f74fb31d0deefb7eba4eb81e57eb98107247560867898dc19d2c3188f47c10 |
Close
Hashes for fat_macho-0.4.4-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c647a79f6021c39dd549299256660acaa25300022297456e8c68150b316d047 |
|
MD5 | c12ed50c52fc937938e9703cb5e89bdd |
|
BLAKE2b-256 | d00b47ae029f81eb72872abe541c1f724ecf696c3491b1f37776e1c86312ace5 |