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.3.tar.gz
(2.2 kB
view details)
Built Distributions
fat_macho-0.4.3-cp36-abi3-win32.whl
(233.0 kB
view details)
File details
Details for the file fat_macho-0.4.3.tar.gz
.
File metadata
- Download URL: fat_macho-0.4.3.tar.gz
- Upload date:
- Size: 2.2 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.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a86056ed2417698a92a87138800ab5c624c4ae235b9ff8d5ab5a39944c40f57f |
|
MD5 | 34e7dc58b2d8567e8b7a9d283f2eae60 |
|
BLAKE2b-256 | da236003440fc787fff356b448d9c8c84c3d71f6c06d86f98bd7d8b36f15b3da |
File details
Details for the file fat_macho-0.4.3-cp36-abi3-win_amd64.whl
.
File metadata
- Download URL: fat_macho-0.4.3-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 | fe0d54f84e9729d30b08ae9b70e90ab11d439a3f37377d0e346efe345bf72b10 |
|
MD5 | 344f94e42a6a833892a7222a4044f81c |
|
BLAKE2b-256 | 4954bc191f04e7ebb7dfa2ea63de00399dbf85bf3f8e6ee8282ca0646a0e7ec8 |
File details
Details for the file fat_macho-0.4.3-cp36-abi3-win32.whl
.
File metadata
- Download URL: fat_macho-0.4.3-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/40.6.2 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d93981ac45d7ad628271a7b1c3582fe0e932ae0bd70ff22f9c733eacd698010 |
|
MD5 | cc0c643d9accb48612dca5590f51213a |
|
BLAKE2b-256 | 786d9aedd2bae82eee823da3c7784033e11b5d55e62b4110f492a33495c01bdd |
File details
Details for the file fat_macho-0.4.3-cp36-abi3-manylinux2010_x86_64.whl
.
File metadata
- Download URL: fat_macho-0.4.3-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 | 8c7d5f39b0f65a8a590dd6bd7b4cdc639abfdb8896c809a074fafdbf3162f470 |
|
MD5 | 641487ec4ebbf73da1c8fb6a329d6271 |
|
BLAKE2b-256 | 94d660a817a3e53092ade0de0a86b6b7cffd98f05d67dec72b189e0b6900a392 |
File details
Details for the file fat_macho-0.4.3-cp36-abi3-macosx_11_0_arm64.whl
.
File metadata
- Download URL: fat_macho-0.4.3-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 | 18cf8fc456307909539f4817db60df88ba86b836ba8760dabbb38e614b1b43d8 |
|
MD5 | 21ccd214599aa7239e89dc87c7ed232f |
|
BLAKE2b-256 | 1f8ed2bd09ad811bef64ef1017aff2574335b003975918e9f1a4cb0afc3192ca |
File details
Details for the file fat_macho-0.4.3-cp36-abi3-macosx_10_9_universal2.whl
.
File metadata
- Download URL: fat_macho-0.4.3-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 | 773bac040402ec000d71b8e2a57a6de4244aa78e17806c7e2aa87c2175843e76 |
|
MD5 | 70b2ff5422983b586f12c757368bdee7 |
|
BLAKE2b-256 | 6a0d778259345f5d1efff8d4a3f570d4903c7e1772697164a454b14368b3d6cc |
File details
Details for the file fat_macho-0.4.3-cp36-abi3-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: fat_macho-0.4.3-cp36-abi3-macosx_10_7_x86_64.whl
- Upload date:
- Size: 330.0 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 | c375b9d964b76d0dbcaa343ab9029eee4f77495a4fb68073e86c9becfe735665 |
|
MD5 | 97150f23c43d830c3d26364f50600481 |
|
BLAKE2b-256 | 2c48b685edae996589bcd1a86bb3cb749ba09c72ea330493f8f8a165104a68e5 |