Python NVTX - Python code annotation library
Project description
nvtx Python package
Installation
Install using conda:
conda install -c conda-forge nvtx
...or using pip:
python -m pip install nvtx
Quick start
-
Annotate the parts of your Python code you wish to profile/analyze:
# demo.py import time import nvtx @nvtx.annotate(color="blue") def my_function(): for i in range(5): with nvtx.annotate("my_loop", color="red"): time.sleep(i) my_function()
-
Use NVIDIA Nsight Systems to collect profile data:
nsys profile -t nvtx python demo.py
-
Visualize the results using the Nsight systems GUI:
Documentation
See here for detailed docs.
Release Notes
0.2.12
- Expose API via
domain
object for better performance. - No-OP when domain is disabled.
- Improved documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file nvtx-0.2.12.tar.gz
.
File metadata
- Download URL: nvtx-0.2.12.tar.gz
- Upload date:
- Size: 110.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b871fae9b80b004e624b5755291799794287016fa6a0c8fd0fb3255393ae3bc8
|
|
MD5 |
a21150f7789c14b85fe95dd2b1237789
|
|
BLAKE2b-256 |
5605160dc24b6cd1e21e5b00d55a46abac5802ed7c15c675e6ce25febad2b0d7
|
File details
Details for the file nvtx-0.2.12-cp313-cp313-win_amd64.whl
.
File metadata
- Download URL: nvtx-0.2.12-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 97.1 kB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a37e063c3c745a4c6b561993a2dae2f67fcc26f2a2c2653f24eeae5810a2180d
|
|
MD5 |
7636e6d4c934a1933531c120cb955885
|
|
BLAKE2b-256 |
eb41e74ec826e1585ad6d31f41de96f6faae8ffc712a45c2b880baca4ae87a64
|
File details
Details for the file nvtx-0.2.12-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: nvtx-0.2.12-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 524.5 kB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
2b82ad84ac8d5408851947d1d2cef3e8e627627cc2290e5150c8af0dda1e3f63
|
|
MD5 |
7be91e1ace1600e41ba2ef7d052c6f6e
|
|
BLAKE2b-256 |
860c62b1f76c84a8bed267421d11114953b5da631daeb0ec7894a91252f79b5d
|
File details
Details for the file nvtx-0.2.12-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: nvtx-0.2.12-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 520.1 kB
- Tags: CPython 3.13, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
871e54f95929a6c7c39b85d4111bf6af8ab43325bbc36c97a179270443896ef7
|
|
MD5 |
c760874cde47e8f8d100f34316fb9784
|
|
BLAKE2b-256 |
557888563935649f9202735ac5686fc451d3fa9f34e6592787ba224244c3570a
|
File details
Details for the file nvtx-0.2.12-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: nvtx-0.2.12-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 98.9 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
2f93e07add2544a85c202b3c710945b54b3abb6660a6a7e447395cb024938b35
|
|
MD5 |
9d72e51f30bbbffd7dbd4c7c3671d1ae
|
|
BLAKE2b-256 |
7d96eb1078d7509b72e3e4b6dd7ff12a698951e81dcc5f20a3ad7f35d7455700
|
File details
Details for the file nvtx-0.2.12-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: nvtx-0.2.12-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 543.6 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
9a279d880c27ec8c72632a0685456c170e7b12da2839c861ee461c121692aea6
|
|
MD5 |
b89f334a900493d85881d85b22485bfa
|
|
BLAKE2b-256 |
cf7b6e25716c92039a3ecc2f6f4e1380b5492b0d23af78ea862cb84e8ffe0d7b
|
File details
Details for the file nvtx-0.2.12-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: nvtx-0.2.12-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 539.6 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
9ea22a86eca22fd52e3c2905654182da1fcebea6f0107e87d7dc4ec6871604ca
|
|
MD5 |
f5815605103ae1521c24f2012831dddf
|
|
BLAKE2b-256 |
08e4944e63039a0d652c843ecffb42700e2b4f596b745ac9ac6ebed937f1bce5
|
File details
Details for the file nvtx-0.2.12-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: nvtx-0.2.12-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 99.3 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
78dab5243c160e9f10721072ae029de9c835a2a67c53f88e7c0564d9cd753c5f
|
|
MD5 |
c377c1471ed88f3deda0ac6ea7d4c3f7
|
|
BLAKE2b-256 |
67b3a80e5c9c8edd370b2915750355d25ed3e39d6cb18fb1484d419a0eabf907
|
File details
Details for the file nvtx-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: nvtx-0.2.12-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 522.7 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b18cc0e8dcade60621d406ac2c71fcc14bdaa919a0352210760bfc3e92db428f
|
|
MD5 |
9e67c853b5aa8f472ac4e12f94f2c690
|
|
BLAKE2b-256 |
634d4eb32747f077f9f6078159b15e345b67e5e63fd831c334f63350e912091e
|
File details
Details for the file nvtx-0.2.12-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: nvtx-0.2.12-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 521.8 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
c6f3fd5b5e813badee101be3f2c2a30f389cb90f840798cabf10587e6003357e
|
|
MD5 |
22ffef5c88567f9404c67665fb8ab354
|
|
BLAKE2b-256 |
44fd2f505ec6d0051799d169b9a722ceefeff166086bf5c38da32dee4be4f6b5
|
File details
Details for the file nvtx-0.2.12-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: nvtx-0.2.12-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 99.2 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
5ce5089e8fdff2d577b83888b1c20dc99d4cc097b0c892a86f4e348d852a4587
|
|
MD5 |
5f03ea3bb43e585c24afc567bed6370a
|
|
BLAKE2b-256 |
27ae77d56da116a3f04d9afbd21f12ba6886dafb90bf0572702f8beff52cb96a
|
File details
Details for the file nvtx-0.2.12-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: nvtx-0.2.12-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 474.0 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f01c8e81e02249b657015c7a65faf715a4323d543c46731d382461d9f480412b
|
|
MD5 |
9219f1eed90379669982adb45a7c67ec
|
|
BLAKE2b-256 |
63dab89896c71a3165eba997c2017064703fb63a217a9d0e33bec4c4d4d9207a
|
File details
Details for the file nvtx-0.2.12-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: nvtx-0.2.12-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 470.6 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0d3070d71e5b9661d40ae6f1a6bae289939ee8ca073283f6be84799de393b4eb
|
|
MD5 |
c2809bc70216b3a4a0248656060d1272
|
|
BLAKE2b-256 |
25db34e2345fb0e72c1d7897fd55cb061b511703ae64a5f7656b44e24a3e05bc
|
File details
Details for the file nvtx-0.2.12-cp39-cp39-win_amd64.whl
.
File metadata
- Download URL: nvtx-0.2.12-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 100.3 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
76078d5a69c9d45635fa2698a41a34494348ea34157e7da13d977f7a5c2f466c
|
|
MD5 |
0af1959b3b93d71b4cd822a162f3eea0
|
|
BLAKE2b-256 |
7b22f1416be436cd0e9dc129460ea204f5c95a1bf1926b6ae84850a557535aa6
|
File details
Details for the file nvtx-0.2.12-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: nvtx-0.2.12-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 479.8 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
6c0a9a49dc1b43621368e241e6206f0820a0d91556aeab6480afe0a61307a95e
|
|
MD5 |
2af578de2970fa38ada97c58c27852c5
|
|
BLAKE2b-256 |
e311b6869b91e282638b0567c5b2d93ce09b11bfb2dacae6496eecac75c84b94
|
File details
Details for the file nvtx-0.2.12-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: nvtx-0.2.12-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 476.8 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
f5d00bbb7a85e85a7543b5ab58969136f5840775677d39803610b784e767c386
|
|
MD5 |
916d9b977fb281924e06a0afa9537699
|
|
BLAKE2b-256 |
00bab98018035bf7bfd9da345b17de46d0fb3bbd885c62b7ef7f2fc582d699d3
|
File details
Details for the file nvtx-0.2.12-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: nvtx-0.2.12-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 100.5 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b637f50b74e276f3987f01d4b5967cb91684a4dc7bfcb7a165948a0cdfa3e682
|
|
MD5 |
3c6994c294048f3581256ad786a3d2f4
|
|
BLAKE2b-256 |
b88c4e3522d5a3bf4ed9517d06a868239a93063da2175a5645a7f0c50ce8330e
|
File details
Details for the file nvtx-0.2.12-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: nvtx-0.2.12-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 481.0 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
1ecead448de0ea7662a1df928fbe65d3d29e1594cfdeebb5cc28af95ec168130
|
|
MD5 |
9b733499da8f36a9b6bad7d4ed03ae5c
|
|
BLAKE2b-256 |
b5fa290065a96339ab7708613cb1e61973cb4a9803148b6462d2cf814eac1c88
|
File details
Details for the file nvtx-0.2.12-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: nvtx-0.2.12-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 478.2 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
78d655a5837a36cf8e49d4f72ce8b601e0c29db21d7ee98d7c8911464f4b0e53
|
|
MD5 |
7e6e5741d34f1a234dfbd64d5db7d2df
|
|
BLAKE2b-256 |
736c4d9d91827b80e5ec583598aea35455d8058d528805ab6cc6b94aa0b36a16
|