sor4onnx
Simple OP Renamer for ONNX.
Decision gist · record as of 2026-08-14
Yes, if you need to rename ONNX nodes. The package is lightweight, has no dependencies, and carries permissive licensing. However, maintenance is dormant (last update 808 days ago), so verify compatibility with your ONNX version before relying on it in production. For one-off renaming tasks or model preprocessing, it is a practical choice.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction; pure Python wheel with no runtime dependencies.
- Maintenance is dormant—last release 808 days ago—but the package is stable and archived status is false, suggesting it remains available.
License · maintenance · safety
MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions, making it safe to integrate into most projects.
last release 2024-05-28 (808 days) · last repo commit 2024-05-28 · 5 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 83,107 downloads/mo, #14,100 on PyPI
Alternatives
Verify before relying
pip install sor4onnx
from sor4onnx import rename
onnx_graph = rename(
old_new=["onnx::", ""],
input_onnx_file_path="model.onnx",
output_onnx_file_path="model_renamed.onnx",
search_mode="prefix_match"
)- Whether the package works correctly with current ONNX versions (last tested or verified version not stated in fact sheet).
- Performance characteristics when renaming large graphs or handling many simultaneous replacements.
What it is and what it does
sor4onnx is a lightweight utility for renaming nodes in ONNX model files. It provides both a command-line interface and a Python API to perform string-based replacements on input names, output names, and operator names within an ONNX graph. The tool supports four matching strategies—exact, partial, prefix, and suffix—and can target all nodes or restrict changes to inputs or outputs only.
The package is designed for model preprocessing workflows where node names need to be standardized, cleaned up, or adapted for downstream tools. It reads an ONNX file or graph object, applies the specified string transformations, and outputs the modified model. With no external runtime dependencies, it installs quickly and integrates easily into Python scripts or shell pipelines.
Use it for
- Strip namespace prefixes (e.g., 'onnx::') from operator names before deployment to inference engines.
- Rename model inputs and outputs to match expected interface names in production systems.
- Batch-rename nodes matching a pattern (prefix or suffix) to standardize naming conventions across a model zoo.
- Prepare ONNX models exported from different frameworks by normalizing node nomenclature.
- Integrate model transformation into CI/CD pipelines via CLI for automated preprocessing.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to rename ONNX nodes.
The package is lightweight, has no dependencies, and carries permissive licensing. However, maintenance is dormant (last update 808 days ago), so verify compatibility with your ONNX version before relying on it in production. For one-off renaming tasks or model preprocessing, it is a practical choice.
Install
sor4onnx on PyPI
Before you install
Low friction; pure Python wheel with no runtime dependencies. Maintenance is dormant—last release 808 days ago—but the package is stable and archived status is false, suggesting it remains available.
License in practice
MIT License permits commercial and private use with minimal restrictions, making it safe to integrate into most projects.
Quickstart
pip install sor4onnx
from sor4onnx import rename
onnx_graph = rename(
old_new=["onnx::", ""],
input_onnx_file_path="model.onnx",
output_onnx_file_path="model_renamed.onnx",
search_mode="prefix_match"
)
Verify before relying
- Whether the package works correctly with current ONNX versions (last tested or verified version not stated in fact sheet).
- Performance characteristics when renaming large graphs or handling many simultaneous replacements.
Package facts
| License | MIT License permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 808 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 83,107 / month, #14,100 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: sor4onnx-1.0.7-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “onnx node renaming”
- sor4onnxRenames input, output, and operator nodes in ONNX model files using…
- simple-onnx-processing-toolsA collection of command-line tools for transforming ONNX models:…
- svs4onnxSwaps connections between output and input variables in ONNX model…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also sng4onnx · svs4onnx · simple-onnx-processing-tools · soa4onnx · sod4onnx · snd4onnx · sam4onnx · sna4onnx · sbi4onnx · snc4onnx