Skip to main content

WONNX Python module

This crate allows using WONNX from Python.

Building

To build the Python module for development:

cd wonnx-py
python3 -m venv .venv
source .venv/bin/activate
pip install maturin
maturin develop

You can also use make python from the project root. If you want to specify a specific version of python, use: make python PYTHON=python3.10 (e.g. if you used brew install python@3.10 to install Python 3.10 on macOS).

Testing

For testing, additional dependencies are required. First, ensure you have the protobuf compiler (protoc) installed and in your PATH (on macOS, you can use brew install protobuf and possibly brew link protobuf to install it). Nextl, install Python dependencies:

pip install -r requirements.txt

To test a specific operator, you can use the following command:

OP_TESTED=reduce pytest tests/test_specific_op.py

To test the current set of fully tested op:

python tests/test_onnx_backend.py

Metadata

Release files for wonnx 0.5.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wonnx 0.5.1
File Size Uploaded Provenance Actions
wonnx-0.5.1.tar.gz 17.2 kB Without provenance Details for wonnx-0.5.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for wonnx 0.5.1
File Actions
wonnx-0.5.1-cp37-abi3-win_amd64.whl CPython 3.7 abi3 Windows x86-64 Details for wonnx-0.5.1-cp37-abi3-win_amd64.whl
wonnx-0.5.1-cp37-abi3-win32.whl CPython 3.7 abi3 Windows x86-32 Details for wonnx-0.5.1-cp37-abi3-win32.whl
wonnx-0.5.1-cp37-abi3-musllinux_1_2_x86_64.whl CPython 3.7 abi3 Linux musl 1.2+ x86-64 Details for wonnx-0.5.1-cp37-abi3-musllinux_1_2_x86_64.whl
wonnx-0.5.1-cp37-abi3-musllinux_1_2_i686.whl CPython 3.7 abi3 Linux musl 1.2+ x86-32 Details for wonnx-0.5.1-cp37-abi3-musllinux_1_2_i686.whl
wonnx-0.5.1-cp37-abi3-musllinux_1_2_armv7l.whl CPython 3.7 abi3 Linux musl 1.2+ ARMv7l Details for wonnx-0.5.1-cp37-abi3-musllinux_1_2_armv7l.whl
wonnx-0.5.1-cp37-abi3-musllinux_1_2_aarch64.whl CPython 3.7 abi3 Linux musl 1.2+ ARM64 Details for wonnx-0.5.1-cp37-abi3-musllinux_1_2_aarch64.whl
wonnx-0.5.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.7 abi3 Linux glibc 2.17+ x86-64 Details for wonnx-0.5.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
wonnx-0.5.1-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl CPython 3.7 abi3 Linux glibc 2.17+ IBM System/390x Details for wonnx-0.5.1-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
wonnx-0.5.1-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl CPython 3.7 abi3 Linux glibc 2.17+ PowerPC 64-le Details for wonnx-0.5.1-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
wonnx-0.5.1-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl CPython 3.7 abi3 Linux glibc 2.17+ PowerPC 64-be Details for wonnx-0.5.1-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
wonnx-0.5.1-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl CPython 3.7 abi3 Linux glibc 2.17+ ARMv7l Details for wonnx-0.5.1-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
wonnx-0.5.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.7 abi3 Linux glibc 2.17+ ARM64 Details for wonnx-0.5.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
wonnx-0.5.1-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl CPython 3.7 abi3 Linux glibc 2.5+ x86-32 Details for wonnx-0.5.1-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl
wonnx-0.5.1-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl CPython 3.7 abi3 macOS 10.9+ x86-64, macOS 10.9+ universal2 (ARM64, x86-64), macOS 11.0+ ARM64 Details for wonnx-0.5.1-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
wonnx-0.5.1-cp37-abi3-macosx_10_7_x86_64.whl CPython 3.7 abi3 macOS 10.7+ x86-64 Details for wonnx-0.5.1-cp37-abi3-macosx_10_7_x86_64.whl

Total release size: 72.4 MB

