Metadata-Version: 2.1
Name: triton_requests
Version: 0.0.2
Summary: A high level package for Nvidia Triton requests
Project-URL: Homepage, https://github.com/scampion/triton_requests
Project-URL: Bug Tracker, https://github.com/scampion/triton_requests/issues
Author-email: Sebastien Campion <sebastien.campion@foss4.eu>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Requires-Dist: numpy
Requires-Dist: tritonclient[http]
Description-Content-Type: text/markdown

Python package to interact with Nvidia Triton Server


```python

from triton_requests import TritonEndPoint

tep = TritonEndPoint(model_name="emotion-english-distilroberta-base_onnx_inference", url="localhost:9000")

tep.encode("Harry is really happy after his present")
 
```

Will result a numpy array 

	array([[-1.1953125 , -2.4921875 , -2.8964844 ,  4.9921875 ,  0.35498047, 0.70458984,  1.9570312 ]], dtype=float32)

