Skip to content

Commit

Permalink
add poetry (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
diamant3 authored Feb 27, 2024
1 parent d142403 commit 603a233
Show file tree
Hide file tree
Showing 5 changed files with 157 additions and 12 deletions.
25 changes: 13 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
122 changes: 122 additions & 0 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <diamant3@proton.me>"]
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"
File renamed without changes
File renamed without changes.

0 comments on commit 603a233

Please sign in to comment.