Post

ALogin v0.1.2 – A Lightweight Python Authentication Library

ALogin v0.1.2 – A Lightweight Python Authentication Library

Introducing ALogin v0.1.2

I am excited to share ALogin, a lightweight Python authentication library designed for developers who need a simple way to add user registration and login functionality to their projects.

ALogin was created with simplicity in mind. Many authentication solutions require databases, complex configurations, or external services before developers can get started. ALogin focuses on providing a straightforward authentication system that can be integrated into small projects, prototypes, hackathon submissions, and learning environments with minimal setup.

Features

  • User Registration
  • User Login
  • SHA-256 Password Hashing
  • JSON-Based User Storage
  • Duplicate Email Protection
  • Simple Python API
  • Lightweight and Easy to Use

The library uses a local JSON file as its user database and provides simple functions for account creation and login. Passwords are hashed using SHA-256 before storage, adding a basic layer of security for learning projects and prototypes.

Installation

1
pip install alogin

Example

1
2
3
4
from alogin import create_account, login_account

create_account()
login_account()

What’s New in v0.1.2?

Version 0.1.2 focuses on improving stability and usability.

Improvements

  • Fixed issues related to package imports
  • Resolved bugs in __init__.py
  • Improved package structure
  • Better developer experience when importing functions directly

Developers can now use:

1
from alogin import create_account, login_account

without any additional configuration.

Open Source Journey

As a first-year engineering student, I wanted to understand how authentication systems work internally rather than relying entirely on large frameworks.

ALogin started as a learning project and gradually evolved into an open-source Python package published on PyPI. The goal is to create a beginner-friendly authentication library that helps developers learn authentication concepts while also being useful for small projects.

Looking Ahead: ALogin v0.2.0

Version 0.2.0 is currently under development and focuses on making ALogin more reliable and scalable.

Planned Features

  • SQLite database support instead of JSON-only storage
  • Session management for authenticated users
  • Improved password validation and security checks
  • Better error messages and exception handling
  • Cleaner and more maintainable code structure
  • Expanded documentation and examples

The goal of v0.2.0 is to provide a stronger foundation for future features while keeping ALogin lightweight and easy to use.

ALogin is an open-source project, and feedback is always welcome. Whether you are a student, developer, or open-source contributor, your suggestions can help improve the library.

This is only the beginning of the ALogin journey, and I look forward to continuing its development in future releases.

Thank you for reading and supporting the project.

This post is licensed under CC BY 4.0 by the author.