Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (61 loc) · 1.9 KB
/
Copy pathpyproject.toml
File metadata and controls
66 lines (61 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[project]
name = "pywebnn"
version = "0.5.13"
description = "Python bindings for W3C WebNN specification"
readme = "README.md"
requires-python = ">=3.11" # onnxruntime>=1.29.0 requires now 3.11+
license = { text = "Apache-2.0" }
authors = [{ name = "Tarek Ziade", email = "tarek@ziade.org" }]
keywords = [
"webnn",
"neural-network",
"machine-learning",
"onnx",
"coreml",
"ai",
"graph",
"inference",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Rust",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = ["numpy>=1.20.0", "onnxruntime>=1.29.0", "ml_dtypes>=0.5.0"]
[project.optional-dependencies]
all = ["pywebnn[ort-trtx,trtx,test]"]
ort-trtx = ["onnxruntime-ep-nv-tensorrt-rtx"]
ort-trtx-cu12 = ["onnxruntime-ep-nv-tensorrt-rtx-cu12"]
trtx = [
"tensorrt_rtx_cu13_libs==1.7.1.116",
]
test = [
"pytest>=7.0",
]
[project.urls]
Homepage = "https://github.com/rustnn/pywebnn"
Documentation = "https://github.com/rustnn/pywebnn#readme"
Repository = "https://github.com/rustnn/pywebnn"
Issues = "https://github.com/rustnn/pywebnn/issues"
[tool.maturin]
module-name = "webnn._rustnn"
python-source = "python"
# CoreML is opt-in because it requires Apple's Objective-C runtime.
features = ["pyo3/extension-module", "onnx-runtime", "dynamic-inputs"]
[tool.ruff.lint]
ignore = [
"B017", # assert blind-exceptions
"BLE001", # blind-exceptions
]