Spaces:
Running
on
Zero
Running
on
Zero
File size: 3,787 Bytes
7931de6 |
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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# Copyright (c) 2022-2023, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
[project]
name = "nvidia-pytriton"
readme = "docs/pypi.rst"
description = "PyTriton - Flask/FastAPI-like interface to simplify Triton's deployment in Python environments."
dynamic = ["version"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: Unix",
]
authors = []
maintainers = []
keywords = []
license = {text = "Apache 2.0"}
requires-python = ">=3.8,<4"
dependencies = [
"numpy ~= 1.21",
"protobuf>=3.7.0",
"pyzmq ~= 23.0",
"sh ~= 1.14",
"tritonclient[all] ~= 2.39",
"typing_inspect ~= 0.6.0",
"wrapt >= 1.11.0",
]
[project.urls]
"Documentation" = "https://triton-inference-server.github.io/pytriton"
"Source" = "https://github.com/triton-inference-server/pytriton"
"Tracker" = "https://github.com/triton-inference-server/pytriton/issues"
[project.optional-dependencies]
test = [
"pytest ~= 7.2",
"pytest-codeblocks ~= 0.16",
"pytest-mock ~= 3.8",
"pytest-timeout ~= 2.1", # timeouts for non-asyncio tests
"alt-pytest-asyncio ~= 0.7", # timeout for asyncio tests
"pytype!=2021.11.18,!=2022.2.17",
"pre-commit >= 2.20.0",
"tox >= 3.23.1",
"tqdm >= 4.64.1",
"psutil ~= 5.1",
"py-spy ~= 0.3",
]
doc = [
"GitPython >= 3.1.30",
"mike >= 2.0.0",
"mkdocs-htmlproofer-plugin >= 0.8.0",
"mkdocs-material >= 8.5.6",
"mkdocstrings[python] >= 0.19.0",
]
dev = [
"nvidia-pytriton[test]",
"nvidia-pytriton[doc]",
"black >= 22.8",
"build >= 0.8, <1.0.0", # to support --plat-name for multiarch build
"ipython >= 7.16",
"isort >= 5.10",
"pudb >= 2022.1.3",
"pip >= 21.3", # to support editable installation
"twine >= 4.0",
]
[build-system]
requires = [
"setuptools>=65.3.0",
"setuptools_scm[toml]>=6.2",
"wheel>=0.37.1",
]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = true
license-files = ["LICENSE"]
[tool.setuptools.packages.find]
namespaces = false
include = ["pytriton"]
[tool.setuptools.package-data]
pytriton = [
"**/*",
]
[tool.setuptools.exclude-package-data]
pytriton = [
"tritonserver/external_libs/*",
]
[tool.setuptools_scm]
[tool.distutils.bdist_wheel]
plat-name = "linux_x86_64"
[tool.black]
line-length = 120
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
'''
[tool.isort]
profile = "black"
line_length = 120
[tool.vulture]
exclude = []
ignore_decorators = []
ignore_names = []
make_whitelist = true
min_confidence = 80
paths = ["pytriton"]
sort_by_size = true
verbose = false
|