A complete password system.
Project description
Password System
Thanks for checking out Password System. This will run you through all you need to get started with a full login system for your application. Please read the complete README so that you understand how to use the library.
Downloading / Installing:
You can either download Password System through Github directly at https://github.com/jamesg31/Password-System or using python -m pip install password-system
Then import using import passsys
Setup:
To setup you use the passsys.setup(Data File)
Please note you need to create that file for the password system to work!
Adding Users:
Add a username and password with passsys.addUser(username, password) replacing username and password with the username and password variables.
Example:
username = input("Username: ")
password = input("Password: ")
passsys.addUser(username, password)
Checking Users:
To check a username and password against the database use the passsys.checkUser(username, password) which will return either True or False depending on whether the details matched details in the database.
Example:
username = input("Username: ")
password = input("Password: ")
if passsys.checkUser(username, password) == True:
print("Login Successful")
else:
print("Login Unsuccessful")
Saving:
At the end of your script, or when you complete the login process in the script, use the passsys.save() command to save all the changes to the database.
Complete Example:
You can view a complete example of the Password Systems implementation at https://github.com/jamesg31/Password-System/blob/master/demo.py
Support:
If you have any problems, please report it by making a new issue at https://github.com/jamesg31/Password-System/issues Please ensure you have read the complete README before creating a issue as your problem may be solved here.
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 password_system-1.0.tar.gz.
File metadata
- Download URL: password_system-1.0.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7db05ce7660c45aafb80e080bffb65e1ded07886557490a40366fbed83296a4
|
|
| MD5 |
f542bca3d463ada14a750bc368ab4812
|
|
| BLAKE2b-256 |
b8379465ddab999f6f766a72af469a92e0fb442ca0a3d5585332f9e83a28c5d9
|
File details
Details for the file password_system-1.0-py3-none-any.whl.
File metadata
- Download URL: password_system-1.0-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c460e4b79f43639219626a68a3f5dd8ebbfc28e505e827ad6875f792015e6e80
|
|
| MD5 |
48d6943a597ed0fb8828dff2fa13b0a9
|
|
| BLAKE2b-256 |
103c6b106c13e88b9567bf60ad1013f9deda3c35fb9a21d465fef92c7fb4b85f
|