sed4onnx
Simple ONNX constant encoder/decoder.
Decision gist · record as of 2026-08-14
Yes, if you are actively working with ONNX model constant modification and can tolerate the lack of maintenance. The package is lightweight, has no dependencies, and does one job well. However, if you need ongoing support, compatibility updates, or are starting a new ONNX workflow, consider whether an actively maintained alternative exists or whether the dormant status poses a risk to your project timeline.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.6
- Low friction: pure Python wheel with no runtime dependencies.
- Maintenance is dormant (last release 2022-12-30, no activity since), so expect no updates or bug fixes going forward.
License · maintenance · safety
MIT License (permissive) — MIT License permits free use, modification, and distribution with minimal restrictions—suitable for both open and closed projects.
last release 2022-12-30 (1323 days) · last repo commit 2022-12-30 · 6 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 82,671 downloads/mo, #14,145 on PyPI
Alternatives
Verify before relying
pip install -U sed4onnx
from sed4onnx import encode, decode
base64_string = encode(
constant_string='[-1,3,224,224]',
dtype='int64',
)
numpy_ndarray = decode(
constant_string='//////////8DAAAAAAAAAOAAAAAAAAAA4AAAAAAAAAA=',
dtype='int64',
)- Whether the package works correctly with current ONNX versions and modern Python releases despite no recent maintenance.
- Compatibility with onnx2json and json2onnx tools mentioned in the description—whether those remain functional.
- Performance characteristics when handling large constant values or many encode/decode operations.
What it is and what it does
sed4onnx is a utility for converting constant values in ONNX model files between ASCII and Base64 formats. It sits in a workflow where you export an ONNX model to JSON (with constants Base64-encoded), edit the constant values using sed4onnx to convert them back and forth between human-readable and encoded forms, and then regenerate the modified ONNX file. The package provides both a command-line interface and a Python API with encode() and decode() functions that handle float16, float32, float64, uint8, int8, int16, int32, int64, and string data types.
The package has no external runtime dependencies and installs as a pure Python wheel, making it lightweight and portable. However, it has been abandoned since late 2022 with no maintenance activity since then, so it will not receive updates, bug fixes, or compatibility patches for newer ONNX or Python versions.
Use it for
- Modify constant tensor values in ONNX models by exporting to JSON, editing constants, and regenerating the model.
- Convert between Base64 and ASCII representations of numeric arrays when working with ONNX constant serialization.
- Batch-encode or decode constant values in a Python script as part of an ONNX model transformation pipeline.
- Inspect and edit ONNX model constants that have been exported to JSON.
- Support workflows that require programmatic modification of ONNX model constants without full model retraining.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are actively working with ONNX model constant modification and can tolerate the lack of maintenance.
The package is lightweight, has no dependencies, and does one job well. However, if you need ongoing support, compatibility updates, or are starting a new ONNX workflow, consider whether an actively maintained alternative exists or whether the dormant status poses a risk to your project timeline.
Install
sed4onnx on PyPI
Before you install
Low friction: pure Python wheel with no runtime dependencies. Maintenance is dormant (last release 2022-12-30, no activity since), so expect no updates or bug fixes going forward.
Requires Python >=3.6
License in practice
MIT License permits free use, modification, and distribution with minimal restrictions—suitable for both open and closed projects.
Quickstart
pip install -U sed4onnx
from sed4onnx import encode, decode
base64_string = encode(
constant_string='[-1,3,224,224]',
dtype='int64',
)
numpy_ndarray = decode(
constant_string='//////////8DAAAAAAAAAOAAAAAAAAAA4AAAAAAAAAA=',
dtype='int64',
)
Verify before relying
- Whether the package works correctly with current ONNX versions and modern Python releases despite no recent maintenance.
- Compatibility with onnx2json and json2onnx tools mentioned in the description—whether those remain functional.
- Performance characteristics when handling large constant values or many encode/decode operations.
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 | Abandoned 1,323 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 82,671 / month, #14,145 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: sed4onnx-1.0.5-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 constant encoder decoder”
- sed4onnxEncodes and decodes Base64-formatted constant values for ONNX model…
- onnx-toolParse, analyze, optimize, and profile ONNX neural network models with…
- segmentation-models-pytorchProvides PyTorch-based neural network models for image semantic…
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 json2onnx · sam4onnx · onnx2json · unpaddedbase64 · scs4onnx · sde4onnx · simple-onnx-processing-tools · sng4onnx · ecoji · python-codicefiscale