sna4onnx
Simple node addition tool for onnx. Simple Node Addition for ONNX.
Decision gist · record as of 2026-08-14
No—the project is abandoned (last update 2022-09-09). While the tool itself is permissively licensed and has low install friction, the lack of maintenance means no bug fixes, no compatibility updates for modern ONNX or Python versions, and no support for new operator types. Use only if you have a specific, stable use case with an older ONNX version and are willing to maintain a fork yourself.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.6; sog4onnx must also be installed as a runtime dependency.
- Low friction install with a single runtime dependency (sog4onnx).
- However, the project is abandoned—last commit was 2022-09-09 with no updates since.
License · maintenance · safety
MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions, making it safe from a licensing perspective for most projects.
last release 2022-09-09 (1435 days) · last repo commit 2022-09-09 · 5 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 82,700 downloads/mo, #14,142 on PyPI
Alternatives
Verify before relying
pip install sna4onnx
from sna4onnx import add
model = add(
connection_src_op_output_names=[["OpA", "out1", "NewOp", "in1"]],
connection_dest_op_input_names=[["NewOp", "out1", "OpB", "in1"]],
add_op_type="Add",
add_op_name="NewOp",
input_onnx_file_path="model.onnx"
)- Whether sog4onnx (the single runtime dependency) is actively maintained or also abandoned.
- Compatibility with recent ONNX versions and modern Python releases beyond 3.6.
- Whether the abandoned status affects real-world usability for stable ONNX model editing tasks.
What it is and what it does
sna4onnx is a command-line and Python library tool for inserting new ONNX operators into existing model graphs. It lets you specify source and destination connection points, then injects a new operation between them while preserving model structure. The tool works by taking an input ONNX file, defining the new operator type and its input/output variables and attributes, and wiring it into the graph at the specified nodes.
The package is designed to work alongside other ONNX manipulation tools like sog4onnx (which generates operators) and snc4onnx (which merges model parts). It performs full model consistency checks after insertion and outputs the modified model even if warnings are raised. Only one operator can be added per invocation, and unconnected input/output variables are automatically added to the graph's input/output definitions.
Use it for
- Insert preprocessing or postprocessing operations into an existing ONNX model pipeline.
- Add custom operators between model layers for debugging or feature extraction.
- Inject normalization, scaling, or transformation nodes into a frozen model graph.
- Combine operator generation (via sog4onnx) with graph insertion for model modification workflows.
- Modify model architecture by adding intermediate operations without retraining.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No—the project is abandoned (last update 2022-09-09).
While the tool itself is permissively licensed and has low install friction, the lack of maintenance means no bug fixes, no compatibility updates for modern ONNX or Python versions, and no support for new operator types. Use only if you have a specific, stable use case with an older ONNX version and are willing to maintain a fork yourself.
Install
sna4onnx on PyPI
Before you install
Low friction install with a single runtime dependency (sog4onnx). However, the project is abandoned—last commit was 2022-09-09 with no updates since. No active maintenance or bug fixes should be expected.
Requires Python >=3.6; sog4onnx must also be installed as a runtime dependency.
License in practice
MIT License permits commercial and private use with minimal restrictions, making it safe from a licensing perspective for most projects.
Quickstart
pip install sna4onnx
from sna4onnx import add
model = add(
connection_src_op_output_names=[["OpA", "out1", "NewOp", "in1"]],
connection_dest_op_input_names=[["NewOp", "out1", "OpB", "in1"]],
add_op_type="Add",
add_op_name="NewOp",
input_onnx_file_path="model.onnx"
)
Verify before relying
- Whether sog4onnx (the single runtime dependency) is actively maintained or also abandoned.
- Compatibility with recent ONNX versions and modern Python releases beyond 3.6.
- Whether the abandoned status affects real-world usability for stable ONNX model editing tasks.
Package facts
| License | MIT License permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagesog4onnx |
| Maintenance | Abandoned 1,435 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 82,700 / month, #14,142 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: sna4onnx-1.0.6-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 insertion”
- sna4onnxAdds new operations (nodes) to ONNX model graphs at specified…
- svs4onnxSwaps connections between output and input variables in ONNX model…
- snd4onnxRemoves specified nodes from ONNX model graphs via CLI or Python API,…
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 · soa4onnx · sog4onnx · sam4onnx · sor4onnx · snd4onnx · sod4onnx · soc4onnx · snc4onnx · svs4onnx