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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.6+ Windows x86-64

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

Uploaded CPython 3.6+ Windows x86

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

Uploaded CPython 3.6+

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

Uploaded CPython 3.6+

fat_macho-0.4.7-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.7-cp36-abi3-manylinux2010_i686.whl (1.1 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.12+ i686

fat_macho-0.4.7-cp36-abi3-macosx_10_9_universal2.whl (688.6 kB view details)

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

fat_macho-0.4.7-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.7.tar.gz.

File metadata

  • Download URL: fat_macho-0.4.7.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.7.tar.gz
Algorithm Hash digest
SHA256 aefd1fd2f5f9a3929286dff9d4430ac0462bc3377e538570bf4ee324fc57d601
MD5 b5bf5bc86b5b37d95fb1204970c0cc80
BLAKE2b-256 67afbf310ee1fbcfff54dd73ad76ce885f1e4d4f69bc28f4dbcd68572f2fdbc7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fat_macho-0.4.7-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.7-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 9f6994d0bdf2ec227b043b809dec6f45e7949cb4dd3cc1cebc7c99f9825e96bd
MD5 a7f2e84db284d2d4ffeeda0f6af22286
BLAKE2b-256 d3d303dbf25e7aa0ce1b9c3ccb6b4b77ebf9844512f75e52e518702cf11b120c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fat_macho-0.4.7-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.7-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 8b474408207b9cd0b19689ba59d32e3ac9080d0360e5607220aff1832f71f0f2
MD5 b2bda1263ad1da8546bb8cc3ddc2f706
BLAKE2b-256 2e67b0e8aaf0873f95ace98c91d0ca5848a50f17f33d8407286ab725b01fec9b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fat_macho-0.4.7-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.7-cp36-abi3-manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 ad1db620d9e6ac91170c75619418cc714b34b8e2a0461b5d9a77fc7860018374
MD5 3391af1fdca565ad99b80aa83132c360
BLAKE2b-256 276124c9166c27096445f9ffdc0d37f837b085132f4ff72358d4b2cf27049282

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fat_macho-0.4.7-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.7-cp36-abi3-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6e68d73405a32944e4342a756cda68cd5d4aef09297ce93a208616576691dd8d
MD5 9a8f3d08b04d78cc7059f7f3e780c303
BLAKE2b-256 3042c86c1f3e2b96b4d4629287d7f9b84e12ba9970184d2a616fb19e6494dc22

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fat_macho-0.4.7-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.7-cp36-abi3-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 7fd0165ab9c72e2af918b45340d042b60beba5e4abc0c7e430e3211d7fa08fcd
MD5 4889de5000e7542065799f05dbe8c014
BLAKE2b-256 4eb13f22ee8a010480cfd50ffb208a286192316c547a0e159cd99b60ed45e771

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fat_macho-0.4.7-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.7-cp36-abi3-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 34c8b808149d94eaa3e4c5bba6f13cc298fd9c1df1f902bf861baf383d0fd8a1
MD5 c6a7c845243982d2143e2ccaecff6929
BLAKE2b-256 5789e1c580a0395e4082752cf06084bd3b5ab68fb9d4ccabdaeab489e607465f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fat_macho-0.4.7-cp36-abi3-macosx_10_9_universal2.whl
  • Upload date:
  • Size: 688.6 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.7-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 201f92c6b1a646eb6049f75cc88c81ca046ac3100e795c487af80f2fbe3631fc
MD5 e7dab06a4fefccc27f343f5aee417e23
BLAKE2b-256 6c33956df34ff63b3527d4e2fd2982e19030112019495ca69b3d3a1853a46d25

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fat_macho-0.4.7-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.7-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 9e00adce041e1c0d79379d787b776fd90c100d0a8e6cc9a246de1982a3c77c6a
MD5 d2e3aec1b4ed6b668d00c5de795689ad
BLAKE2b-256 e26e762a7b9016bbbdc7836857c68b361a34e20a397ebf7d0b2ee6096f34df69

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