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

Uploaded Source

Built Distributions

fat_macho-0.4.10-cp36-abi3-win_amd64.whl (224.8 kB view details)

Uploaded CPython 3.6+ Windows x86-64

fat_macho-0.4.10-cp36-abi3-win32.whl (224.5 kB view details)

Uploaded CPython 3.6+ Windows x86

fat_macho-0.4.10-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.10-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.10-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.10-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.10-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (987.6 kB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARM64

fat_macho-0.4.10-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl (997.0 kB view details)

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

fat_macho-0.4.10-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.10-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (674.2 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.10-cp36-abi3-macosx_10_7_x86_64.whl (338.1 kB view details)

Uploaded CPython 3.6+ macOS 10.7+ x86-64

File details

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

File metadata

  • Download URL: fat_macho-0.4.10.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for fat_macho-0.4.10.tar.gz
Algorithm Hash digest
SHA256 e01457c47ce40090d4793b70327763f11789071c1a186b2e818b59f5bb29f0ee
MD5 9c97d8555f673cc0b0b5a7a20097e3fe
BLAKE2b-256 a7382a80b7851b6a2130a94f880ccc7aa4e220926c3be9cec77b657d9a34cb76

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for fat_macho-0.4.10-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 4df804d2e8502396e6ca0ecd78c700bc1a0919a115937e62b42a2cdadfcd59bc
MD5 0587ec3bc4cf1bba8253410469c922ef
BLAKE2b-256 8acb83dea90ad1139324814bf296bc8ec9ea3898951fbda1a83471a0a8320259

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for fat_macho-0.4.10-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 1e9a70f9e3ca5e686f03018d6a101a40667206b620153fc8dde503a61a94e561
MD5 a14bee819990eaa08653260a625db5f1
BLAKE2b-256 34bbe5bb9165468fefaa4c27a7e64890acbe3317dd6b86c23ec73d68568ae1bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fat_macho-0.4.10-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 4202c03fd32fd55dee6ee4373a71b0b18621b2a5ce046ef70e855c840871065c
MD5 a2657745e4de4ea4727aa18b96565e0c
BLAKE2b-256 7ba85a58b5bbc01796ef802d3919d4c932bc8c1c4fd7b1704d12e5c244438e20

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fat_macho-0.4.10-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 58ed0d4eac36d8b4ea64153b21fae6eb487619c8b54533321dfa7779988aa95a
MD5 f457fbd31fcccdcd21f4722481348ea6
BLAKE2b-256 31393e905fa7788544cd1a20a4b14020d585248590a76120d81a0c2126c5e3b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fat_macho-0.4.10-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 740d3756153decd48db2b5f93428478434be2d0771d0aad448fe29364ee7b3a0
MD5 c25f677be0d015746a79904f7b7c2031
BLAKE2b-256 935f086693f9401201df963ad0f30b7ae74d1a3d53196b236218b0d4ca823e21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fat_macho-0.4.10-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 c4f55ae117f6600becba9fc5d3a5f0e69b5d660b990dac5522f7c9e1ad26ff6d
MD5 54f0afed935b7351dd2beffc99bdce6c
BLAKE2b-256 1cff09a2e86866734491710442ead1300854283e75ed9417edafef8faec862b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fat_macho-0.4.10-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 dd09dd1b597e5a8dcff873cc749dc0419f868d721a8cd8c0fd6c678d97449359
MD5 64120cb6bf10c1285f701a5613838401
BLAKE2b-256 747aa414c35ec62b4f719ae1dacab4d6672db30f7e1ceae48dfdb26db98b191b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fat_macho-0.4.10-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 ad084791d917a0376f11593a29f3495c594467c4ebe93982e2c02325724cd3b1
MD5 a20c7e9e7a5881f1d60da913c1ea5deb
BLAKE2b-256 cc80ebf5407c304b70597da8db45bcef0dc3f6c69060b8dc0a1cf83f96e5c255

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fat_macho-0.4.10-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.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for fat_macho-0.4.10-cp36-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Algorithm Hash digest
SHA256 d9718144da8e9567d03ecdfd1e1fddec2b59ef5aad3096c36707ee583e0743ff
MD5 b7f890093206119e054e56bd06635dd7
BLAKE2b-256 3b4f31518270627c56b82c1211cf9986b1bec7f0c7ef79ca719eec6c294683c9

See more details on using hashes here.

File details

Details for the file fat_macho-0.4.10-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.10-cp36-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 1096cf816467d3ebb11d07036bf255715c5bdd3efb4c17e6e94bd8f90a4174d6
MD5 42d3dad56373d8ee38e0e58f15f5c7cc
BLAKE2b-256 7c5d0b2dcf3f19aa70cf10a7812041b564e4e9f6c14f6fd9b0124d9db56820e8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fat_macho-0.4.10-cp36-abi3-macosx_10_7_x86_64.whl
  • Upload date:
  • Size: 338.1 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.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

File hashes

Hashes for fat_macho-0.4.10-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 e3114f10b2890daafa61b805de7ce3dd7bddb74f005e1940b4efbba5780eceb3
MD5 30ada5eee3496a9fd58e70e0c7deeaa6
BLAKE2b-256 37a3e6c134c1351bf93046f2f8e5accd4598c6d6bb0210ff224a54865566b5a6

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