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

Uploaded Source

Built Distributions

fat_macho-0.4.9-cp36-abi3-win_amd64.whl (224.5 kB view details)

Uploaded CPython 3.6+ Windows x86-64

fat_macho-0.4.9-cp36-abi3-win32.whl (224.0 kB view details)

Uploaded CPython 3.6+ Windows x86

fat_macho-0.4.9-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (1.2 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ s390x

fat_macho-0.4.9-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl (1.2 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ppc64le

fat_macho-0.4.9-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl (1.2 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ppc64

fat_macho-0.4.9-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (1.0 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARMv7l

fat_macho-0.4.9-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (986.2 kB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARM64

fat_macho-0.4.9-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl (995.8 kB view details)

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

fat_macho-0.4.9-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl (1.0 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.5+ i686

fat_macho-0.4.9-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (672.9 kB view details)

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

fat_macho-0.4.9-cp36-abi3-macosx_10_7_x86_64.whl (337.0 kB view details)

Uploaded CPython 3.6+ macOS 10.7+ x86-64

File details

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

File metadata

  • Download URL: fat_macho-0.4.9.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for fat_macho-0.4.9.tar.gz
Algorithm Hash digest
SHA256 0d188cb9761816d080a253f3c4d7705e0f51b76ba27b37b22adcf3a659690fc4
MD5 0adb147393c51c6ac5c8d47daa9a08c0
BLAKE2b-256 a965e9777ae66b573e576b1a2bb9e0785dfcece2ff289ab9f15ebd927d6572f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fat_macho-0.4.9-cp36-abi3-win_amd64.whl
  • Upload date:
  • Size: 224.5 kB
  • Tags: CPython 3.6+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for fat_macho-0.4.9-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 00f01caf1a270b42c8d5df0c12d1f6b90902a5765f3f423544f84dcd3fbbaed3
MD5 08b7d005e5cb689476e0d981c6f81ebf
BLAKE2b-256 f957acd398b299c0bd791e9631a81a6cdb034075d1ea9213e7de4b1f53ad5a4f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fat_macho-0.4.9-cp36-abi3-win32.whl
  • Upload date:
  • Size: 224.0 kB
  • Tags: CPython 3.6+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for fat_macho-0.4.9-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 89d1dd8aad1cbc61b51c493b31ba97fdec37ee18ceb028d0eadca1d9b200404a
MD5 6d042f29c1d415722b5ea9963c839186
BLAKE2b-256 6480cc44df44d7a8a6c96d4593d969c3044d88d7f5c5051758506c22de0d48ed

See more details on using hashes here.

File details

Details for the file fat_macho-0.4.9-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl.

File metadata

File hashes

Hashes for fat_macho-0.4.9-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 313ead2694c1a6bcdaa505cc50f71135cd791bfcc533614e7c0643048b29ed2f
MD5 1b25b21ba98cfd5f28ebcb3ec9d88685
BLAKE2b-256 0a415e1937f0f39a6723ce4553bdde78656cc440e8bfba4cc121426df4f065ab

See more details on using hashes here.

File details

Details for the file fat_macho-0.4.9-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.

File metadata

File hashes

Hashes for fat_macho-0.4.9-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 f990ffa1eaa3f5615df5f2812200008144d1c7be71880d14ad4295ff0da8e9d6
MD5 7ac25f9c4d187aa12a4eaeccc3293090
BLAKE2b-256 04509027087d0808621e6de706bcc7e6955adffc66ebb19d0819e30be9bb125f

See more details on using hashes here.

File details

Details for the file fat_macho-0.4.9-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl.

File metadata

File hashes

Hashes for fat_macho-0.4.9-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 cb110b3e0ee0c3761b55596fe8d86ac9ce8fc34f8fd6948b6f424ab8d28e29e7
MD5 4a134260342a27fe2b608a5d850d2367
BLAKE2b-256 1283f3818a5909500cb56e8d625815e8421bd649b87627095b738c55eccd26be

See more details on using hashes here.

File details

Details for the file fat_macho-0.4.9-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for fat_macho-0.4.9-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 195abc8c404e0f4afa27ac3165e8b88d1d2d80fe8522e691de1bd307efe70829
MD5 db9de32881cfc2ee63738985ef6157f5
BLAKE2b-256 855374f8977216119619b8f1f33022c973f1c2a76435f2bc5d4d25918a9e7519

See more details on using hashes here.

File details

Details for the file fat_macho-0.4.9-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for fat_macho-0.4.9-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 81f74ebcfac3d32952146c93dae7626c469c27fd2646c62d86f06ed2a4c6b607
MD5 43dd462c9b4e9dc4ed564685a762419d
BLAKE2b-256 97b034a4b1fa9fa3ebc8bf99a5f4d057dab0dda806943d8f64782ea48b850e67

See more details on using hashes here.

File details

Details for the file fat_macho-0.4.9-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for fat_macho-0.4.9-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 acd684c557b3b88a67e6b0b7377625b635b439ca383a9ba29d912f337c3be363
MD5 9ba6fee272f7438f65ad5e29f4aafd5b
BLAKE2b-256 425917d96814205a8a67960785589eb580fd37e5eb3eafc348e384ed27b90b4e

See more details on using hashes here.

File details

Details for the file fat_macho-0.4.9-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl.

File metadata

  • Download URL: fat_macho-0.4.9-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.6+, manylinux: glibc 2.5+ i686
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for fat_macho-0.4.9-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 4549017bf1507fd25207f04623b1d20496facf48c24294bf8613a66b2ae0dac4
MD5 e16d7c3d214496b1d099ce59b167494a
BLAKE2b-256 c67f2398f91fa59338e67459399afe4605993096f40389510aa486215fbceaaa

See more details on using hashes here.

File details

Details for the file fat_macho-0.4.9-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for fat_macho-0.4.9-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 ecfc0e749706d2edd7182e6ce421c53eb81dba5b2edb4913ea75af634dd006a3
MD5 996b09a72cdf47a484003547b7a99476
BLAKE2b-256 6f9124fe0be28193fc05c8188e04341323c154f29a3c82a489b5c44e2eb63e61

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fat_macho-0.4.9-cp36-abi3-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 337.0 kB
  • Tags: CPython 3.6+, macOS 10.7+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for fat_macho-0.4.9-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 502b1e0275f4ce92fe851531e20fedd7bd9480b1aa5101146ed77237b1b975a1
MD5 af2bae505fab0e71e9c25dbf75a3ad1f
BLAKE2b-256 c6c7303123b2ec5390e6caad76505b86560b0ac2f0930e87d52c9ae3b61940c5

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