A simple password login for text based games.
Project description
QuackPass
World's most secure password thingle thangle.
Setup
pip install quackpass
You need to be using a version greater then 3.6 for this library to work.
Usage
CODE
from quackpass import quackpass
manager = quackpass.LoginManager(salt=os.environ['salt'], mode="txt", file="passwords.txt")
manager.add_user("test", "secretpassword")
user = manager.login()
print(f"Logged in as {user}")
OUTPUT
Username: test
Password: secretpassword
Logged in as test
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
quackpass-1.0.0.tar.gz
(2.9 kB
view details)
Built Distribution
File details
Details for the file quackpass-1.0.0.tar.gz
.
File metadata
- Download URL: quackpass-1.0.0.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
a29001a92fa9f87a4d65912547c6c586c270ca9ec63fc0c719a7bf86acb85ab7
|
|
MD5 |
3d51b3fc524d1ecbe0719fb2d76bbd7a
|
|
BLAKE2b-256 |
202c0cb3032d9d21c7be6940c8c7c5cca56adc71d163bd3f0b6d84d7f53bdb61
|
File details
Details for the file quackpass-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: quackpass-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
20f1386281710fa152ff1c1ae1dfced05a1e925bcccbd2803a7259000d7e70a7
|
|
MD5 |
9d814ba9e92edec0c2d431eaa0b7dbf7
|
|
BLAKE2b-256 |
ec4c2f4b2decd7eb119bffa6085f37dd7af9c01368b7bc1b198dc98828f19d83
|