Skip to main content

Surgical Binary Metadata Editing. Powered by Rust.

Project description

MetaEdit

Surgical Binary Metadata Editing. Powered by Rust.

Python Rust PyPI

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 .exe tools like rcedit.
  • 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metaedit-0.1.21.tar.gz (21.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

metaedit-0.1.21-cp310-abi3-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.10+Windows x86-64

metaedit-0.1.21-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (285.1 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

metaedit-0.1.21-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (596.3 kB view details)

Uploaded CPython 3.10+macOS 10.12+ universal2 (ARM64, x86-64)macOS 10.12+ x86-64macOS 11.0+ ARM64

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

Hashes for metaedit-0.1.21.tar.gz
Algorithm Hash digest
SHA256 4393b3c2fca0cea77779f6d01cc8319ad3d4bc0ab214e09253600f81e1ac0fa7
MD5 ddb7b60a7c38d2305e887ea67e9ea359
BLAKE2b-256 d4701d5fd49e1c5019bc5e6d17ffb398e56a65b4ff9063762b0cea8ac7cb759b

See more details on using hashes here.

Provenance

The following attestation bundles were made for metaedit-0.1.21.tar.gz:

Publisher: pypi-publish.yml on Ghua8088/metaedit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for metaedit-0.1.21-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d03a36c08a54d6c2549036a7088a82ce86f0dc40e3c3d481a5e46dd7065477ee
MD5 5ae9ac4a4d883837073e71cb2830299b
BLAKE2b-256 d71e044759c44704094870ebe0711c3e6b5a62745e1eb8b659f064e48bdf0661

See more details on using hashes here.

Provenance

The following attestation bundles were made for metaedit-0.1.21-cp310-abi3-win_amd64.whl:

Publisher: pypi-publish.yml on Ghua8088/metaedit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file metaedit-0.1.21-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for metaedit-0.1.21-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1e777bc8d923d6d0ff080779f0be8d93db8ed895b3e0733b8244c41d57fbbea0
MD5 1eb15499e2679cf89b895bcae3a1663f
BLAKE2b-256 f9bf297cab0c354d3014d7b8cb233d5705193b50a77943b2b3c66e53043b7cfd

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

File hashes

Hashes for metaedit-0.1.21-cp310-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
Algorithm Hash digest
SHA256 e3c1f82e17abf461df4f892e9642f926e4d930ef83392e4de03acd2b04f5347f
MD5 59fadc4d876d6779920c0bcc5c3e02ea
BLAKE2b-256 4f0d63eb20ab3160876587e810391a8754260928a6cf3dbc677aff2a92d064a4

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page