Skip to main content

Type stubs for NVIDIA TensorRT

Project description

tensorrt-stubs

Type stubs for NVIDIA TensorRT Python API.

Description

This package provides type stubs for the NVIDIA TensorRT Python API. It enables static type checking and IDE autocompletion for TensorRT in Python projects.

Installation

pip install tensorrt-stubs

Usage

After installation, your IDE and type checkers (like mypy, pyright, etc.) will automatically use these stubs when you import TensorRT:

import tensorrt as trt

# Your IDE will now provide autocompletion and type checking for TensorRT
builder = trt.Builder(trt.Logger(trt.Logger.INFO))

Requirements

  • Python >= 3.10
  • TensorRT == 10.9.0.34

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tensorrt_stubs-10.9.0.34.1.tar.gz (92.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tensorrt_stubs-10.9.0.34.1-py3-none-any.whl (98.8 kB view details)

Uploaded Python 3

File details

Details for the file tensorrt_stubs-10.9.0.34.1.tar.gz.

File metadata

  • Download URL: tensorrt_stubs-10.9.0.34.1.tar.gz
  • Upload date:
  • Size: 92.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tensorrt_stubs-10.9.0.34.1.tar.gz
Algorithm Hash digest
SHA256 823bab14cfc21c7b73b9f005b69bc085b81762e187701d4759c64a7acb0059e4
MD5 48df05800495f932e282405227bcdad4
BLAKE2b-256 4a079fa576b1d7b26e47fc55c6084313e18a16848d4e90d2d360f72fa40a4c62

See more details on using hashes here.

File details

Details for the file tensorrt_stubs-10.9.0.34.1-py3-none-any.whl.

File metadata

File hashes

Hashes for tensorrt_stubs-10.9.0.34.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3dd5c5d15f0a883ce86d2f2d16f9b3a798329fc701a221a7a03a010fe86b263b
MD5 839aa5faa9484b12acadee801887adf7
BLAKE2b-256 ad3391f5635537487969cde7c4506c887da4a585cbd1c385bd5f265a33f975ae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page