A library for creating personalization window.
Project description
What is it?
KyInter is an addon for tkinter
What is it use for?
KyInter can create your personalization window fast
How to download it?
enter in your cmd
pip install KyInter
if it fails, you can try to enter
python -m pip install KyInter
or enter
python3 -m pip install KyInter
Give me a example code.
# import KyInter
from KyInter.KySetups import Setup
from KyInter.KyCore import Position, Size
from KyInter.KyWidgets import MainWindow, Font, Label
# if you want a high definition, enter this
Setup.setHighDefinition(True)
# create a simple window
mainWindow = MainWindow()
mainWindow.setTitle("MyWindow") # set title
mainWindow.setSize(Size(400, 300)) # set size
mainWindow.setFixedSize(True) # set fixed size
# create a font
# family is modern "Microsoft YaHei" (Chinese)
# size is 12
# enable bold, italic, underline and overstrike
font = Font(family="Microsoft YaHei",
size=12,
bold=True,
italic=True,
underline=True,
overstrike=True
)
# create a label
# use newly created font
label = Label(mainWindow, "COOL TEXT", font)
label.setPosition(Position(131, 117))
# finally, exec
mainWindow.exec()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
kyinter-1.0.1.tar.gz
(174.0 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
kyinter-1.0.1-py3-none-any.whl
(174.2 kB
view details)
File details
Details for the file kyinter-1.0.1.tar.gz.
File metadata
- Download URL: kyinter-1.0.1.tar.gz
- Upload date:
- Size: 174.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
333b23c814c2561fe829096d10a7eee7b86c22b6b3068326cb47ed85398dbc33
|
|
| MD5 |
db054fe4f167cbe5e6a8da70c43ca87e
|
|
| BLAKE2b-256 |
6615496308225a4f403425780cefaabec6e70d3cde6273a775230eb4249da3a7
|
File details
Details for the file kyinter-1.0.1-py3-none-any.whl.
File metadata
- Download URL: kyinter-1.0.1-py3-none-any.whl
- Upload date:
- Size: 174.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6930c6ab5e41bdfb2862f572ba9b712f416b8fc301ca590c3806ddd21e070005
|
|
| MD5 |
ee019eecc21c932fd93c0726c7d25671
|
|
| BLAKE2b-256 |
b6ab0d1120721fe72904236ae8531a9aede97baa7db7c93a96a4c38248d2a120
|