ALogin
ALogin is a lightweight CLI-based authentication helper for Python. It provides simple account creation and login functionality for small projects, prototypes, and hackathon demos.
Installation
pip install alogin
Usage
from alogin import create_account, login_account
create_account()
login_account()
Features
- Account creation
- Login authentication
- JSON-based local user database
- Duplicate email protection
- Password hashing using SHA256
- Simple CLI interface
Example
from alogin import create_account, login_account
print("Create a new account")
create_account()
print("Login")
login_account()
Version
v0.1.2
Fixes:
- Resolved bugs in
__init__.py
v0.1.1
Improvements:
- Exported both
create_account()andlogin_account()from the package - Cleaner import style:
from alogin import create_account, login_account
v0.1.0
Initial authentication system release with:
- JSON-based user database
- Login authentication system
- Password hashing
- Duplicate email protection
License
MIT License
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
alogin-0.1.2.tar.gz
(2.4 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
File details
Details for the file alogin-0.1.2.tar.gz.
File metadata
- Download URL: alogin-0.1.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0fb297dfbf84d21923ef83ec219cf5b640aa30e932b88c2ebfed4811be1190c
|
|
| MD5 |
276d2a3a9e17a8baec3c21f04f87f9a9
|
|
| BLAKE2b-256 |
668df7db6cef9a618ed206043d607b50033818783cb135d3153fa771f4a8e72d
|
File details
Details for the file alogin-0.1.2-py3-none-any.whl.
File metadata
- Download URL: alogin-0.1.2-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb3d9f11527ce441b4cd6ec2dfb4a65d51bbbd9bdf263b1f9c1b59974762841f
|
|
| MD5 |
318b5c8da5ce7f90768ffaca12f95b4d
|
|
| BLAKE2b-256 |
158d46dee4577ee78308019d72de9dd56fe808c82477c52d2e2654bc27a7755e
|