Release files / wonnx-0.5.1.tar.gz

Download URL wonnx-0.5.1.tar.gz
Size 17.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d51d9e303e062c430224557fdf9f00b9915923f447c5148e32e21e37fd7ae5b8
BLAKE2b-256 checksum
How to use checksums
71dd1fa2138154564b653d486d6694467705bc2ed9cd79c6faf43ebde88a6dfc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / wonnx-0.5.1-cp37-abi3-win_amd64.whl

Download URL wonnx-0.5.1-cp37-abi3-win_amd64.whl
Size 3.5 MB
Tags CPython 3.7 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
7ebed80d38e63cbcc9211a3b48f256c45f90ca167590c51aaf08114de77ffe41
BLAKE2b-256 checksum
How to use checksums
ec08e9da33c6113b07123058d0b1b33946f033ebd9b173e5f498992fc611f36c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / wonnx-0.5.1-cp37-abi3-win32.whl

Download URL wonnx-0.5.1-cp37-abi3-win32.whl
Size 3.2 MB
Tags CPython 3.7 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
23c91df6e2e6be4c36b63634fd7f15adb3c22e52bfff2acea73e84ac27ee160e
BLAKE2b-256 checksum
How to use checksums
20e9308068f63025c71c1732b2a2c553dab18eebbc0adeb742d05024dafac82b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / wonnx-0.5.1-cp37-abi3-musllinux_1_2_x86_64.whl

Download URL wonnx-0.5.1-cp37-abi3-musllinux_1_2_x86_64.whl
Size 4.9 MB
Tags CPython 3.7 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
4c8a7abb1d59ba634735cbb1ba7d52eb8a293851d4b573f27553602f20f036de
BLAKE2b-256 checksum
How to use checksums
0b5d1a7bdf3405cfdfdc13b2520b7504742a67be931804e144ae32a43c52c7d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / wonnx-0.5.1-cp37-abi3-musllinux_1_2_i686.whl

Download URL wonnx-0.5.1-cp37-abi3-musllinux_1_2_i686.whl
Size 4.9 MB
Tags CPython 3.7 Linux musl 1.2+ x86-32 abi3
SHA-256 checksum
How to use checksums
472c8000d4f0cb0299d60d7158779aef97cca9e27ace266774a46525ad5e70e9
BLAKE2b-256 checksum
How to use checksums
cba6ed5b1afbf68b8a62562d6d4a088a6aedf5731bc36572d59399467696bb65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / wonnx-0.5.1-cp37-abi3-musllinux_1_2_armv7l.whl

Download URL wonnx-0.5.1-cp37-abi3-musllinux_1_2_armv7l.whl
Size 4.8 MB
Tags CPython 3.7 Linux musl 1.2+ ARMv7l abi3
SHA-256 checksum
How to use checksums
aebd5a748f8f9d25e622f83855a5dfe284b99f7223f04533478a7a43e8e0e08e
BLAKE2b-256 checksum
How to use checksums
1a4755bebb54556ebcaf636316d01ce67db3c666d4923281b99e0ead7aff9c07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / wonnx-0.5.1-cp37-abi3-musllinux_1_2_aarch64.whl

Download URL wonnx-0.5.1-cp37-abi3-musllinux_1_2_aarch64.whl
Size 4.8 MB
Tags CPython 3.7 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
6b76f30be8f32e616288cfca1bf8d2507dbdc23ea37e93e8f4664978df346993
BLAKE2b-256 checksum
How to use checksums
302307edb6224c548577665cbf9587ba126097a9ebd64ca7b08c56075d134b4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / wonnx-0.5.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL wonnx-0.5.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.8 MB
Tags CPython 3.7 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
2dfe76738a679eee7d503dc905d5e2046b9896f019643b5422de87d1d0d1e754
BLAKE2b-256 checksum
How to use checksums
58f525822ac9b0b4f7a7233968abf976fbe2afbd9d0327635891f2275b04e4e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / wonnx-0.5.1-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl

