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

Uploaded Source

Built Distributions

fat_macho-0.4.8-cp36-abi3-win_amd64.whl (234.4 kB view details)

Uploaded CPython 3.6+ Windows x86-64

fat_macho-0.4.8-cp36-abi3-win32.whl (229.8 kB view details)

Uploaded CPython 3.6+ Windows x86

fat_macho-0.4.8-cp36-abi3-manylinux_2_24_ppc64le.whl (1.2 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.24+ ppc64le

fat_macho-0.4.8-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl (1.3 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ s390x

fat_macho-0.4.8-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.8-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.8-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.8-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.0 MB view details)

Uploaded CPython 3.6+ manylinux: glibc 2.17+ ARM64

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

Uploaded CPython 3.6+

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

Uploaded CPython 3.6+

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

Uploaded CPython 3.6+ manylinux: glibc 2.12+ i686

fat_macho-0.4.8-cp36-abi3-manylinux1_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.6+

fat_macho-0.4.8-cp36-abi3-manylinux1_i686.whl (1.1 MB view details)

Uploaded CPython 3.6+

fat_macho-0.4.8-cp36-abi3-macosx_10_9_universal2.whl (698.0 kB view details)

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

fat_macho-0.4.8-cp36-abi3-macosx_10_7_x86_64.whl (348.6 kB view details)

Uploaded CPython 3.6+ macOS 10.7+ x86-64

File details

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

File metadata

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

File hashes

Hashes for fat_macho-0.4.8.tar.gz
Algorithm Hash digest
SHA256 bd9bdc375c44057cd02894effeed0edfcee9bb89b0d8e9c59616948df9d83427
MD5 14affb7cb931007c595c5abe1de6edc2
BLAKE2b-256 47a5d4be6485ad8878111ddcaace1c0f9aa3b7cb9ab5be2181f6718409949102

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for fat_macho-0.4.8-cp36-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5cc546a4cbadf40e21be164385a1054688340423f9f1282718f4b0e1c57c45c7
MD5 2ac18062693ae6d39694585f0ac5ff02
BLAKE2b-256 a8283790c01b06cb98bf442cb779ade238a4c15d7b76497cfa879c6ea6b3f673

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for fat_macho-0.4.8-cp36-abi3-win32.whl
Algorithm Hash digest
SHA256 c9368e73c2689deceba605bd6af156240e8d28fea3a5c69352cd7186b6761d5c
MD5 0be5b63b36d3548367b7cea2d4a9f2ea
BLAKE2b-256 fa06076b7d26bf5705a1b905423ebb740d776b1dca8e3e05f53f2f87f4c09fa8

See more details on using hashes here.

File details

Details for the file fat_macho-0.4.8-cp36-abi3-manylinux_2_24_ppc64le.whl.

File metadata

  • Download URL: fat_macho-0.4.8-cp36-abi3-manylinux_2_24_ppc64le.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.6+, manylinux: glibc 2.24+ ppc64le
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for fat_macho-0.4.8-cp36-abi3-manylinux_2_24_ppc64le.whl
Algorithm Hash digest
SHA256 4e31dc0a1190150d52a02fb4b475fc15e673c879ccaef4798442c43d48888c62
MD5 59e04f3b5b03b64ea54ff629406124ef
BLAKE2b-256 9d01922ad50ea605d6a35f1769fb9a850166c8e2d43cabbbb4aab87bbb199920

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fat_macho-0.4.8-cp36-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm Hash digest
SHA256 6176b76f40a8a8b903056ef055832685c1be9239ed734c42d2668d67d89895fa
MD5 47604312362307115a329a02cab263b9
BLAKE2b-256 72c3ef534f845fd7fbd15e79f1753e6a5d8d915a2b15d4a487c4ff834b7df1e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fat_macho-0.4.8-cp36-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm Hash digest
SHA256 76c44f1487a586e7a012710cd2138157a054b38dd2d78afcdfa90f4257cd73bc
MD5 5a4f1e2e5a31fb67b58f5f2ea0e56c06
BLAKE2b-256 1635dcb4aa7aeefd4f256086c263dd5460e713ba1f39e0cae432c621f58b358e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fat_macho-0.4.8-cp36-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Algorithm Hash digest
SHA256 4d53637bce1bfeeec61453e8905b11cad97045028c39f06f16b4dec373d1f0a1
MD5 9400fde865f17de9debffe90be2325d0
BLAKE2b-256 b9cb7556286e7a996af6484272f2854ca2a7395156bf557af48e241fb43678e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fat_macho-0.4.8-cp36-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 f51bb29d5f9e03de71d40217441b9482decf27abe46cd8438f137d43ad9edfca
MD5 84aa55cd0e2c14920b58fff9ab19307a
BLAKE2b-256 43386f1468772c56bc5c091caba109a643a66986aa75de03496b0d85dd078cec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fat_macho-0.4.8-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2f35b4dd00b5bbc7d0de17d39220a36edbd733942b3945b4a608a829b9a83cda
MD5 20bf6a019ec94a6e5fc7d464836e572d
BLAKE2b-256 177f01bbe475705d17093e77a22ed5ba56b6aaf6c8deda94c6eff5c255fa9aef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fat_macho-0.4.8-cp36-abi3-manylinux2014_armv7l.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.6+
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for fat_macho-0.4.8-cp36-abi3-manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 23405d6c09fb76f3b9d744303e8dc7b1046b2317cd41ad8d65611eb36f5795a7
MD5 3909c4b00c974bcb8a7484c56bfcde6d
BLAKE2b-256 2a6283841e0ed9a5fb89b6d25264cc49443a255de7aa0cc1eb48bc930151eecc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fat_macho-0.4.8-cp36-abi3-manylinux2014_aarch64.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.6+
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for fat_macho-0.4.8-cp36-abi3-manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 398a09d7d6cd44c26e99ebb23ba81682c6f7a8c69a5342c8734435696873983f
MD5 a4749e3878e12e0c5fd156fec5238d62
BLAKE2b-256 4225ed83fa9f69882fbcd90edbb86ed2fc4bd5eaeb5f6cfa2d576382d2e28b9e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fat_macho-0.4.8-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.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for fat_macho-0.4.8-cp36-abi3-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 198f36cabbe04a1b639e9cddb382792bd6cd4135bdd1cb8d811ca9d32ef90cba
MD5 2b1e05dff348916bce5b00075ffe5255
BLAKE2b-256 148ec0a369f112f81510f7ba9c6679a6ecfd986e32ff00a70c06187b3fb734f9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fat_macho-0.4.8-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.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for fat_macho-0.4.8-cp36-abi3-manylinux2010_i686.whl
Algorithm Hash digest
SHA256 63da5d0368d7e1db2a4de8a3ff2387f2f6a1c94167f4107c716582b556358cc4
MD5 a5d441714a098bb24fb8ccb69b8f7b07
BLAKE2b-256 a75b7d8f9cb901468650784fcfd60574809fefcc52a775bf2e03c94ec1ea40cf

See more details on using hashes here.

File details

Details for the file fat_macho-0.4.8-cp36-abi3-manylinux1_x86_64.whl.

File metadata

  • Download URL: fat_macho-0.4.8-cp36-abi3-manylinux1_x86_64.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: CPython 3.6+
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for fat_macho-0.4.8-cp36-abi3-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a5db038ccc47d729d164217c9e836b88b3365cecc84a1b5739e360b067668a56
MD5 e252aeec3f5c27ccaf32fb855d5861b4
BLAKE2b-256 c408cc9f210032f65cb3823db243920acc66417304a9cd3d22362a86bc0a7811

See more details on using hashes here.

File details

Details for the file fat_macho-0.4.8-cp36-abi3-manylinux1_i686.whl.

File metadata

  • Download URL: fat_macho-0.4.8-cp36-abi3-manylinux1_i686.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.6+
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5

File hashes

Hashes for fat_macho-0.4.8-cp36-abi3-manylinux1_i686.whl
Algorithm Hash digest
SHA256 97c3ad2de1862df1df4df77cb469f19c028c0c643b553933352683d60c1b3f27
MD5 d3448319b7c839c581e57c27597e12f7
BLAKE2b-256 145d057bb338640e83072c9c9fb7490941b2aa7d311b8e907f87432124b1646d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fat_macho-0.4.8-cp36-abi3-macosx_10_9_universal2.whl
  • Upload date:
  • Size: 698.0 kB
  • Tags: CPython 3.6+, macOS 10.9+ universal2 (ARM64, x86-64)
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

File hashes

Hashes for fat_macho-0.4.8-cp36-abi3-macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 2a08a8187df275ee1445f7de68998a927e0ec92d37a12f991db2d4b930bbfbad
MD5 bc92bb5e2d81911a0dcf6d718f8cb024
BLAKE2b-256 dc231ddbc968c85d01d86d64d22443641cc1af2b8d6bac9834abfb8e4f4724c6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for fat_macho-0.4.8-cp36-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 0cb8c68e91a2e7a9f05b41350c3c415774bf676265890cbd4df18a3027d3a71b
MD5 0b3348667150888fc5b06a4f95bec023
BLAKE2b-256 c2c2411aea91a723d34d809acdbdb98ead09654eb5dd7e1cebb7ab12127f4393

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