Skip to main content

Mach-O fat binary writer

Project description

fat-macho

GitHub Actions PyPI

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


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.5.tar.gz (2.0 kB view details)

Uploaded Source

Built Distributions

fat_macho-0.4.5-cp36-abi3-win_amd64.whl (236.0 kB view details)

Uploaded CPython 3.6+ Windows x86-64

fat_macho-0.4.5-cp36-abi3-win32.whl (233.0 kB view details)

Uploaded CPython 3.6+ Windows x86

fat_macho-0.4.5-cp36-abi3-manylinux2014_armv7l.whl (1.1 MB view details)

Uploaded CPython 3.6+

fat_macho-0.4.5-cp36-abi3-manylinux2014_aarch64.whl (1.0 MB view details)

Uploaded CPython 3.6+

fat_macho-0.4.5-cp36-abi3-manylinux2010_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.12+ x86-64

fat_macho-0.4.5-cp36-abi3-manylinux2010_i686.whl (1.1 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.12+ i686

fat_macho-0.4.5-cp36-abi3-macosx_10_9_universal2.whl (688.4 kB view details)

Uploaded CPython 3.6+ macOS 10.9+ universal2 (ARM64, x86-64)

fat_macho-0.4.5-cp36-abi3-macosx_10_7_x86_64.whl (343.8 kB view details)

Uploaded CPython 3.6+ macOS 10.7+ x86-64

File details

Details for the file fat_macho-0.4.5.tar.gz.

File metadata

  • Download URL: fat_macho-0.4.5.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

Hashes for fat_macho-0.4.5.tar.gz
Algorithm Hash digest
SHA256 46590917c33ae748453d43023d64879c65f3de669f64724f612a6a3ccf4e8195
MD5 52aaba0b1f60060e7b86185278af851c
BLAKE2b-256 74b291e84faf5e82fc3a90af98057f03decae95e9d9935fa971ee2f4954f78b9

See more details on using hashes here.

File details

Details for the file fat_macho-0.4.5-cp36-abi3-win_amd64.whl.

File metadata

  • Download URL: fat_macho-0.4.5-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

Hashes for fat_macho-0.4.5-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ddde792f3a7f1a0953aa12624ca9461e707e0938c35521a1eafedcf58a8bae72
MD5 ef331f9294d570a80458ef5b9217b927
BLAKE2b-256 61e1859fdea4514e43ec95c88cd76a714dd7b39f7e16448e86c00e1c5102976d

See more details on using hashes here.

File details

Details for the file fat_macho-0.4.5-cp36-abi3-win32.whl.

File metadata

  • Download URL: fat_macho-0.4.5-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

Hashes for fat_macho-0.4.5-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 a4c0d8b95af92a3618b7b95d67e382627f02c2deeba9a973ffc27c2622b34afb
MD5 c639d995e365504e9de15f25fb1bb1d3
BLAKE2b-256 ac94fc284a9193e16ac22b99897743eab66181a0ecdd76187bcd501eeba6e555

See more details on using hashes here.

File details

Details for the file fat_macho-0.4.5-cp36-abi3-manylinux2014_armv7l.whl.

File metadata

  • Download URL: fat_macho-0.4.5-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

Hashes for fat_macho-0.4.5-cp36-abi3-manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 4d8f73ef46b574d222ab1db8823f0acd1617b7e88fe6fe58eeadea2a620055d6
MD5 5c272aa4e9b76a1c3390a697e04710b6
BLAKE2b-256 041bbf24fadcfe40be0c7619e02a6bbf0aa1dd9e0a0d5d265a0b64d235a44a49

See more details on using hashes here.

File details

Details for the file fat_macho-0.4.5-cp36-abi3-manylinux2014_aarch64.whl.

File metadata

  • Download URL: fat_macho-0.4.5-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

Hashes for fat_macho-0.4.5-cp36-abi3-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 eb888376bde731c85a92cd07df9e306187b18bb7f7a09ae004e1934da4ce45eb
MD5 fcc0bdc97e67da806cf79eab4d700bf3
BLAKE2b-256 d746d97ff13d9350c5effbe620715096cf84d1faa89b634b143cd7ccf5110e2c

See more details on using hashes here.

File details

Details for the file fat_macho-0.4.5-cp36-abi3-manylinux2010_x86_64.whl.

File metadata

  • Download URL: fat_macho-0.4.5-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

Hashes for fat_macho-0.4.5-cp36-abi3-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 60edd2c4db3fb8d5070ebcb292fec318460c45f49fabba232b11c94106582bda
MD5 b2dea2f6be6f41e93438a3c407414a5a
BLAKE2b-256 75d5a5eeb73106a28b2b8779e6eece029c3a8afeb8a4afa842c3f51e00923aa8

See more details on using hashes here.

File details

Details for the file fat_macho-0.4.5-cp36-abi3-manylinux2010_i686.whl.

File metadata

  • Download URL: fat_macho-0.4.5-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

Hashes for fat_macho-0.4.5-cp36-abi3-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 f666d00e9d454da869ca4c1e6550c0cd25f31ac19f4cd85573b8bfb4467c308b
MD5 71bf568b1bc8382e06ff2bf4768e43c0
BLAKE2b-256 bf7387d94a9930379d9784e412a10cf1d7eb79e85e1d2d670e1c478db9188fe2

See more details on using hashes here.

File details

Details for the file fat_macho-0.4.5-cp36-abi3-macosx_10_9_universal2.whl.

File metadata

  • Download URL: fat_macho-0.4.5-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

Hashes for fat_macho-0.4.5-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2dcf6501cef24c9994cd081886f95f7780524f912c2957852c7fae495777e7fb
MD5 791af7345d02849288315f40b0f18db2
BLAKE2b-256 e3dddcc85130ddc719f86b2f06ea12dd2033783dbe3d327097b67fd9d1c8a9fe

See more details on using hashes here.

File details

Details for the file fat_macho-0.4.5-cp36-abi3-macosx_10_7_x86_64.whl.

File metadata

  • Download URL: fat_macho-0.4.5-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

Hashes for fat_macho-0.4.5-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 76cef119bb8688d1b1b1208aae0406fffef68979a2d93a0b37a5c6b726eca0b4
MD5 a1b100563946b43d3ff893a9047fcfde
BLAKE2b-256 805ad21ccaece3bbca0098bedf0d6e91277910b373ab8e59735732a9f8d84c32

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page