# ONNX (Python package)

> The ONNX project's Python package for building, loading, checking and converting ONNX models

Source: https://talira.ai/catalog/onnx-python-package-pnw96s63
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [ai / ml / model formats](https://talira.ai/categories/ai/ml/model-formats)
- Licence: Apache-2.0[^2]
- Pricing: Free[^1]
- Supports: [ONNX](https://talira.ai/standards/onnx.md)[^1]
- Backed by: [LF AI & Data Foundation](https://talira.ai/orgs/lf-ai-data-foundation.md)

onnx is the ONNX project's Python package for working with models in the ONNX format, the open interchange format for deep learning and traditional ML models. It loads and saves models (including models with external data), builds graphs with helper functions, converts between tensors and NumPy arrays, checks that a model is valid, infers shapes and types, and converts a model between opset versions. Runtimes such as [ONNX Runtime](https://talira.ai/catalog/onnx-runtime-82vyrppc.md) then run the models it produces.

## Links

- Website: https://onnx.ai/
- GitHub: https://github.com/onnx/onnx
- Docs: https://onnx.ai/onnx/

## Problems it solves

- check that the model file I exported is a valid ONNX model before shipping it
- convert an ONNX model to a newer opset so another runtime accepts it
- build or edit an ONNX graph from Python

## Features

- load and save ONNX models, including models with external data
- build models with helper functions and convert tensors to and from NumPy arrays
- model checker, shape and type inference, and opset version conversion

## Trust

Overall: 0.74 out of 1.
Signals: maintenance 1.00, adoption 0.87, momentum 0.69, community 1.00, backing 0.30, extensibility 0.00.

- last commit 2 days ago
- 263 commits in the last 90 days
- latest release v1.23.2 55 days ago
- 21.8k GitHub stars
- 469 contributors
- accepts sponsorship (Custom)
- backed by LF AI & Data Foundation

## Sources

[^1]: https://github.com/onnx/onnx/blob/main/README.md (checked 29 Nov 2026)
[^2]: https://github.com/onnx/onnx/blob/main/LICENSE (checked 29 Nov 2026)
