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

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.13.0.35.1.tar.gz (95.1 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.13.0.35.1-py3-none-any.whl (101.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tensorrt_stubs-10.13.0.35.1.tar.gz
  • Upload date:
  • Size: 95.1 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.13.0.35.1.tar.gz
Algorithm Hash digest
SHA256 72c41a88868feeacdfc43a53eec89c1100c04878d72195a807f9375727caeba5
MD5 b491a0042831c05b19649420538c2638
BLAKE2b-256 27a0a8582815cf0226d0d8e274f851d7b91b88b6cfa7930f23e73c0c972bb47b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tensorrt_stubs-10.13.0.35.1-py3-none-any.whl
Algorithm Hash digest
SHA256 749a36a1f825db0800a82d0dabbf7ef49f3a9edc1e794c9545fb94a551613fea
MD5 64d5d7f900f32c69184e99f850ace1c8
BLAKE2b-256 f1f1a98ccc8bb3e08f5a209919ec8d86ad33e439592c4e849dc69091afa0e2e6

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