2022-07-04T20:52:54,580 Created temporary directory: /tmp/pip-ephem-wheel-cache-kekcgphe 2022-07-04T20:52:54,586 Created temporary directory: /tmp/pip-build-tracker-8n54tigc 2022-07-04T20:52:54,586 Initialized build tracking at /tmp/pip-build-tracker-8n54tigc 2022-07-04T20:52:54,587 Created build tracker: /tmp/pip-build-tracker-8n54tigc 2022-07-04T20:52:54,587 Entered build tracker: /tmp/pip-build-tracker-8n54tigc 2022-07-04T20:52:54,588 Created temporary directory: /tmp/pip-wheel-0wrh4ag_ 2022-07-04T20:52:54,658 Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple 2022-07-04T20:52:54,666 2 location(s) to search for versions of tkgetpassword: 2022-07-04T20:52:54,666 * https://pypi.org/simple/tkgetpassword/ 2022-07-04T20:52:54,666 * https://www.piwheels.org/simple/tkgetpassword/ 2022-07-04T20:52:54,667 Fetching project page and analyzing links: https://pypi.org/simple/tkgetpassword/ 2022-07-04T20:52:54,668 Getting page https://pypi.org/simple/tkgetpassword/ 2022-07-04T20:52:54,671 Found index url https://pypi.org/simple 2022-07-04T20:52:54,857 Found link https://files.pythonhosted.org/packages/98/a2/da90e26f26ae9d0f36d6862497fae910cc206309cdce35f6a9eaec0b6b8b/tkgetpassword-1.0.tar.gz#sha256=c1e62eaf1b9ac1564f65e00f781ee27c6e7d3b03cc85d0467240ebbfeff73813 (from https://pypi.org/simple/tkgetpassword/), version: 1.0 2022-07-04T20:52:54,858 Found link https://files.pythonhosted.org/packages/94/f5/2942655cb6be8b74385bba453fa55fbf6fbe807657b3cd78a54d59840d2c/tkgetpassword-1.1.tar.gz#sha256=453414e8bdd90d4cc1fe19eaa42d4e6e6f5044ad5d3eb113393880ac562c232c (from https://pypi.org/simple/tkgetpassword/), version: 1.1 2022-07-04T20:52:54,859 Found link https://files.pythonhosted.org/packages/66/1b/1eba6b7661406123085057645fcfe940aef7d239c60673a310101c327495/tkgetpassword-1.2.1.tar.gz#sha256=44f5c621e881317b52f67c76ce3f29e1dc19c858c044082ef8eeafe33195d226 (from https://pypi.org/simple/tkgetpassword/), version: 1.2.1 2022-07-04T20:52:54,859 Found link https://files.pythonhosted.org/packages/4a/54/01aa97f9daea5a7a4da6b0d1d86a59a1cd83038199a73aa8843fefab89a5/tkgetpassword-1.2.2.tar.gz#sha256=d6c474105e949a5930897b2b2d5827dc0820b3e746ff202c659f9d04369dac41 (from https://pypi.org/simple/tkgetpassword/), version: 1.2.2 2022-07-04T20:52:54,860 Fetching project page and analyzing links: https://www.piwheels.org/simple/tkgetpassword/ 2022-07-04T20:52:54,861 Getting page https://www.piwheels.org/simple/tkgetpassword/ 2022-07-04T20:52:54,863 Found index url https://www.piwheels.org/simple 2022-07-04T20:52:55,081 Skipping link: No binaries permitted for tkgetpassword: https://www.piwheels.org/simple/tkgetpassword/tkgetpassword-1.2.1-py3-none-any.whl#sha256=c2db9f47a4a471ce233f351cceb9c664d38bb13d9df54e716efbd010f1bdb61a (from https://www.piwheels.org/simple/tkgetpassword/) 2022-07-04T20:52:55,082 Skipping link: No binaries permitted for tkgetpassword: https://www.piwheels.org/simple/tkgetpassword/tkgetpassword-1.1-py3-none-any.whl#sha256=e8b7971ede1436dedf07a63900e256477b6e2125154dc6d732fb36b0c0243443 (from https://www.piwheels.org/simple/tkgetpassword/) 2022-07-04T20:52:55,083 Skipping link: No binaries permitted for tkgetpassword: https://www.piwheels.org/simple/tkgetpassword/tkgetpassword-1.0-py3-none-any.whl#sha256=e371372c297d914c8f58c74c7f208f92481d063ce409a2bb6b50ce03dc617672 (from https://www.piwheels.org/simple/tkgetpassword/) 2022-07-04T20:52:55,083 Skipping link: not a file: https://www.piwheels.org/simple/tkgetpassword/ 2022-07-04T20:52:55,084 Skipping link: not a file: https://pypi.org/simple/tkgetpassword/ 2022-07-04T20:52:55,118 Given no hashes to check 1 links for project 'tkgetpassword': discarding no candidates 2022-07-04T20:52:55,150 Collecting tkgetpassword==1.2.2 2022-07-04T20:52:55,154 Created temporary directory: /tmp/pip-unpack-fmrcklfv 2022-07-04T20:52:55,373 Downloading tkgetpassword-1.2.2.tar.gz (7.0 kB) 2022-07-04T20:52:55,417 Added tkgetpassword==1.2.2 from https://files.pythonhosted.org/packages/4a/54/01aa97f9daea5a7a4da6b0d1d86a59a1cd83038199a73aa8843fefab89a5/tkgetpassword-1.2.2.tar.gz#sha256=d6c474105e949a5930897b2b2d5827dc0820b3e746ff202c659f9d04369dac41 to build tracker '/tmp/pip-build-tracker-8n54tigc' 2022-07-04T20:52:55,421 Running setup.py (path:/tmp/pip-wheel-0wrh4ag_/tkgetpassword_4a25a782d1e249dc972f780a2bd8063f/setup.py) egg_info for package tkgetpassword 2022-07-04T20:52:55,422 Created temporary directory: /tmp/pip-pip-egg-info-ds16_f0p 2022-07-04T20:52:55,423 Preparing metadata (setup.py): started 2022-07-04T20:52:55,425 Running command python setup.py egg_info 2022-07-04T20:53:00,602 Instalation: 2022-07-04T20:53:00,604 ============ 2022-07-04T20:53:00,604 :: 2022-07-04T20:53:00,605 pip install tkgetpassword 2022-07-04T20:53:00,605 Functions to create password entries: 2022-07-04T20:53:00,606 ===================================== 2022-07-04T20:53:00,606 askcreatepassword, askoldpassword, askchangepassword 2022-07-04T20:53:00,607 1- **askcreatepassword**\ ( ) Use on create a new password, return (str: a new password) 2022-07-04T20:53:00,608 2- **askoldpassword**\ ( ) Use on get old password and check with 2022-07-04T20:53:00,608 functions Sha256 (HASH) or other, return (str: old password) 2022-07-04T20:53:00,609 3- **askchangepassword**\ ( ) Use on change old password, return (str: 2022-07-04T20:53:00,609 old password, str: new passwod) 2022-07-04T20:53:00,610 Creation password: 2022-07-04T20:53:00,610 ================== 2022-07-04T20:53:00,611 :: 2022-07-04T20:53:00,611 from tkinter import Tk 2022-07-04T20:53:00,612 import tkgetpassword as tkpassw 2022-07-04T20:53:00,612 root = Tk() 2022-07-04T20:53:00,613 newpass = tkpassw.askcreatepassword(root, minlenght=12) 2022-07-04T20:53:00,613 root.mainloop() 2022-07-04T20:53:00,615 .. figure:: https://github.com/LeonardoReichert/tkgetpassword/blob/main/examples/createpass.png?raw=true 2022-07-04T20:53:00,615 :align: center 2022-07-04T20:53:00,616 Auth password: 2022-07-04T20:53:00,616 ============== 2022-07-04T20:53:00,617 :: 2022-07-04T20:53:00,617 import hashlib 2022-07-04T20:53:00,618 thehash = hashlib.sha256( newpass.encode() ).hexdigest() 2022-07-04T20:53:00,619 oldpass = tkpassw.askoldpassword(root, thehash) 2022-07-04T20:53:00,619 .. figure:: https://github.com/LeonardoReichert/tkgetpassword/blob/main/examples/oldpass.png?raw=true 2022-07-04T20:53:00,620 :align: center 2022-07-04T20:53:00,621 Change password 2022-07-04T20:53:00,621 =============== 2022-07-04T20:53:00,622 :: 2022-07-04T20:53:00,622 oldpass , newpass = tkpassw.askchangepassword(root, hashed) 2022-07-04T20:53:00,623 if not (oldpass and newpass): 2022-07-04T20:53:00,623 print("form change password is canceled") 2022-07-04T20:53:00,624 .. figure:: https://github.com/LeonardoReichert/tkgetpassword/blob/main/examples/changepass.png?raw=true 2022-07-04T20:53:00,625 :align: center 2022-07-04T20:53:00,626 use help(module) : 2022-07-04T20:53:00,626 ================== 2022-07-04T20:53:00,627 :: 2022-07-04T20:53:00,627 help(tkgetpassword) 2022-07-04T20:53:00,628 Options \**kw use: 2022-07-04T20:53:00,628 ================== 2022-07-04T20:53:00,629 :: 2022-07-04T20:53:00,629 -title: optional title str 2022-07-04T20:53:00,630 -message: optional message str 2022-07-04T20:53:00,630 -font1: optional (font of label passwords) 2022-07-04T20:53:00,631 -font2: optional (font of passwords) 2022-07-04T20:53:00,631 -showchar: default is "*" 2022-07-04T20:53:00,632 -minlenght: default 0 (no limits) 2022-07-04T20:53:00,632 -maxlenght: default 0 (no limits) 2022-07-04T20:53:00,633 -asserthash: a string hash to authenticate (example: 2022-07-04T20:53:00,633 a representation hash: hashlib.new("sha256", bytesPassword).hexdigest() 2022-07-04T20:53:00,633 ignored by askcreatepassword(...) function 2022-07-04T20:53:00,634 -namesha: default used is "sha256", 2022-07-04T20:53:00,634 used on hashlib.new(namesha, passw).hexdisgest() method 2022-07-04T20:53:00,635 -textbutton: default is a tuple ("Ok", "Cancel") 2022-07-04T20:53:00,635 -stylebutton: default is "TButton" 2022-07-04T20:53:00,636 \**\* News updates \**\* 2022-07-04T20:53:00,636 ============================ 2022-07-04T20:53:00,636 :: 2022-07-04T20:53:00,637 from release 1.1.1: added variable "version" 2022-07-04T20:53:00,638 running egg_info 2022-07-04T20:53:00,638 creating /tmp/pip-pip-egg-info-ds16_f0p/tkgetpassword.egg-info 2022-07-04T20:53:01,243 writing /tmp/pip-pip-egg-info-ds16_f0p/tkgetpassword.egg-info/PKG-INFO 2022-07-04T20:53:01,832 writing dependency_links to /tmp/pip-pip-egg-info-ds16_f0p/tkgetpassword.egg-info/dependency_links.txt 2022-07-04T20:53:05,349 writing top-level names to /tmp/pip-pip-egg-info-ds16_f0p/tkgetpassword.egg-info/top_level.txt 2022-07-04T20:53:05,352 writing manifest file '/tmp/pip-pip-egg-info-ds16_f0p/tkgetpassword.egg-info/SOURCES.txt' 2022-07-04T20:53:06,140 reading manifest file '/tmp/pip-pip-egg-info-ds16_f0p/tkgetpassword.egg-info/SOURCES.txt' 2022-07-04T20:53:06,148 writing manifest file '/tmp/pip-pip-egg-info-ds16_f0p/tkgetpassword.egg-info/SOURCES.txt' 2022-07-04T20:53:06,313 Preparing metadata (setup.py): finished with status 'done' 2022-07-04T20:53:06,325 Source in /tmp/pip-wheel-0wrh4ag_/tkgetpassword_4a25a782d1e249dc972f780a2bd8063f has version 1.2.2, which satisfies requirement tkgetpassword==1.2.2 from https://files.pythonhosted.org/packages/4a/54/01aa97f9daea5a7a4da6b0d1d86a59a1cd83038199a73aa8843fefab89a5/tkgetpassword-1.2.2.tar.gz#sha256=d6c474105e949a5930897b2b2d5827dc0820b3e746ff202c659f9d04369dac41 2022-07-04T20:53:06,326 Removed tkgetpassword==1.2.2 from https://files.pythonhosted.org/packages/4a/54/01aa97f9daea5a7a4da6b0d1d86a59a1cd83038199a73aa8843fefab89a5/tkgetpassword-1.2.2.tar.gz#sha256=d6c474105e949a5930897b2b2d5827dc0820b3e746ff202c659f9d04369dac41 from build tracker '/tmp/pip-build-tracker-8n54tigc' 2022-07-04T20:53:06,336 Created temporary directory: /tmp/pip-unpack-k2t3_cqi 2022-07-04T20:53:06,337 Building wheels for collected packages: tkgetpassword 2022-07-04T20:53:06,346 Created temporary directory: /tmp/pip-wheel-d_mq6_cv 2022-07-04T20:53:06,347 Building wheel for tkgetpassword (setup.py): started 2022-07-04T20:53:06,349 Destination directory: /tmp/pip-wheel-d_mq6_cv 2022-07-04T20:53:06,349 Running command python setup.py bdist_wheel 2022-07-04T20:53:08,349 Instalation: 2022-07-04T20:53:08,351 ============ 2022-07-04T20:53:08,351 :: 2022-07-04T20:53:08,352 pip install tkgetpassword 2022-07-04T20:53:08,353 Functions to create password entries: 2022-07-04T20:53:08,353 ===================================== 2022-07-04T20:53:08,354 askcreatepassword, askoldpassword, askchangepassword 2022-07-04T20:53:08,354 1- **askcreatepassword**\ ( ) Use on create a new password, return (str: a new password) 2022-07-04T20:53:08,355 2- **askoldpassword**\ ( ) Use on get old password and check with 2022-07-04T20:53:08,355 functions Sha256 (HASH) or other, return (str: old password) 2022-07-04T20:53:08,356 3- **askchangepassword**\ ( ) Use on change old password, return (str: 2022-07-04T20:53:08,356 old password, str: new passwod) 2022-07-04T20:53:08,357 Creation password: 2022-07-04T20:53:08,357 ================== 2022-07-04T20:53:08,358 :: 2022-07-04T20:53:08,358 from tkinter import Tk 2022-07-04T20:53:08,359 import tkgetpassword as tkpassw 2022-07-04T20:53:08,359 root = Tk() 2022-07-04T20:53:08,360 newpass = tkpassw.askcreatepassword(root, minlenght=12) 2022-07-04T20:53:08,361 root.mainloop() 2022-07-04T20:53:08,361 .. figure:: https://github.com/LeonardoReichert/tkgetpassword/blob/main/examples/createpass.png?raw=true 2022-07-04T20:53:08,362 :align: center 2022-07-04T20:53:08,363 Auth password: 2022-07-04T20:53:08,363 ============== 2022-07-04T20:53:08,363 :: 2022-07-04T20:53:08,364 import hashlib 2022-07-04T20:53:08,365 thehash = hashlib.sha256( newpass.encode() ).hexdigest() 2022-07-04T20:53:08,365 oldpass = tkpassw.askoldpassword(root, thehash) 2022-07-04T20:53:08,366 .. figure:: https://github.com/LeonardoReichert/tkgetpassword/blob/main/examples/oldpass.png?raw=true 2022-07-04T20:53:08,367 :align: center 2022-07-04T20:53:08,367 Change password 2022-07-04T20:53:08,368 =============== 2022-07-04T20:53:08,368 :: 2022-07-04T20:53:08,369 oldpass , newpass = tkpassw.askchangepassword(root, hashed) 2022-07-04T20:53:08,370 if not (oldpass and newpass): 2022-07-04T20:53:08,370 print("form change password is canceled") 2022-07-04T20:53:08,371 .. figure:: https://github.com/LeonardoReichert/tkgetpassword/blob/main/examples/changepass.png?raw=true 2022-07-04T20:53:08,371 :align: center 2022-07-04T20:53:08,372 use help(module) : 2022-07-04T20:53:08,372 ================== 2022-07-04T20:53:08,373 :: 2022-07-04T20:53:08,374 help(tkgetpassword) 2022-07-04T20:53:08,374 Options \**kw use: 2022-07-04T20:53:08,375 ================== 2022-07-04T20:53:08,375 :: 2022-07-04T20:53:08,376 -title: optional title str 2022-07-04T20:53:08,376 -message: optional message str 2022-07-04T20:53:08,377 -font1: optional (font of label passwords) 2022-07-04T20:53:08,377 -font2: optional (font of passwords) 2022-07-04T20:53:08,378 -showchar: default is "*" 2022-07-04T20:53:08,378 -minlenght: default 0 (no limits) 2022-07-04T20:53:08,379 -maxlenght: default 0 (no limits) 2022-07-04T20:53:08,379 -asserthash: a string hash to authenticate (example: 2022-07-04T20:53:08,380 a representation hash: hashlib.new("sha256", bytesPassword).hexdigest() 2022-07-04T20:53:08,380 ignored by askcreatepassword(...) function 2022-07-04T20:53:08,380 -namesha: default used is "sha256", 2022-07-04T20:53:08,380 used on hashlib.new(namesha, passw).hexdisgest() method 2022-07-04T20:53:08,381 -textbutton: default is a tuple ("Ok", "Cancel") 2022-07-04T20:53:08,381 -stylebutton: default is "TButton" 2022-07-04T20:53:08,382 \**\* News updates \**\* 2022-07-04T20:53:08,382 ============================ 2022-07-04T20:53:08,383 :: 2022-07-04T20:53:08,383 from release 1.1.1: added variable "version" 2022-07-04T20:53:11,035 running bdist_wheel 2022-07-04T20:53:11,187 running build 2022-07-04T20:53:11,187 running build_py 2022-07-04T20:53:11,827 creating build 2022-07-04T20:53:11,828 creating build/lib 2022-07-04T20:53:11,829 creating build/lib/tkgetpassword 2022-07-04T20:53:11,832 copying tkgetpassword/__init__.py -> build/lib/tkgetpassword 2022-07-04T20:53:12,475 /usr/local/lib/python3.7/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. 2022-07-04T20:53:12,476 setuptools.SetuptoolsDeprecationWarning, 2022-07-04T20:53:13,114 installing to build/bdist.linux-armv7l/wheel 2022-07-04T20:53:13,115 running install 2022-07-04T20:53:13,176 running install_lib 2022-07-04T20:53:13,815 creating build/bdist.linux-armv7l 2022-07-04T20:53:13,816 creating build/bdist.linux-armv7l/wheel 2022-07-04T20:53:13,819 creating build/bdist.linux-armv7l/wheel/tkgetpassword 2022-07-04T20:53:13,821 copying build/lib/tkgetpassword/__init__.py -> build/bdist.linux-armv7l/wheel/tkgetpassword 2022-07-04T20:53:13,825 running install_egg_info 2022-07-04T20:53:15,132 running egg_info 2022-07-04T20:53:15,133 creating tkgetpassword.egg-info 2022-07-04T20:53:15,764 writing tkgetpassword.egg-info/PKG-INFO 2022-07-04T20:53:16,351 writing dependency_links to tkgetpassword.egg-info/dependency_links.txt 2022-07-04T20:53:19,872 writing top-level names to tkgetpassword.egg-info/top_level.txt 2022-07-04T20:53:19,874 writing manifest file 'tkgetpassword.egg-info/SOURCES.txt' 2022-07-04T20:53:19,929 reading manifest file 'tkgetpassword.egg-info/SOURCES.txt' 2022-07-04T20:53:19,936 writing manifest file 'tkgetpassword.egg-info/SOURCES.txt' 2022-07-04T20:53:19,938 Copying tkgetpassword.egg-info to build/bdist.linux-armv7l/wheel/tkgetpassword-1.2.2-py3.7.egg-info 2022-07-04T20:53:19,955 running install_scripts 2022-07-04T20:53:20,096 creating build/bdist.linux-armv7l/wheel/tkgetpassword-1.2.2.dist-info/WHEEL 2022-07-04T20:53:20,101 creating '/tmp/pip-wheel-d_mq6_cv/tkgetpassword-1.2.2-py3-none-any.whl' and adding 'build/bdist.linux-armv7l/wheel' to it 2022-07-04T20:53:20,108 adding 'tkgetpassword/__init__.py' 2022-07-04T20:53:20,113 adding 'tkgetpassword-1.2.2.dist-info/METADATA' 2022-07-04T20:53:20,115 adding 'tkgetpassword-1.2.2.dist-info/WHEEL' 2022-07-04T20:53:20,117 adding 'tkgetpassword-1.2.2.dist-info/top_level.txt' 2022-07-04T20:53:20,117 adding 'tkgetpassword-1.2.2.dist-info/RECORD' 2022-07-04T20:53:20,119 removing build/bdist.linux-armv7l/wheel 2022-07-04T20:53:20,310 Building wheel for tkgetpassword (setup.py): finished with status 'done' 2022-07-04T20:53:20,316 Created wheel for tkgetpassword: filename=tkgetpassword-1.2.2-py3-none-any.whl size=7080 sha256=fbb180139d21410b45d6076361b271809cfe383605588215cd493106c0e30514 2022-07-04T20:53:20,319 Stored in directory: /tmp/pip-ephem-wheel-cache-kekcgphe/wheels/a0/2b/c1/9b1741a02098a6c930bfd43e82eeb817baaf8351b04c6df1bf 2022-07-04T20:53:20,339 Successfully built tkgetpassword 2022-07-04T20:53:20,346 Removed build tracker: '/tmp/pip-build-tracker-8n54tigc'