Skip to main content

Простая 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dfgui-0.2.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file dfgui-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: dfgui-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for dfgui-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e0c409e811a11fd17599fa2d0650106aa9ddf2fb872f8b4480f580af7e5db3b
MD5 5a41c010372f1ea3ab6f61e9b6bb5390
BLAKE2b-256 bb2c0f1358a1f773e7ccec95c6728ef4bb0a6856154f197ab4b25bdd4bee9f72

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page