Surgical Binary Metadata Editing. Powered by Rust.
Project description
MetaEdit
Surgical Binary Metadata Editing. Powered by Rust.
MetaEdit is a high-performance, cross-platform library and CLI tool designed for surgical binary manipulation. It allows you to patch executable metadata (icons, version strings, manifests) with 1:1 precision, without re-compiling your source.
Originally built for the CactusCat framework, MetaEdit is now available as a standalone power-tool for any Python or Rust project that needs to brand and identify binaries post-build.
Features
- Rust-Native Performance: Zero-overhead metadata patching. No reliance on legacy
.exetools likercedit. - 1:1 Binary Surgery: Directly manipulates PE resources (Windows), Info.plist (macOS), and Desktop entries (Linux).
- Icon Injection: High-fidelity icon patching with multi-resolution support.
- Fluent API: Modern, chainable Python API for complex branding sequences.
- Unified CLI: A single command to rule all platforms.
💻 Python Usage
MetaEdit provides three distinct ways to brand your binaries:
1. Dictionary-based (Clean & Pythonic)
Best for dynamic configuration files or settings blocks.
import metaedit
metaedit.edit("app.exe", {
"icon": "app.ico",
"version": "1.2.3.4",
"CompanyName": "CactusCat Industries",
"FileDescription": "The Next Big Thing",
"LegalCopyright": "© 2026"
}).apply()
2. Direct Update (Fast & Simple)
One-liner for quick patches.
metaedit.update("app.exe", icon="logo.ico", version="1.0.0.1")
3. Fluent API (Chainable)
Maximum control and readability.
metaedit.edit("app.exe") \
.set_icon("app.ico") \
.set_version("1.2.3.4") \
.set_string("ProductName", "CactusCat Engine") \
.apply()
📟 CLI Usage
MetaEdit is its own standalone power-tool. Install globally and brand anything.
metaedit app.exe --icon logo.ico --version 2.0.0.0 --company "Acme Corp"
🌍 Platform Specifics
| Platform | Technique | Result |
|---|---|---|
| Windows | Direct PE Resource Patching | Built-in Icons & Version Info (Task Manager ready) |
| macOS | Bundle Synthesis | Full .app structure with Info.plist and .icns |
| Linux | Desktop Integration | .desktop entry generation and Icon distribution |
📦 Installation
pip install metaedit
MetaEdit ships with pre-compiled Rust wheels. You do not need a Rust compiler installed to use it.
⚖️ License
MetaEdit is open-source software licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file metaedit-0.1.21.tar.gz.
File metadata
- Download URL: metaedit-0.1.21.tar.gz
- Upload date:
- Size: 21.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4393b3c2fca0cea77779f6d01cc8319ad3d4bc0ab214e09253600f81e1ac0fa7
|
|
| MD5 |
ddb7b60a7c38d2305e887ea67e9ea359
|
|
| BLAKE2b-256 |
d4701d5fd49e1c5019bc5e6d17ffb398e56a65b4ff9063762b0cea8ac7cb759b
|
Provenance
The following attestation bundles were made for metaedit-0.1.21.tar.gz:
Publisher:
pypi-publish.yml on Ghua8088/metaedit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
metaedit-0.1.21.tar.gz -
Subject digest:
4393b3c2fca0cea77779f6d01cc8319ad3d4bc0ab214e09253600f81e1ac0fa7 - Sigstore transparency entry: 864034092
- Sigstore integration time:
-
Permalink:
Ghua8088/metaedit@6d0e2f2bb80331a8f86f460c4cf84a86630a56d3 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Ghua8088
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@6d0e2f2bb80331a8f86f460c4cf84a86630a56d3 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file metaedit-0.1.21-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: metaedit-0.1.21-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d03a36c08a54d6c2549036a7088a82ce86f0dc40e3c3d481a5e46dd7065477ee
|
|
| MD5 |
5ae9ac4a4d883837073e71cb2830299b
|
|
| BLAKE2b-256 |
d71e044759c44704094870ebe0711c3e6b5a62745e1eb8b659f064e48bdf0661
|
Provenance
The following attestation bundles were made for metaedit-0.1.21-cp310-abi3-win_amd64.whl:
Publisher:
pypi-publish.yml on Ghua8088/metaedit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
metaedit-0.1.21-cp310-abi3-win_amd64.whl -
Subject digest:
d03a36c08a54d6c2549036a7088a82ce86f0dc40e3c3d481a5e46dd7065477ee - Sigstore transparency entry: 864034161
- Sigstore integration time:
-
Permalink:
Ghua8088/metaedit@6d0e2f2bb80331a8f86f460c4cf84a86630a56d3 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Ghua8088
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@6d0e2f2bb80331a8f86f460c4cf84a86630a56d3 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file metaedit-0.1.21-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: metaedit-0.1.21-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 285.1 kB
- Tags: CPython 3.10+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e777bc8d923d6d0ff080779f0be8d93db8ed895b3e0733b8244c41d57fbbea0
|
|
| MD5 |
1eb15499e2679cf89b895bcae3a1663f
|
|
| BLAKE2b-256 |
f9bf297cab0c354d3014d7b8cb233d5705193b50a77943b2b3c66e53043b7cfd
|
Provenance
The following attestation bundles were made for metaedit-0.1.21-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
pypi-publish.yml on Ghua8088/metaedit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
metaedit-0.1.21-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
1e777bc8d923d6d0ff080779f0be8d93db8ed895b3e0733b8244c41d57fbbea0 - Sigstore transparency entry: 864034119
- Sigstore integration time:
-
Permalink:
Ghua8088/metaedit@6d0e2f2bb80331a8f86f460c4cf84a86630a56d3 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Ghua8088
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@6d0e2f2bb80331a8f86f460c4cf84a86630a56d3 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file metaedit-0.1.21-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl.
File metadata
- Download URL: metaedit-0.1.21-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
- Upload date:
- Size: 596.3 kB
- Tags: CPython 3.10+, macOS 10.12+ universal2 (ARM64, x86-64), macOS 10.12+ x86-64, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3c1f82e17abf461df4f892e9642f926e4d930ef83392e4de03acd2b04f5347f
|
|
| MD5 |
59fadc4d876d6779920c0bcc5c3e02ea
|
|
| BLAKE2b-256 |
4f0d63eb20ab3160876587e810391a8754260928a6cf3dbc677aff2a92d064a4
|
Provenance
The following attestation bundles were made for metaedit-0.1.21-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl:
Publisher:
pypi-publish.yml on Ghua8088/metaedit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
metaedit-0.1.21-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl -
Subject digest:
e3c1f82e17abf461df4f892e9642f926e4d930ef83392e4de03acd2b04f5347f - Sigstore transparency entry: 864034147
- Sigstore integration time:
-
Permalink:
Ghua8088/metaedit@6d0e2f2bb80331a8f86f460c4cf84a86630a56d3 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Ghua8088
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi-publish.yml@6d0e2f2bb80331a8f86f460c4cf84a86630a56d3 -
Trigger Event:
workflow_dispatch
-
Statement type: