Skip to main content

ALogin - Experimental CLI Authentication Library

Project description

ALogin

PyPI Python

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.1

Improvements:

  • Exported both create_account() and login_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

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

alogin-0.1.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

alogin-0.1.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file alogin-0.1.1.tar.gz.

File metadata

  • Download URL: alogin-0.1.1.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

Hashes for alogin-0.1.1.tar.gz
Algorithm Hash digest
SHA256 beef57b9828de0fd3c5c20097a790e3bd5801b5ba51cb1fb9116d982a9d113cf
MD5 53b4987f92513d6dcf6d6a426d371192
BLAKE2b-256 90e8a302d7a45ecde3ba9fff8d7d840d7922d3a1f3a5f40b3cc064c6f55b05ca

See more details on using hashes here.

File details

Details for the file alogin-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: alogin-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for alogin-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 872e44bafeb145c39069b528807dbf95977e9933c3377a63003e340e6b582197
MD5 e4be54e1aa47ae4e4637f92f9403ed51
BLAKE2b-256 beaeb2cca07d4bd382cf31316f78dd1ecd48ca60d3757bbdccde1a2fb18deceb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page