mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
chore(pyproject.toml): update license classifiers
Signed-off-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
This commit is contained in:
parent
b554d9e772
commit
7501b6fc7f
5 changed files with 19 additions and 20 deletions
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
* text eol=lf
|
||||||
|
*.bat eol=crlf
|
||||||
25
README.md
25
README.md
|
|
@ -4,12 +4,11 @@
|
||||||
|
|
||||||

|

|
||||||
[](https://pypi.org/project/nvitop)
|
[](https://pypi.org/project/nvitop)
|
||||||

|
|
||||||
[](https://anaconda.org/conda-forge/nvitop)
|
[](https://anaconda.org/conda-forge/nvitop)
|
||||||
[](https://nvitop.readthedocs.io)
|
[](https://nvitop.readthedocs.io)
|
||||||
[](https://pepy.tech/project/nvitop)
|
[](https://pepy.tech/project/nvitop)
|
||||||
[](https://github.com/XuehaiPan/nvitop/stargazers)
|
[](https://github.com/XuehaiPan/nvitop/stargazers)
|
||||||
[](#license)
|
[](#license)
|
||||||
|
|
||||||
An interactive NVIDIA-GPU process viewer, the one-stop solution for GPU process management. The full API references host at <https://nvitop.readthedocs.io>.
|
An interactive NVIDIA-GPU process viewer, the one-stop solution for GPU process management. The full API references host at <https://nvitop.readthedocs.io>.
|
||||||
|
|
||||||
|
|
@ -54,7 +53,7 @@ An interactive NVIDIA-GPU process viewer, the one-stop solution for GPU process
|
||||||
|
|
||||||
This project is inspired by [nvidia-htop](https://github.com/peci1/nvidia-htop) and [nvtop](https://github.com/Syllo/nvtop) for monitoring, and [gpustat](https://github.com/wookayin/gpustat) for application integration.
|
This project is inspired by [nvidia-htop](https://github.com/peci1/nvidia-htop) and [nvtop](https://github.com/Syllo/nvtop) for monitoring, and [gpustat](https://github.com/wookayin/gpustat) for application integration.
|
||||||
|
|
||||||
[nvidia-htop](https://github.com/peci1/nvidia-htop) is a tool for enriching the output of `nvidia-smi`. It uses regular expressions to read the output of `nvidia-smi` from a subprocess, which is inefficient. In the meanwhile, there is a powerful interactive GPU monitoring tool called [nvtop](https://github.com/Syllo/nvtop). But [nvtop](https://github.com/Syllo/nvtop) is written in *C*, which makes it lack of portability. And what is really inconvenient is that you should compile it yourself during the installation. Therefore, I made this repo. I got a lot help when reading the source code of [ranger](https://github.com/ranger/ranger), the console file manager. Some files in this repo are modified from [ranger](https://github.com/ranger/ranger) under the **GPLv3 License**.
|
[nvidia-htop](https://github.com/peci1/nvidia-htop) is a tool for enriching the output of `nvidia-smi`. It uses regular expressions to read the output of `nvidia-smi` from a subprocess, which is inefficient. In the meanwhile, there is a powerful interactive GPU monitoring tool called [nvtop](https://github.com/Syllo/nvtop). But [nvtop](https://github.com/Syllo/nvtop) is written in *C*, which makes it lack of portability. And what is really inconvenient is that you should compile it yourself during the installation. Therefore, I made this repo. I got a lot help when reading the source code of [ranger](https://github.com/ranger/ranger), the console file manager. Some files in this repo are modified from [ranger](https://github.com/ranger/ranger) under the **GPL-3.0 License**.
|
||||||
|
|
||||||
If this repo is useful to you, please star ⭐️ it to let more people know 🤗. [](https://github.com/XuehaiPan/nvitop)
|
If this repo is useful to you, please star ⭐️ it to let more people know 🤗. [](https://github.com/XuehaiPan/nvitop)
|
||||||
|
|
||||||
|
|
@ -1383,12 +1382,12 @@ Environment variable screen (shortcut: <kbd>e</kbd>):
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
The source code of `nvitop` is dual-licensed by the **Apache License, Version 2.0 (Apache-2.0)** and **GNU General Public License, version 3 (GPLv3)** . The `nvitop` CLI is released under the **GPLv3** license while the remaining part of `nvitop` is released under the **Apache-2.0** license. The license file can be found at [LICENSE](https://github.com/XuehaiPan/nvitop/blob/HEAD/LICENSE).
|
The source code of `nvitop` is dual-licensed by the **Apache License, Version 2.0 (Apache-2.0)** and **GNU General Public License, Version 3 (GPL-3.0)** . The `nvitop` CLI is released under the **GPL-3.0** license while the remaining part of `nvitop` is released under the **Apache-2.0** license. The license files can be found at [LICENSE](https://github.com/XuehaiPan/nvitop/blob/HEAD/LICENSE) (Apache-2.0) and [COPYING](https://github.com/XuehaiPan/nvitop/blob/HEAD/COPYING) (GPL-3.0).
|
||||||
|
|
||||||
The source code is organized as:
|
The source code is organized as:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
nvitop (GPLv3)
|
nvitop (GPL-3.0)
|
||||||
├── __init__.py (Apache-2.0)
|
├── __init__.py (Apache-2.0)
|
||||||
├── version.py (Apache-2.0)
|
├── version.py (Apache-2.0)
|
||||||
├── core (Apache-2.0)
|
├── core (Apache-2.0)
|
||||||
|
|
@ -1398,11 +1397,11 @@ nvitop (GPLv3)
|
||||||
│ ├── LICENSE (Apache-2.0)
|
│ ├── LICENSE (Apache-2.0)
|
||||||
│ └── * (Apache-2.0)
|
│ └── * (Apache-2.0)
|
||||||
├── select.py (Apache-2.0)
|
├── select.py (Apache-2.0)
|
||||||
├── __main__.py (GPLv3)
|
├── __main__.py (GPL-3.0)
|
||||||
├── cli.py (GPLv3)
|
├── cli.py (GPL-3.0)
|
||||||
└── gui (GPLv3)
|
└── gui (GPL-3.0)
|
||||||
├── COPYING (GPLv3)
|
├── COPYING (GPL-3.0)
|
||||||
└── * (GPLv3)
|
└── * (GPL-3.0)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Copyright Notice
|
### Copyright Notice
|
||||||
|
|
@ -1418,7 +1417,7 @@ from nvitop import Device, ResourceMetricCollector
|
||||||
|
|
||||||
The public APIs from `nvitop` are released under the **Apache License, Version 2.0 (Apache-2.0)**. The original license files can be found at [LICENSE](https://github.com/XuehaiPan/nvitop/blob/HEAD/LICENSE), [nvitop/core/LICENSE](https://github.com/XuehaiPan/nvitop/blob/HEAD/nvitop/core/LICENSE), and [nvitop/callbacks/LICENSE](https://github.com/XuehaiPan/nvitop/blob/HEAD/nvitop/callbacks/LICENSE).
|
The public APIs from `nvitop` are released under the **Apache License, Version 2.0 (Apache-2.0)**. The original license files can be found at [LICENSE](https://github.com/XuehaiPan/nvitop/blob/HEAD/LICENSE), [nvitop/core/LICENSE](https://github.com/XuehaiPan/nvitop/blob/HEAD/nvitop/core/LICENSE), and [nvitop/callbacks/LICENSE](https://github.com/XuehaiPan/nvitop/blob/HEAD/nvitop/callbacks/LICENSE).
|
||||||
|
|
||||||
The CLI of `nvitop` is released under the **GNU General Public License, version 3 (GPLv3)**. The original license files can be found at [COPYING](https://github.com/XuehaiPan/nvitop/blob/HEAD/COPYING) and [nvitop/gui/COPYING](https://github.com/XuehaiPan/nvitop/blob/HEAD/nvitop/gui/COPYING). If you dynamically load the source code of `nvitop`'s CLI or GUI:
|
The CLI of `nvitop` is released under the **GNU General Public License, Version 3 (GPL-3.0)**. The original license files can be found at [COPYING](https://github.com/XuehaiPan/nvitop/blob/HEAD/COPYING) and [nvitop/gui/COPYING](https://github.com/XuehaiPan/nvitop/blob/HEAD/nvitop/gui/COPYING). If you dynamically load the source code of `nvitop`'s CLI or GUI:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
from nvitop import cli
|
from nvitop import cli
|
||||||
|
|
@ -1427,6 +1426,6 @@ import nvitop.cli
|
||||||
import nvitop.gui
|
import nvitop.gui
|
||||||
```
|
```
|
||||||
|
|
||||||
your source code should also be released under the GPLv3 License.
|
your source code should also be released under the GPL-3.0 License.
|
||||||
|
|
||||||
If you want to add or modify some features of `nvitop`'s CLI, or copy some source code of `nvitop`'s CLI into your own code, the source code should also be released under the GPLv3 License (as `nvitop` contains some modified source code from [ranger](https://github.com/ranger/ranger) under the GPLv3 License).
|
If you want to add or modify some features of `nvitop`'s CLI, or copy some source code of `nvitop`'s CLI into your own code, the source code should also be released under the GPL-3.0 License (as `nvitop` contains some modified source code from [ranger](https://github.com/ranger/ranger) under the GPL-3.0 License).
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
Welcome to nvitop's documentation!
|
Welcome to nvitop's documentation!
|
||||||
==================================
|
==================================
|
||||||
|
|
||||||
|GitHub|_ |Python Version|_ |PyPI Package|_ |Package Status|_ |Conda Package|_ |Documentation Status|_ |Downloads|_ |GitHub Repo Stars|_ |License|_ |Tweet|_
|
|GitHub|_ |Python Version|_ |PyPI Package|_ |Conda Package|_ |Documentation Status|_ |Downloads|_ |GitHub Repo Stars|_ |License|_
|
||||||
|
|
||||||
An interactive NVIDIA-GPU process viewer, the one-stop solution for GPU process management.
|
An interactive NVIDIA-GPU process viewer, the one-stop solution for GPU process management.
|
||||||
|
|
||||||
|
|
@ -37,12 +37,9 @@ An interactive NVIDIA-GPU process viewer, the one-stop solution for GPU process
|
||||||
.. |GitHub Repo Stars| image:: https://img.shields.io/github/stars/XuehaiPan/nvitop?label=stars&logo=github&color=brightgreen
|
.. |GitHub Repo Stars| image:: https://img.shields.io/github/stars/XuehaiPan/nvitop?label=stars&logo=github&color=brightgreen
|
||||||
.. _GitHub Repo Stars: https://github.com/XuehaiPan/nvitop
|
.. _GitHub Repo Stars: https://github.com/XuehaiPan/nvitop
|
||||||
|
|
||||||
.. |License| image:: https://img.shields.io/github/license/XuehaiPan/nvitop?label=license
|
.. |License| image:: https://img.shields.io/github/license/XuehaiPan/nvitop?label=license&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSIjZmZmZmZmIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi43NSAyLjc1YS43NS43NSAwIDAwLTEuNSAwVjQuNUg5LjI3NmExLjc1IDEuNzUgMCAwMC0uOTg1LjMwM0w2LjU5NiA1Ljk1N0EuMjUuMjUgMCAwMTYuNDU1IDZIMi4zNTNhLjc1Ljc1IDAgMTAwIDEuNUgzLjkzTC41NjMgMTUuMThhLjc2Mi43NjIgMCAwMC4yMS44OGMuMDguMDY0LjE2MS4xMjUuMzA5Lj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C4wODMuMjc1LjEyNi41My4yMjMgMS4zMDUuNDUgMi4yNzIuNDVhNS44NDYgNS44NDYgMCAwMDIuNTQ3LS41NzZMMTkuMjUgOS4zNjdsLTIuNTQ3IDUuODA3eiI+PC9wYXRoPjwvc3ZnPgo=
|
||||||
.. _License: https://github.com/XuehaiPan/nvitop#license
|
.. _License: https://github.com/XuehaiPan/nvitop#license
|
||||||
|
|
||||||
.. |Tweet| image:: https://img.shields.io/twitter/url?url=https%3A%2F%2Fgithub.com%2FXuehaiPan%2Fnvitop
|
|
||||||
.. _Tweet: https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2FXuehaiPan%2Fnvitop
|
|
||||||
|
|
||||||
------
|
------
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
|
|
|
||||||
|
|
@ -21,10 +21,10 @@ keywords = [
|
||||||
]
|
]
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Development Status :: 4 - Beta",
|
"Development Status :: 4 - Beta",
|
||||||
|
"License :: OSI Approved :: Apache Software License",
|
||||||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
"Programming Language :: Python :: 3.6",
|
"Programming Language :: Python :: 3.6",
|
||||||
"Programming Language :: Python :: 3.6",
|
|
||||||
"Programming Language :: Python :: 3.7",
|
"Programming Language :: Python :: 3.7",
|
||||||
"Programming Language :: Python :: 3.8",
|
"Programming Language :: Python :: 3.8",
|
||||||
"Programming Language :: Python :: 3.9",
|
"Programming Language :: Python :: 3.9",
|
||||||
|
|
|
||||||
3
setup.py
3
setup.py
|
|
@ -63,4 +63,5 @@ try:
|
||||||
)
|
)
|
||||||
finally:
|
finally:
|
||||||
if VERSION_CONTENT is not None:
|
if VERSION_CONTENT is not None:
|
||||||
VERSION_FILE.write_text(data=VERSION_CONTENT, encoding='UTF-8')
|
with VERSION_FILE.open(mode='wt', encoding='UTF-8', newline='') as file:
|
||||||
|
file.write(VERSION_CONTENT)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue