Простая GUI библиотека на tkinter
Project description
RU:
DfGUI – простая библиотека для GUI на Python
Основана на tkinter, автоматически подстраивается под DPI экрана.
Установка
pip install DfGUI
Пример
python
import DfGUI as dg
dg.DPI()
win = dg.Window("Моя программа")
win.add(dg.Label(win, text="Привет!"))
win.run()
text
### 5. Создайте `LICENSE`
Выберите лицензию, например MIT. Файл можно создать с текстом лицензии (скопируйте с https://opensource.org/licenses/MIT).
### 6. Установите пакет локально
В командной строке перейдите в корневую папку `DfGUI/` и выполните:
```bash
pip install .
Эта команда установит вашу библиотеку в текущее окружение Python. После этого вы сможете импортировать её из любого скрипта:
python
import DfGUI as dg
dg.DPI()
win = dg.Window()
...
# --------------------------------------------------------------
# USA# DfGUI – simple GUI library in Python
Based on tkinter, automatically adjusts to the DPI of the screen.
## Installation
```bash
pip install DfGUI
Example
python
import DfGUI as dg
dg.DPI()
win = dg.Window("My program")
win.add(dg.Label(win, text="Hello!"))
win.run()
text
### 5. Create a `LICENSE`
Select a license, such as MIT. You can create a file with the license text (copy from https://opensource.org/licenses/MIT).
### 6. Install the package locally
In the command line, navigate to the root folder of `DfGUI/` and run:
```bash
pip install .
This command will install your library in the current Python environment. After that, you can import it from any script:
python
import DfGUI as dg
dg.DPI()
win = dg.Window()
...
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dfgui-0.1.0.tar.gz
(4.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
dfgui-0.1.0-py3-none-any.whl
(4.8 kB
view details)
File details
Details for the file dfgui-0.1.0.tar.gz.
File metadata
- Download URL: dfgui-0.1.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17084b0b83562a71ec187bae910cf6164e7ee580a80d36afe765342072157876
|
|
| MD5 |
bf4aebb92bdbffd7ccd27e5904a33761
|
|
| BLAKE2b-256 |
823ae2ed17d5183a8e2fa8af11091f8e33a7080634f6abbe5abcd110f7cedb0f
|
File details
Details for the file dfgui-0.1.0-py3-none-any.whl.
File metadata
- Download URL: dfgui-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87bba165034baf30d7f333f2b8d5702ccd3e6fe6afe12d6e874ba2014bc31354
|
|
| MD5 |
a4b3f39427680a402d6edf490747a8e2
|
|
| BLAKE2b-256 |
5c2c2d84d7f9f3e5729127d12bcd2aca04001b73c97b90d25dc61211f453d173
|