diff --git a/README.md b/README.md index 86127e3..b622d9a 100644 --- a/README.md +++ b/README.md @@ -1,32 +1,33 @@ -![banner](res/banner.png) +![banner](resource/banner.png) # Introduction Small and simple GUI tool to gather your computer's information using Python. + [![Pylint](https://github.com/diamant3/SYSIG/actions/workflows/Pylint.yml/badge.svg)](https://github.com/diamant3/SYSIG/actions/workflows/Pylint.yml) ## Demo https://github.com/diamant3/SYSIG/assets/71203851/b0454b5e-e3cb-4050-8f3c-853fb65eed16 ## Run -Upgrade pip then install required modules: -```shell -python -m pip install --upgrade pip -python -m pip install -r requirements.txt -``` +Requirements: + - python (3.8 - latest) + - poetry -then run: +Install dependencies: ```shell -python sysig.py +poetry install ``` -> [!Important] -> If you see a `ModuleNotFoundError: No module named 'distutils'` error, please install -> setuptools using the command `python -m pip install setuptools`. +Run: + +``` +poetry run python sysig.py +``` > [!Note] -> This is just a hobby project and all information you will see in the app is based on the Python modules's detection capabilities. Thank you for your understanding! +> This is just a hobby project and all information you will see in the app is based on the Python modules' detection capabilities. Thank you for your understanding! ## Credits - [Hardware detection in python](https://www.thepythoncode.com/article/get-hardware-system-information-python) diff --git a/poetry.lock b/poetry.lock new file mode 100644 index 0000000..8e63b46 --- /dev/null +++ b/poetry.lock @@ -0,0 +1,122 @@ +# This file is automatically @generated by Poetry 1.8.1 and should not be changed by hand. + +[[package]] +name = "dearpygui" +version = "1.11.0" +description = "DearPyGui: A simple Python GUI Toolkit" +optional = false +python-versions = ">=3.7" +files = [ + {file = "dearpygui-1.11.0-cp310-cp310-macosx_10_6_x86_64.whl", hash = "sha256:badb459bb6b27d4c9ecf3ac54f0c20b3a1ed5a6aeb674d3fc31f63840f0d7522"}, + {file = "dearpygui-1.11.0-cp310-cp310-macosx_13_0_arm64.whl", hash = "sha256:054ae6abf62ee98f8acc90087da967caccb5169815ea99f401b279c037c4f1b1"}, + {file = "dearpygui-1.11.0-cp310-cp310-manylinux1_x86_64.whl", hash = "sha256:32aa58c2036ce396960a62afaf1907e8eb8c08246af8d8c3a373e3c91a9f3bd2"}, + {file = "dearpygui-1.11.0-cp310-cp310-win_amd64.whl", hash = "sha256:258433d6f9cbeb8043f9226814963b0ca273ff8419475a7c5858c8518a0c6940"}, + {file = "dearpygui-1.11.0-cp311-cp311-macosx_10_6_x86_64.whl", hash = "sha256:57050f5910feec3d953ec7af52318de5b629a7150bef506f665c0b7529a3327f"}, + {file = "dearpygui-1.11.0-cp311-cp311-macosx_13_0_arm64.whl", hash = "sha256:4000bc53de198955d6bca6a30ef1f06dfeea592aa0c1481c8c37b58bd10c2196"}, + {file = "dearpygui-1.11.0-cp311-cp311-manylinux1_x86_64.whl", hash = "sha256:b54f92096e522b7ea84ddd3af3f7070418289258739f673c998e9c567610f118"}, + {file = "dearpygui-1.11.0-cp311-cp311-win_amd64.whl", hash = "sha256:22e082b8cbce43bc79c426b8d767c24cc54cda622783bf8f1374d957e0c11e8f"}, + {file = "dearpygui-1.11.0-cp312-cp312-macosx_10_6_x86_64.whl", hash = "sha256:4b2373e71d71aeffb3c57db59c88ec77cefec5744f0eb8a4b49ddd5327099954"}, + {file = "dearpygui-1.11.0-cp312-cp312-macosx_13_0_arm64.whl", hash = "sha256:4f594991b5d5ec5cf99f14a313206d6fa9b0d0690962dff5832ac8c22b37fece"}, + {file = "dearpygui-1.11.0-cp312-cp312-manylinux1_x86_64.whl", hash = "sha256:c6d566c7d9f836b2f345c787cd23852e74ad6cd0ea71a8e624a094a212cb1570"}, + {file = "dearpygui-1.11.0-cp312-cp312-win_amd64.whl", hash = "sha256:7e998e0c6d904f756692f2df58a1f0d0962af81663a0363e3ad7c3dc93ff38f6"}, + {file = "dearpygui-1.11.0-cp38-cp38-macosx_10_6_x86_64.whl", hash = "sha256:50b724eb4a46581137ada9a23a575e65e3b2d7a68518b83e5f4c3316eee7465c"}, + {file = "dearpygui-1.11.0-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:5f78bd922a856118e3974bb12ed86a23a1ba4d2d51db0a792c1d0f598b30bcec"}, + {file = "dearpygui-1.11.0-cp38-cp38-win_amd64.whl", hash = "sha256:32fdb6acdf488d54c4e2f76451265cd32a29e2e8394a24c1cc906102d788592c"}, + {file = "dearpygui-1.11.0-cp39-cp39-macosx_10_6_x86_64.whl", hash = "sha256:3f9d576097f95af36692be9282de5e272568ea5b68141e66613082991def8ed6"}, + {file = "dearpygui-1.11.0-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:27e3560b5c1276eae912e8862cbdeb3d92564b92cb4444717afec3fe4cc1ae76"}, + {file = "dearpygui-1.11.0-cp39-cp39-win_amd64.whl", hash = "sha256:d8eb2857c121703e4385c969c96d3255a3054780e6e45897284c2b40ab53eb58"}, +] + +[[package]] +name = "gputil" +version = "1.4.0" +description = "GPUtil is a Python module for getting the GPU status from NVIDA GPUs using nvidia-smi." +optional = false +python-versions = "*" +files = [ + {file = "GPUtil-1.4.0.tar.gz", hash = "sha256:099e52c65e512cdfa8c8763fca67f5a5c2afb63469602d5dcb4d296b3661efb9"}, +] + +[[package]] +name = "humanize" +version = "4.9.0" +description = "Python humanize utilities" +optional = false +python-versions = ">=3.8" +files = [ + {file = "humanize-4.9.0-py3-none-any.whl", hash = "sha256:ce284a76d5b1377fd8836733b983bfb0b76f1aa1c090de2566fcf008d7f6ab16"}, + {file = "humanize-4.9.0.tar.gz", hash = "sha256:582a265c931c683a7e9b8ed9559089dea7edcf6cc95be39a3cbc2c5d5ac2bcfa"}, +] + +[package.extras] +tests = ["freezegun", "pytest", "pytest-cov"] + +[[package]] +name = "psutil" +version = "5.9.8" +description = "Cross-platform lib for process and system monitoring in Python." +optional = false +python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" +files = [ + {file = "psutil-5.9.8-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:26bd09967ae00920df88e0352a91cff1a78f8d69b3ecabbfe733610c0af486c8"}, + {file = "psutil-5.9.8-cp27-cp27m-manylinux2010_i686.whl", hash = "sha256:05806de88103b25903dff19bb6692bd2e714ccf9e668d050d144012055cbca73"}, + {file = "psutil-5.9.8-cp27-cp27m-manylinux2010_x86_64.whl", hash = "sha256:611052c4bc70432ec770d5d54f64206aa7203a101ec273a0cd82418c86503bb7"}, + {file = "psutil-5.9.8-cp27-cp27mu-manylinux2010_i686.whl", hash = "sha256:50187900d73c1381ba1454cf40308c2bf6f34268518b3f36a9b663ca87e65e36"}, + {file = "psutil-5.9.8-cp27-cp27mu-manylinux2010_x86_64.whl", hash = "sha256:02615ed8c5ea222323408ceba16c60e99c3f91639b07da6373fb7e6539abc56d"}, + {file = "psutil-5.9.8-cp27-none-win32.whl", hash = "sha256:36f435891adb138ed3c9e58c6af3e2e6ca9ac2f365efe1f9cfef2794e6c93b4e"}, + {file = "psutil-5.9.8-cp27-none-win_amd64.whl", hash = "sha256:bd1184ceb3f87651a67b2708d4c3338e9b10c5df903f2e3776b62303b26cb631"}, + {file = "psutil-5.9.8-cp36-abi3-macosx_10_9_x86_64.whl", hash = "sha256:aee678c8720623dc456fa20659af736241f575d79429a0e5e9cf88ae0605cc81"}, + {file = "psutil-5.9.8-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:8cb6403ce6d8e047495a701dc7c5bd788add903f8986d523e3e20b98b733e421"}, + {file = "psutil-5.9.8-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d06016f7f8625a1825ba3732081d77c94589dca78b7a3fc072194851e88461a4"}, + {file = "psutil-5.9.8-cp36-cp36m-win32.whl", hash = "sha256:7d79560ad97af658a0f6adfef8b834b53f64746d45b403f225b85c5c2c140eee"}, + {file = "psutil-5.9.8-cp36-cp36m-win_amd64.whl", hash = "sha256:27cc40c3493bb10de1be4b3f07cae4c010ce715290a5be22b98493509c6299e2"}, + {file = "psutil-5.9.8-cp37-abi3-win32.whl", hash = "sha256:bc56c2a1b0d15aa3eaa5a60c9f3f8e3e565303b465dbf57a1b730e7a2b9844e0"}, + {file = "psutil-5.9.8-cp37-abi3-win_amd64.whl", hash = "sha256:8db4c1b57507eef143a15a6884ca10f7c73876cdf5d51e713151c1236a0e68cf"}, + {file = "psutil-5.9.8-cp38-abi3-macosx_11_0_arm64.whl", hash = "sha256:d16bbddf0693323b8c6123dd804100241da461e41d6e332fb0ba6058f630f8c8"}, + {file = "psutil-5.9.8.tar.gz", hash = "sha256:6be126e3225486dff286a8fb9a06246a5253f4c7c53b475ea5f5ac934e64194c"}, +] + +[package.extras] +test = ["enum34", "ipaddress", "mock", "pywin32", "wmi"] + +[[package]] +name = "py-cpuinfo" +version = "9.0.0" +description = "Get CPU info with pure Python" +optional = false +python-versions = "*" +files = [ + {file = "py-cpuinfo-9.0.0.tar.gz", hash = "sha256:3cdbbf3fac90dc6f118bfd64384f309edeadd902d7c8fb17f02ffa1fc3f49690"}, + {file = "py_cpuinfo-9.0.0-py3-none-any.whl", hash = "sha256:859625bc251f64e21f077d099d4162689c762b5d6a4c3c97553d56241c9674d5"}, +] + +[[package]] +name = "pyadl" +version = "0.1" +description = "A simple Python Wrapper for the AMD/ATI ADL lib." +optional = false +python-versions = "*" +files = [ + {file = "pyadl-0.1.tar.gz", hash = "sha256:8c76c809cfdcb1c40eb2af1dfb3fbb5c265d0431fa3c1645cb65709e353f9d87"}, +] + +[[package]] +name = "setuptools" +version = "69.1.1" +description = "Easily download, build, install, upgrade, and uninstall Python packages" +optional = false +python-versions = ">=3.8" +files = [ + {file = "setuptools-69.1.1-py3-none-any.whl", hash = "sha256:02fa291a0471b3a18b2b2481ed902af520c69e8ae0919c13da936542754b4c56"}, + {file = "setuptools-69.1.1.tar.gz", hash = "sha256:5c0806c7d9af348e6dd3777b4f4dbb42c7ad85b190104837488eab9a7c945cf8"}, +] + +[package.extras] +docs = ["furo", "jaraco.packaging (>=9.3)", "jaraco.tidelift (>=1.4)", "pygments-github-lexers (==0.0.5)", "rst.linker (>=1.9)", "sphinx (<7.2.5)", "sphinx (>=3.5)", "sphinx-favicon", "sphinx-inline-tabs", "sphinx-lint", "sphinx-notfound-page (>=1,<2)", "sphinx-reredirects", "sphinxcontrib-towncrier"] +testing = ["build[virtualenv]", "filelock (>=3.4.0)", "flake8-2020", "ini2toml[lite] (>=0.9)", "jaraco.develop (>=7.21)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "packaging (>=23.2)", "pip (>=19.1)", "pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-cov", "pytest-enabler (>=2.2)", "pytest-home (>=0.5)", "pytest-mypy (>=0.9.1)", "pytest-perf", "pytest-ruff (>=0.2.1)", "pytest-timeout", "pytest-xdist", "tomli-w (>=1.0.0)", "virtualenv (>=13.0.0)", "wheel"] +testing-integration = ["build[virtualenv] (>=1.0.3)", "filelock (>=3.4.0)", "jaraco.envs (>=2.2)", "jaraco.path (>=3.2.0)", "packaging (>=23.2)", "pytest", "pytest-enabler", "pytest-xdist", "tomli", "virtualenv (>=13.0.0)", "wheel"] + +[metadata] +lock-version = "2.0" +python-versions = "^3.8" +content-hash = "16b6ced20529b5aa4a54f49ef1f5c4e467265359914161ba7bac9032d1274fb4" diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..d345132 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,22 @@ +[tool.poetry] +name = "sysig" +version = "0.0.1" +description = "Simple application to gather your system information in your computer." +authors = ["diamant3 "] +license = "MIT" +readme = "README.md" + +[tool.poetry.dependencies] +python = "^3.8" +dearpygui = "^1.11.0" +py-cpuinfo = "^9.0.0" +GPUtil = "^1.4.0" +pyadl = "^0.1" +psutil = "^5.9.8" +humanize = "^4.9.0" +setuptools = "^69.1.1" + + +[build-system] +requires = ["poetry-core"] +build-backend = "poetry.core.masonry.api" diff --git a/res/banner.png b/resource/banner.png similarity index 100% rename from res/banner.png rename to resource/banner.png diff --git a/res/icon.ico b/resource/icon.ico similarity index 100% rename from res/icon.ico rename to resource/icon.ico