Download URL wonnx-0.5.1-cp37-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Size 5.4 MB
Tags CPython 3.7 Linux glibc 2.17+ IBM System/390x abi3
SHA-256 checksum
How to use checksums
53cc5dc221763117e24d6e3d88773d2cdca98fda9859a6e556ad1ddbda1e9ca7
BLAKE2b-256 checksum
How to use checksums
4e90f3a7ad0c4d6b5919ff721ee72a03797a8e43ec0ae5b7b246045a8f30f79d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / wonnx-0.5.1-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl

Download URL wonnx-0.5.1-cp37-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Size 5.8 MB
Tags CPython 3.7 Linux glibc 2.17+ PowerPC 64-le abi3
SHA-256 checksum
How to use checksums
d0fb195a86f347ae370622ba6a483f88461cbfef33be326e73f042db47e1ef1e
BLAKE2b-256 checksum
How to use checksums
f7d38ab149cdd3d8f6f07f454a9f9c307340a4574a81e102546e7050c7439fb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / wonnx-0.5.1-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl

Download URL wonnx-0.5.1-cp37-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl
Size 6.0 MB
Tags CPython 3.7 Linux glibc 2.17+ PowerPC 64-be abi3
SHA-256 checksum
How to use checksums
ce5ed46e20274ead217c57461e122790f0bacd3482ba58296704d6ca3787bf7b
BLAKE2b-256 checksum
How to use checksums
84e29b8b5a5e7fb22d66c9bae11610d10e1062013a5c3e83839e836409df1c86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / wonnx-0.5.1-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl

Download URL wonnx-0.5.1-cp37-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Size 4.6 MB
Tags CPython 3.7 Linux glibc 2.17+ ARMv7l abi3
SHA-256 checksum
How to use checksums
ac9824e5d2653a563f481fbe9b03d30a6bbf011086ef83fcb958ca228126a0c4
BLAKE2b-256 checksum
How to use checksums
7a1ff8cefc1420bb125a38b72c4adcd8fe6d4313bca82cbc7d79902daf7ca4b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / wonnx-0.5.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL wonnx-0.5.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 4.7 MB
Tags CPython 3.7 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
8cad6a76d419ff9055f5db602ff84ab8bcd3766d945fa0cb336bc478dca4a0b6
BLAKE2b-256 checksum
How to use checksums
7b36e89ea2aafef4169717e1de3bf739ad5a3eb2828e4e12bc8117a83bb2a477
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / wonnx-0.5.1-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl

Download URL wonnx-0.5.1-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.whl
Size 5.0 MB
Tags CPython 3.7 Linux glibc 2.5+ x86-32 abi3
SHA-256 checksum
How to use checksums
a9fcd2adda00dfba4fd9b5ffabfac358eb671be1da031598e734e079d7b8bad0
BLAKE2b-256 checksum
How to use checksums
f2fe71743c80bb494f938ac6651068541f8aed615705fd0ea8e59a102301367c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / wonnx-0.5.1-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl

Download URL wonnx-0.5.1-cp37-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Size 6.5 MB
Tags CPython 3.7 abi3 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
33b7c55faefdb3ea5dfbfb8441ae797dc706310b3a7617d1fd2b996c7010ac6d
BLAKE2b-256 checksum
How to use checksums
f95feee4dba672061c5f9b7a08d2c40e54fd8b5974b62c327ed6dbf63819580e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / wonnx-0.5.1-cp37-abi3-macosx_10_7_x86_64.whl

Download URL wonnx-0.5.1-cp37-abi3-macosx_10_7_x86_64.whl
Size 3.4 MB
Tags CPython 3.7 abi3 macOS 10.7+ x86-64
SHA-256 checksum
How to use checksums
8cbb3a7e91601ccb35990c05e7af01f2e8d2589543cdc743c6e2da26e2be8986
BLAKE2b-256 checksum
How to use checksums
7ac705485ab809de9efaaeda3ec0541d11fbead8655b39214ce796a5f1739a9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Security for wonnx 0.5.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page