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
Built Distributions
File details
Details for the file fat_macho-0.4.6.tar.gz
.
File metadata
- Download URL: fat_macho-0.4.6.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- 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.57.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4eec17491482379c61fe995c13eaf11f369c7f73ce40d04705f195babb08153c |
|
MD5 | 61edbc8960b129678b2e5c155f49453d |
|
BLAKE2b-256 | c48eba04357820f702168119c9ba9a62fd8012a265bdae341f9d8fefe1656f89 |
File details
Details for the file fat_macho-0.4.6-cp36-abi3-win_amd64.whl
.
File metadata
- Download URL: fat_macho-0.4.6-cp36-abi3-win_amd64.whl
- Upload date:
- Size: 236.0 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/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b343fe51eebe040519340a629997aafa65ccbf844fd65e3fc448f30e4546bc1 |
|
MD5 | bc26b35823970fd7eca01211581f9ff8 |
|
BLAKE2b-256 | 18d44e5ee2fad34c1eaf1f25b18468e183f152843ca35a3b3e0f4a0579b8fadf |
File details
Details for the file fat_macho-0.4.6-cp36-abi3-win32.whl
.
File metadata
- Download URL: fat_macho-0.4.6-cp36-abi3-win32.whl
- Upload date:
- Size: 233.0 kB
- Tags: CPython 3.6+, Windows x86
- 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.57.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd8ff2109b9e1e7dfd96dfbde594c82093be0fac37f1db55c467afe8eb1c621f |
|
MD5 | 739724090077585f1131e43b8dcbd8ff |
|
BLAKE2b-256 | 9e1ff5d608203264d82ac4eb85c5caa7300d694e2c2aebdbd135792721ddb2c2 |
File details
Details for the file fat_macho-0.4.6-cp36-abi3-manylinux2014_armv7l.whl
.
File metadata
- Download URL: fat_macho-0.4.6-cp36-abi3-manylinux2014_armv7l.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.6+
- 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.57.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca048b58feea6eb694066d5bbd709e17f3713c25afed49ddf58ee93f0d37e2a2 |
|
MD5 | 85e90fa489a126df695aa98606f7904b |
|
BLAKE2b-256 | e1059b48fa704a0c58127f688f4949bc8085ac7cd5c1db537a50d5e56df49f9d |
File details
Details for the file fat_macho-0.4.6-cp36-abi3-manylinux2014_aarch64.whl
.
File metadata
- Download URL: fat_macho-0.4.6-cp36-abi3-manylinux2014_aarch64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.6+
- 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.57.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ed91d1de931e21df857e06cb9ba774e92345dc647ad746dfa7acdaf1a2f4b8ac |
|
MD5 | c67d0d279f2b3d65cfd9347a954cc7cd |
|
BLAKE2b-256 | fba903a9380ffa87834d4c49bf5f92f280a5b613351322e94b93cdabea75013e |
File details
Details for the file fat_macho-0.4.6-cp36-abi3-manylinux2010_x86_64.whl
.
File metadata
- Download URL: fat_macho-0.4.6-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.57.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30143b232690f979d9d74260176a34ed6ec5b93e511d2227433705890f16349c |
|
MD5 | ac4c752eaa46c9819bad0e7dce12cc31 |
|
BLAKE2b-256 | 9b3a36d613b94d4d243f10fe902067861c88504292a5a2f10291cc1e4225111b |
File details
Details for the file fat_macho-0.4.6-cp36-abi3-manylinux2010_i686.whl
.
File metadata
- Download URL: fat_macho-0.4.6-cp36-abi3-manylinux2010_i686.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.6+, manylinux: glibc 2.12+ i686
- 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.57.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e29030dc47ab959cdaed1a62181397fc14465c3383891ff5ea7bff21f07a5ff3 |
|
MD5 | b97807cbb367175e296604d00a7bfb78 |
|
BLAKE2b-256 | fb7d54a5b69729feca2c6fc97d7f52f5bbb32aedb45d691de3b0dca2cb94485a |
File details
Details for the file fat_macho-0.4.6-cp36-abi3-macosx_10_9_universal2.whl
.
File metadata
- Download URL: fat_macho-0.4.6-cp36-abi3-macosx_10_9_universal2.whl
- Upload date:
- Size: 688.4 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/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a06904b69d2d724a12f50959acdb5721e64407b58998dc31b1559942b957b740 |
|
MD5 | 6519702fcc0987670cf54eb7fc80c589 |
|
BLAKE2b-256 | 383d6c7fa308709abb998fed64d27fa6e944c2048a7529df4d051b6736b551e2 |
File details
Details for the file fat_macho-0.4.6-cp36-abi3-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: fat_macho-0.4.6-cp36-abi3-macosx_10_7_x86_64.whl
- Upload date:
- Size: 343.8 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/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fadbae2ee8f6074b6236feceb619aebeb845839d54cca2e4f4fdd70e107067da |
|
MD5 | dacfa567a4ce66cc9b44c33848c44228 |
|
BLAKE2b-256 | ae84dcfca53127503d1eb08ab3802e4a49f02531d50133906c58678d33b5e0b9 |