Commit graph

52 commits

Author SHA1 Message Date
Xuehai Pan
5a4f1d52ea feat(exporter): add exporter and prometheus extras for nvitop PyPI package 2025-11-16 14:02:52 +08:00
Xuehai Pan
032370319c
chore!: remove per-version install extras for nvidia-ml-py and prefer nvitop[cudaXX] instead (#179) 2025-08-16 14:12:11 +08:00
Xuehai Pan
96a0fab34f
lint(tui): add doctests and add type annotations in nvitop.tui (#164) 2025-04-25 05:50:41 +08:00
Xuehai Pan
5def9731a0 chore(setup): put setup function under a if __name__ == '__main__' block 2025-02-22 16:55:16 +08:00
Xuehai Pan
8d897bbb78 lint: migrate formatter from black to ruff format 2025-01-30 18:18:59 +08:00
Xuehai Pan
d72bc712b8 chore(setup): add extra cuda11 and cuda12 2025-01-28 21:34:54 +08:00
Xuehai Pan
caf5c5d93d deps(isort): replace isort with ruff check --select=I 2024-12-16 00:48:32 +08:00
Xuehai Pan
623b1e5360 chore(pre-commit): update pre-commit hooks 2024-07-31 15:36:15 +08:00
Xuehai Pan
4f46184441 refactor(setup): refactor setup scripts 2024-07-04 16:51:14 +08:00
Xuehai Pan
f0b055bfcf
feat(linter): mypy integration (#73) 2023-05-01 13:02:01 +08:00
Xuehai Pan
871c5ca248 style: prefer utf-8 over UTF-8 in code 2023-04-20 05:09:28 +00:00
Xuehai Pan
74295ca2ae feat(pre-commit): enable flake8 in pre-commit 2023-02-17 10:08:00 +00:00
Xuehai Pan
36f35542c6 deps: bump pylint version
Signed-off-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
2023-02-01 20:10:18 +08:00
Xuehai Pan
a8731016fa
docs(core): rephrase docstrings (#53) 2023-01-03 20:52:34 +08:00
Xuehai Pan
56c9c8c631 deps: update linter dependencies
Signed-off-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
2022-12-05 21:10:03 +08:00
Xuehai Pan
7501b6fc7f chore(pyproject.toml): update license classifiers
Signed-off-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
2022-12-05 15:15:51 +08:00
Xuehai Pan
330b2f8c7e refactor: drop Python 3.5 support
Signed-off-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
2022-12-04 14:08:48 +08:00
Xuehai Pan
afe33211a7 chore(pylintrc): update pylint settings
Signed-off-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
2022-12-04 14:08:48 +08:00
Xuehai Pan
d57b441e3b refactor(setup): move write file content to try-finally block
Signed-off-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
2022-11-24 21:41:16 +08:00
Xuehai Pan
7c7450f99f feat(workflows): add wheel tests
Signed-off-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
2022-07-21 11:12:34 +08:00
Xuehai Pan
3a494471c8 style: format with black
Signed-off-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
2022-07-18 21:35:25 +08:00
Xuehai Pan
c6e3272763 feat(pyproject): migrate to pyproject.toml for packaging
Signed-off-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
2022-07-18 21:35:23 +08:00
Xuehai Pan
9406192302 feat(setup): add extra options to specify nvidia-ml-py version
Signed-off-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
2022-07-05 11:32:02 +08:00
Xuehai Pan
3ce55d8089 fix(setup): fix unknown argument newline for Path.write_text on Linux
Signed-off-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
2022-03-04 13:14:29 +08:00
Xuehai Pan
e51e4bff8e chore: improve compatibility for Windows
Signed-off-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
2022-03-02 14:22:32 +08:00
Xuehai Pan
1f0dc6982d feat(setup): update version string in site-packages library during installation
Signed-off-by: Xuehai Pan <XuehaiPan@pku.edu.cn>
2021-12-23 19:15:46 +08:00
XuehaiPan
eb1325fd35 chore(setup): prefer setup.cfg to setup.py for packaging 2021-11-22 21:40:02 +08:00
XuehaiPan
76e59e168d chore: update dependency psutil version 2021-10-08 14:37:35 +08:00
XuehaiPan
6fa6aaa9b2 style: apply suggestions from pylint 2021-10-07 15:43:10 +08:00
XuehaiPan
8a72ef3dca chore: improve compatibility for Windows 2021-09-11 19:51:36 +08:00
XuehaiPan
5e26a17b07 chore: update minimum dependency versions 2021-08-17 19:47:43 +08:00
XuehaiPan
cf8555e92c feat: add process filtering for users 2021-07-20 16:32:01 +08:00
XuehaiPan
b669fa39b1 chore: update setup.py 2021-07-15 01:00:51 +08:00
XuehaiPan
6afebb6ad1 chore: update setup.py 2021-06-15 18:38:02 +08:00
XuehaiPan
7c111fb7ab feat: add help screen 2021-06-11 22:59:04 +08:00
XuehaiPan
dcd2c081b2 refactor: rearrange code 2021-06-10 14:59:45 +08:00
XuehaiPan
48a126181e chore: improve compatibility for old pip 2021-06-09 17:18:25 +08:00
XuehaiPan
4da27e741a chore: minor improvements 2021-05-16 16:49:11 +08:00
XuehaiPan
4ba93f6328 chore: update setup.py 2021-05-13 22:17:07 +08:00
XuehaiPan
0a79f8cd6f refactor: rearrange code 2021-05-11 23:20:41 +08:00
XuehaiPan
8a2e12413b chore: update setup.py 2021-04-22 20:04:31 +08:00
XuehaiPan
54d0bef737 chore: improve protability on Windows 2021-03-31 16:51:38 +08:00
XuehaiPan
d87d97f361 style: format code 2021-02-12 22:31:41 +08:00
XuehaiPan
1738f6c6de fix: update dependency nvidia-my-py version 2021-02-11 22:59:49 +08:00
XuehaiPan
d7295c6cfa chore: update setup.py 2021-02-09 23:20:58 +08:00
XuehaiPan
a002ec655b chore: rename project to nvitop 2021-02-08 14:37:07 +08:00
XuehaiPan
778f6a7107 chore: change to beta version 2021-02-08 13:35:13 +08:00
XuehaiPan
b5e2209fe7 chore: update setup.py 2021-02-06 00:16:40 +08:00
XuehaiPan
1b346c3850 chore: update setup.py 2021-02-05 23:33:50 +08:00
XuehaiPan
d5fb00da3a style: rearrange code 2021-02-05 19:05:44 +08:00