fat-macho-0.4.9
توضیحات
Mach-O fat binary writer
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fat-macho-0.4.9 |
| نام | fat-macho |
| نسخه کتابخانه | 0.4.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | messense <messense@icloud.com> |
| ایمیل نویسنده | messense <messense@icloud.com> |
| آدرس صفحه اصلی | https://github.com/messense/fat-macho-rs |
| آدرس اینترنتی | https://pypi.org/project/fat-macho/ |
| مجوز | MIT |
# fat-macho
[](https://github.com/messense/fat-macho-rs/actions?query=workflow%3APython)
[](https://pypi.org/project/fat-macho)
Python wrapper of the [fat-macho](https://github.com/messense/fat-macho-rs) Rust crate.
## Installation
```bash
pip install fat-macho
```
## Usage
### Generate a Mach-O fat binary
```python
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](../LICENSE) file.
نحوه نصب
نصب پکیج whl fat-macho-0.4.9:
pip install fat-macho-0.4.9.whl
نصب پکیج tar.gz fat-macho-0.4.9:
pip install fat-macho-0.4.9.tar.gz