Metadata-Version: 2.4
Name: ovperf-profile-generator
Version: 0.1.10
Summary: Standalone Nsight capture to profile viewer bundle generator
License-Expression: Apache-2.0
License-File: EXTERNAL-MATERIALS-NOTICE.txt
License-File: LICENSE
Requires-Dist: psutil>=5.9,<7
Requires-Dist: msgspec>=0.22,<1 ; extra == 'fast-json'
Requires-Python: >=3.10
Provides-Extra: fast-json
Description-Content-Type: text/markdown

# ovperf-profile-generator

Convert an NVIDIA Nsight Systems capture into an interactive profile viewer
that you open in a browser, on your own workstation or server.

## Before installation or external downloads

Read this notice before installing dependencies or enabling optional symbol downloads with `OVPERF_SYMBOL_SERVER_URL`. Symbol downloads remain disabled when that variable is unset or blank.

NOTICE AND DISCLAIMER: This software automatically retrieves, accesses or interacts with external materials. Those retrieved materials are not distributed with this software and are governed solely by separate terms, conditions and licenses. You are solely responsible for finding, reviewing and complying with all applicable terms, conditions, and licenses, and for verifying the security, integrity and suitability of any retrieved materials for your specific use case. This software is provided "AS IS", without warranty of any kind. The author makes no representations or warranties regarding any retrieved materials, and assumes no liability for any losses, damages, liabilities or legal consequences from your use or inability to use this software or any retrieved materials. Use this software and the retrieved materials at your own risk.

## What you can do with it

- Convert a capture (`.nsys-rep`) into a bundle: a folder of static files with its own viewer.
- Run the conversion on your own machine: it makes no network requests and runs no AI analysis.
- Resolve library symbols in a Linux capture before you convert it, with `ovperf-profile-symbols`.
- Export the viewer for a web application that serves many bundles, with `ovperf-profile-ui`.
- Call the generator from Python with `ovperf.profile_generator.generate_bundle`.

## Install

```sh
python -m pip install ovperf-profile-generator
```

Python 3.10 or later is required; the package is qualified on Linux x86_64
with Python 3.10 to 3.13. Install the Nsight Systems CLI (`nsys`) separately:
the generator uses it to export the capture. `ovperf-profile-symbols` needs
more tools, which the reference lists.

## Quick start

```sh
ovperf-profile-generator capture.nsys-rep
```

This writes the bundle to `capture.nsys-rep.hot-path/`; open its `index.html`
in a browser. `nsys` is taken from `PATH`; pass `--nsys /path/to/nsys` to use
another one.

## Reference

`docs/reference.md` in this package's source folder describes every command,
option and setting, and covers symbol resolution, hosting the viewer, and data
and network access. `CHANGELOG.md` in the same folder lists the changes in
each release, and each command's `--help` lists its options.

## License

Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.

This package is distributed under the Apache License, Version 2.0. The complete
license is included in the wheel. Separately installed dependencies and tools
are supplied under their own licenses.

## Contributions

This project is currently not accepting contributions.
