Metadata-Version: 2.1
Name: gpuinfonv
Version: 0.1.0
Summary: A Python library for gathering and managing information about NVIDIA GPUs
Home-page: https://github.com/soumendra/gpuinfo
License: MIT
Keywords: gpu,nvidia,cuda,pytorch
Author: Soumendra Dhanee
Author-email: soumendra@gmail.com
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: psutil (>=6.0.0,<7.0.0)
Requires-Dist: pydantic (>=2.8.2,<3.0.0)
Requires-Dist: pynvml (>=11.5.3,<12.0.0)
Project-URL: Documentation, https://soumendra.github.io/gpuinfo/
Project-URL: Repository, https://github.com/soumendra/gpuinfo
Description-Content-Type: text/markdown

# GPUInfoNV

GPUInfoNV is a Python library for gathering and managing information about NVIDIA GPUs. It provides functionality to retrieve GPU statistics, check PyTorch availability, and free up GPU resources.

## Features

- Detect and gather information about NVIDIA GPUs
- Check PyTorch and CUDA availability
- Retrieve detailed GPU statistics
- Free up GPU resources, including process termination and cache clearing

## Installation

You can install GPUInfoNV using pip:

```bash
pip install gpuinfonv
```

## Quick Start

Here's a simple example of how to use GPUInfo:

```python
from gpuinfonv import GPUInfo

# Create a GPUInfo instance
gpu_info = GPUInfo()

# Print information about all detected GPUs
gpu_info.print_gpu_info()

# Free up GPU resources
gpu_info.free_up_gpu(0)  # Free up GPU 0
```

## Documentation

For more detailed information, check out our [full documentation](https://your-documentation-url.com).

## Contributing

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

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

