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.12.0.36

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.12.0.36.1.tar.gz (94.2 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.12.0.36.1-py3-none-any.whl (100.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tensorrt_stubs-10.12.0.36.1.tar.gz
  • Upload date:
  • Size: 94.2 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.12.0.36.1.tar.gz
Algorithm Hash digest
SHA256 2e082f7cbb42516f2929a696d6553328fc4d50a5b0ef551aa96c3cfb5f1b7cca
MD5 b96b5b8ee96b5c01377f81e20481170b
BLAKE2b-256 b30192e8bef00c73b8d395c6a28d91a842ed2cf75861e2beed7562b58dd9278f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensorrt_stubs-10.12.0.36.1-py3-none-any.whl
Algorithm Hash digest
SHA256 21841b898b63f4418d9bf024620e8ca098e28d6921a00939927a9038dcd7bc65
MD5 f7e05bbd6bb7de45de6f1308e52646f1
BLAKE2b-256 ec62c57c4529ef17a9668d6a32d6a9048cdcec96a114c7a25811c01c25b6b575

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