Gui with User/Password requesting and save in base64
Project description
class User(object): passclass User(object): pass# login_gui It is a Gui Package. In the gui you can specify the user with password. There is a possibility to save the entered data. This is stored in the User Data section of Windows. The class is a singleton and returns the last entered data with every call in the process.
Example code:
from login_gui import MainGui, User
if __name__ == '__main__':
functions = [
"test function",
"test function 1",
"test function 2",
]
print(MainGui(functions, 'My Gui').result)
>>> [1,0,1]
print(MainGui([], 'My Gui').result)
>>> None
print(str(User().decode()))
>>> 'user:password'
functions = [
(True, "test function 0"),
(False, "test function 1"),
(True, "test function 2"),
]
print(MainGui(functions, 'My Gui').result)
>>> 'user:password'
Example Video:
Development environment
- you need python 3.8.5
- if you don't have python in windows environment variable, you must add to python absolut path
- start CMD in you repo path
- build venv folder with environment python for development
python -m venv venv - activate python with
venv\Scripts\activate.bat - upgrade pip to new version
python -m pip install --upgrade pip - install all package for development
pip install -r requirements.txt
Tools for Development
PyCharm plugins
- As code analyzer PyLint
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
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
File details
Details for the file login-gui-2.0.0.tar.gz.
File metadata
- Download URL: login-gui-2.0.0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
219144b9a8d11972be939b370003f381ee94ad33c24cb7b1c59986d5bb0d6381
|
|
| MD5 |
62ed4e12c91382e26c850b218c41372a
|
|
| BLAKE2b-256 |
a57eb1329084c3a05e82b0c571161758a5fc88d1cde74639f8ca21650dec712b
|
File details
Details for the file login_gui-2.0.0-py3-none-any.whl.
File metadata
- Download URL: login_gui-2.0.0-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a68eb1f643fda600b70e22ea4a4336f2f30ae3752cf053fa640d24da5362771
|
|
| MD5 |
c380d8812a6971fbcec9960b00f3ba25
|
|
| BLAKE2b-256 |
a156a3cd2fcce099d10e339dfd49147239002ffe201837ad9b57b2f96c8d94c5
|